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
86593c9d6aa7829878f93e8fe2ce4a34bdeb9ae6
4,231
py
Python
python/454_read_splitter.py
maubarsom/biotico-tools
3e34e1fdde083e49da10f5afdae6a951246b8a94
[ "Apache-2.0" ]
null
null
null
python/454_read_splitter.py
maubarsom/biotico-tools
3e34e1fdde083e49da10f5afdae6a951246b8a94
[ "Apache-2.0" ]
null
null
null
python/454_read_splitter.py
maubarsom/biotico-tools
3e34e1fdde083e49da10f5afdae6a951246b8a94
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import sys import argparse import os.path import time def main(args): with open(args.input_reads,"r") as input_f: output_files = createOutputFiles(args.output_folder+args.output_prefix) total_read_count = 0 single_read_count = 0 expecting_pair = False first_pair = None cu...
30.65942
130
0.687308
600
4,231
4.623333
0.238333
0.05155
0.046143
0.020548
0.21341
0.097332
0.042538
0.042538
0.042538
0.042538
0
0.005877
0.155519
4,231
137
131
30.883212
0.770501
0.052234
0
0.190476
0
0
0.172371
0
0
0
0
0
0
0
null
null
0
0.038095
null
null
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
865e3bc489aa5d49b64fdd0d0078612b8e49ef34
220
py
Python
workers/app.py
pjlewisuk/ecs-service-discovery-demo
2dac316fa2f8e052cf0e3bffcceb05ae2ada0af5
[ "Apache-2.0" ]
58
2018-03-28T03:05:38.000Z
2021-12-11T20:10:59.000Z
workers/app.py
pjlewisuk/ecs-service-discovery-demo
2dac316fa2f8e052cf0e3bffcceb05ae2ada0af5
[ "Apache-2.0" ]
5
2018-03-29T03:14:13.000Z
2021-06-23T06:56:58.000Z
workers/app.py
pjlewisuk/ecs-service-discovery-demo
2dac316fa2f8e052cf0e3bffcceb05ae2ada0af5
[ "Apache-2.0" ]
22
2018-03-28T18:18:07.000Z
2022-02-05T02:05:44.000Z
from flask import Flask import socket app = Flask(__name__) @app.route("/") def do_work(): return "I'm a worker and I'm doing some work!" if __name__ == "__main__": app.run(debug=True, host='0.0.0.0', port=80)
20
50
0.663636
39
220
3.410256
0.692308
0.045113
0.045113
0
0
0
0
0
0
0
0
0.032967
0.172727
220
10
51
22
0.697802
0
0
0
0
0
0.240909
0
0
0
0
0
0
1
0.125
false
0
0.25
0.125
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
865f693f181c2e7645119e1a3f6f008a9e621c14
5,768
py
Python
interpreter/src/parser/test/test_parser.py
Cdayz/simple_lang
dc19d6ef76bb69c87981c8b826cf8f71b0cc475b
[ "MIT" ]
3
2019-08-22T01:20:16.000Z
2021-02-05T09:11:50.000Z
interpreter/src/parser/test/test_parser.py
Cdayz/simple_lang
dc19d6ef76bb69c87981c8b826cf8f71b0cc475b
[ "MIT" ]
null
null
null
interpreter/src/parser/test/test_parser.py
Cdayz/simple_lang
dc19d6ef76bb69c87981c8b826cf8f71b0cc475b
[ "MIT" ]
2
2019-08-22T01:20:18.000Z
2021-05-27T14:40:12.000Z
import pytest from interpreter.src.parser.parser import ( Parser, is_inplace, Operation, OperationArgument, OperationArgumentType, OperationType, NOP_ARG, BadOperationArgument, BadOperationIdentifier, ParsingError ) def test_is_inplace(): in_place = "100500" assert is...
22.015267
78
0.560853
541
5,768
5.726433
0.136784
0.116204
0.139445
0.261459
0.634926
0.602001
0.602001
0.57876
0.565849
0.556488
0
0.012699
0.358356
5,768
261
79
22.099617
0.824372
0.023578
0
0.508197
0
0
0.03879
0
0
0
0
0
0.071038
1
0.032787
false
0
0.010929
0
0.043716
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
865fc636d3412c3dbdbbb4644333df062f4ef278
430
py
Python
graphomics/linker/migrations/0024_auto_20180702_1413.py
joewandy/omics_integration
2dce7c46714f0d87c96d3cd0a702b4716a7be5d9
[ "MIT" ]
10
2021-08-05T20:13:33.000Z
2022-01-25T15:08:13.000Z
graphomics/linker/migrations/0024_auto_20180702_1413.py
joewandy/omics_integration
2dce7c46714f0d87c96d3cd0a702b4716a7be5d9
[ "MIT" ]
38
2019-07-23T16:14:49.000Z
2020-05-15T11:28:53.000Z
graphomics/linker/migrations/0024_auto_20180702_1413.py
joewandy/omics_integration
2dce7c46714f0d87c96d3cd0a702b4716a7be5d9
[ "MIT" ]
1
2018-11-06T12:16:30.000Z
2018-11-06T12:16:30.000Z
# Generated by Django 2.0.2 on 2018-07-02 14:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('linker', '0023_analysisannotation_analysis'), ] operations = [ migrations.AlterField( model_name='analysissample', n...
22.631579
74
0.625581
46
430
5.73913
0.804348
0
0
0
0
0
0
0
0
0
0
0.069401
0.262791
430
18
75
23.888889
0.763407
0.104651
0
0
1
0
0.16188
0.083551
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8661e5f05c7bbf88873198c4f0dcad6f3077618c
885
py
Python
{{ cookiecutter.project }}/tests/conftest.py
0xdc/starly
11ae426d9b25b502c9b1372cbd0b9e0a6ebea8f2
[ "MIT" ]
null
null
null
{{ cookiecutter.project }}/tests/conftest.py
0xdc/starly
11ae426d9b25b502c9b1372cbd0b9e0a6ebea8f2
[ "MIT" ]
null
null
null
{{ cookiecutter.project }}/tests/conftest.py
0xdc/starly
11ae426d9b25b502c9b1372cbd0b9e0a6ebea8f2
[ "MIT" ]
null
null
null
import pytest from alembic import command from alembic.config import Config from starlette.testclient import TestClient from sqlalchemy_utils import database_exists, create_database, drop_database from {{ cookiecutter.project }} import settings @pytest.fixture(autouse=True) def create_test_database(): test_url =...
28.548387
76
0.715254
106
885
5.830189
0.433962
0.045307
0.072816
0.07767
0
0
0
0
0
0
0
0
0.19209
885
30
77
29.5
0.864336
0.023729
0
0
0
0
0.084687
0
0
0
0
0
0.04
0
null
null
0
0.28
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
866d50ea6eff8edf431c99f612b999cd48719acb
1,918
py
Python
src/utils/image_tags_retriever.py
Yagueteiro/code-jam-2021
19844fe7797f249dd19e277b32a67732e3435d4c
[ "MIT" ]
1
2021-07-12T10:32:20.000Z
2021-07-12T10:32:20.000Z
src/utils/image_tags_retriever.py
Yagueteiro/code-jam-2021
19844fe7797f249dd19e277b32a67732e3435d4c
[ "MIT" ]
11
2021-07-14T10:05:25.000Z
2021-07-17T16:57:15.000Z
src/utils/image_tags_retriever.py
Yagueteiro/code-jam-2021
19844fe7797f249dd19e277b32a67732e3435d4c
[ "MIT" ]
1
2021-07-14T14:09:43.000Z
2021-07-14T14:09:43.000Z
import json import random from typing import List import requests def callapi(key: str = "22499447-34dc1e9873c70161efc9bd199") -> List: """Generates a random image and some descriptors for the same :param key: a pixabay.com api access key :return: a list containing two elements - the url of a random ima...
23.975
112
0.489051
169
1,918
5.461538
0.621302
0.042254
0.026002
0.032503
0.073673
0.073673
0
0
0
0
0
0.027523
0.37487
1,918
79
113
24.278481
0.742285
0.108968
0
0.031746
1
0.015873
0.242012
0.020118
0
0
0
0
0
1
0.015873
false
0
0.063492
0
0.095238
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
866dabe9ae280d0da49ab2d94a275d79b612696b
4,577
py
Python
RegExp.py
vurdolag/vk-botovod
f70af4483e19a73ed3245e2f54d226eb87f59bcd
[ "Apache-2.0" ]
null
null
null
RegExp.py
vurdolag/vk-botovod
f70af4483e19a73ed3245e2f54d226eb87f59bcd
[ "Apache-2.0" ]
null
null
null
RegExp.py
vurdolag/vk-botovod
f70af4483e19a73ed3245e2f54d226eb87f59bcd
[ "Apache-2.0" ]
null
null
null
from re import compile, DOTALL enter_vk_user_id = compile(r'(?<="uid":").*?(?=",")') enter_vk_user_id2 = compile(r'(?<=/id).*?(?=\',)') check_user_id = compile(r"(?<=id:).*?(?=,)") check_name = compile(r"(?<=\"TopNavBtn__profileName\">).*?(?=</div>)") long_poll_feed_key1 = compile(r'(?<=\d\d\d,\"key\":\").+?...
40.149123
108
0.564999
563
4,577
4.278863
0.294849
0.229141
0.033624
0.031548
0.140307
0.0934
0.073474
0
0
0
0
0.002427
0.099629
4,577
113
109
40.504425
0.58214
0.007428
0
0
0
0
0.379264
0.188164
0
0
0
0
0
1
0
false
0
0.013699
0
0.013699
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
86722409d5571e213c207fecd32b29463d4f8f1f
583
py
Python
solutions/744_find_smallest_letter_greater_than_target.py
YiqunPeng/leetcode_pro
7e6376984f9baec49a5e827d98330fe3d1b656f0
[ "MIT" ]
null
null
null
solutions/744_find_smallest_letter_greater_than_target.py
YiqunPeng/leetcode_pro
7e6376984f9baec49a5e827d98330fe3d1b656f0
[ "MIT" ]
null
null
null
solutions/744_find_smallest_letter_greater_than_target.py
YiqunPeng/leetcode_pro
7e6376984f9baec49a5e827d98330fe3d1b656f0
[ "MIT" ]
null
null
null
class Solution: def nextGreatestLetter(self, letters: List[str], target: str) -> str: """Binary Search. Running time: O(nlogn) where n is the length of letters. """ if target >= letters[-1] or target < letters[0]: return letters[0] l, r = 0, len(letters)...
30.684211
73
0.439108
68
583
3.764706
0.5
0.203125
0.070313
0
0
0
0
0
0
0
0
0.021672
0.445969
583
19
74
30.684211
0.770898
0.123499
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.307692
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8672bda17ddf6262d81c8dde2272bfcf135c2fcb
5,011
py
Python
pytorch3d/ops/sample_points_from_meshes.py
hangg7/pytorcg3d
f7f363eeb8efeba0927f674c83ab927ad8ce3e32
[ "BSD-3-Clause" ]
1
2020-07-13T12:40:42.000Z
2020-07-13T12:40:42.000Z
pytorch3d/ops/sample_points_from_meshes.py
hangg7/pytorch3d
f7f363eeb8efeba0927f674c83ab927ad8ce3e32
[ "BSD-3-Clause" ]
null
null
null
pytorch3d/ops/sample_points_from_meshes.py
hangg7/pytorch3d
f7f363eeb8efeba0927f674c83ab927ad8ce3e32
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. """ This module implements utility functions for sampling points from batches of meshes. """ import sys from typing import Tuple, Union import torch from pytorch3d.ops.mesh_face_areas_normals import mesh_face_areas_normals from pytorch3d.ops.pac...
37.962121
86
0.664338
698
5,011
4.630372
0.286533
0.030941
0.02599
0.034035
0.171101
0.133663
0.12005
0.096535
0.029703
0.029703
0
0.018607
0.249252
5,011
131
87
38.251908
0.84051
0.454999
0
0
0
0
0.01666
0
0
0
0
0.015267
0
1
0.03125
false
0
0.078125
0
0.15625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
8678333bfd67680e78b8830098fba9d748928b2f
9,639
py
Python
ocempgui/draw/String.py
illume/eyestabs
9ce717743a6a4fe7b561c68599e9352da3acf080
[ "Unlicense" ]
null
null
null
ocempgui/draw/String.py
illume/eyestabs
9ce717743a6a4fe7b561c68599e9352da3acf080
[ "Unlicense" ]
null
null
null
ocempgui/draw/String.py
illume/eyestabs
9ce717743a6a4fe7b561c68599e9352da3acf080
[ "Unlicense" ]
null
null
null
# $Id: String.py,v 1.12.4.5 2007/01/22 20:00:33 marcusva Exp $ # # Copyright (c) 2004-2007, Marcus von Appen # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code mus...
41.369099
79
0.709617
1,445
9,639
4.625606
0.20346
0.051167
0.033513
0.023938
0.681029
0.638241
0.586774
0.586774
0.581388
0.581388
0
0.008696
0.224505
9,639
232
80
41.547414
0.885485
0.161635
0
0.41791
0
0
0.051651
0
0
0
0
0.00431
0
0
null
null
0
0.044776
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8679189da0eed811254f2d9a28c9d7c3fbb65b99
6,693
py
Python
dbox.py
broxeph/ameryn
e1289c280ca865ec84625b712adc52c536b4b174
[ "MIT" ]
null
null
null
dbox.py
broxeph/ameryn
e1289c280ca865ec84625b712adc52c536b4b174
[ "MIT" ]
null
null
null
dbox.py
broxeph/ameryn
e1289c280ca865ec84625b712adc52c536b4b174
[ "MIT" ]
null
null
null
""" Send Dropbox links to customers. (c) Ameryn Media LLC, 2015. All rights reserved. """ import pprint from ConfigParser import ConfigParser from os import path import smtplib import dropbox from WooCommerceClient import WooCommerceClient import config def send_dbox_email(order_id, wc_client=None, dbox_client=Non...
43.180645
146
0.635589
924
6,693
4.430736
0.222944
0.029311
0.024426
0.025647
0.29873
0.226429
0.208598
0.191011
0.148021
0.148021
0
0.012599
0.229195
6,693
154
147
43.461039
0.780965
0.037502
0
0.178862
0
0.00813
0.248817
0.003311
0
0
0
0
0
0
null
null
0
0.056911
null
null
0.138211
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
867ef3e22c3fea39bef792ff3a3d731868dec556
1,668
py
Python
tests/pynb-tests/pydatic_usage_samples.py
ydzvulon/rclonepy
4e8ed04ae95a82dee644338e11f56d458faba746
[ "Apache-2.0" ]
1
2021-11-02T19:17:10.000Z
2021-11-02T19:17:10.000Z
tests/pynb-tests/pydatic_usage_samples.py
ydzvulon/rclonepy
4e8ed04ae95a82dee644338e11f56d458faba746
[ "Apache-2.0" ]
null
null
null
tests/pynb-tests/pydatic_usage_samples.py
ydzvulon/rclonepy
4e8ed04ae95a82dee644338e11f56d458faba746
[ "Apache-2.0" ]
null
null
null
# %% import re from sys import flags from typing import Any, Optional import pydantic from typing_extensions import Literal def flags_to_cli(flags: dict): if not flags: return flags res = [] for k, v in flags.items(): if v is True: res.append(f'--{k}') elif v is False:...
18.533333
62
0.561151
215
1,668
4.218605
0.339535
0.038589
0.033076
0.036384
0
0
0
0
0
0
0
0.00172
0.302758
1,668
89
63
18.741573
0.77816
0.017386
0
0
0
0
0.060197
0
0
0
0
0
0
1
0.096774
false
0.016129
0.096774
0.032258
0.564516
0.016129
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
867fcdfd8837ddb8b0248848b65337c910de5299
990
py
Python
py/cidoc_crm_types/entities/e17_type_assignment.py
minorg/cidoc-crm-types
9018bdbf0658e4d28a87bc94543e467be45d8aa5
[ "Apache-2.0" ]
null
null
null
py/cidoc_crm_types/entities/e17_type_assignment.py
minorg/cidoc-crm-types
9018bdbf0658e4d28a87bc94543e467be45d8aa5
[ "Apache-2.0" ]
null
null
null
py/cidoc_crm_types/entities/e17_type_assignment.py
minorg/cidoc-crm-types
9018bdbf0658e4d28a87bc94543e467be45d8aa5
[ "Apache-2.0" ]
null
null
null
from .e13_attribute_assignment import E13AttributeAssignment from dataclasses import dataclass @dataclass class E17TypeAssignment(E13AttributeAssignment): """ Scope note: This class comprises the actions of classifying items of whatever kind. Such items include objects, specimens, people, actions and concepts. T...
43.043478
356
0.79798
140
990
5.607143
0.65
0.034395
0
0
0
0
0
0
0
0
0
0.033254
0.149495
990
22
357
45
0.89905
0.753535
0
0
0
0
0.219828
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
868040799c38f2e0236b3042aa2a600e27293ab9
3,082
py
Python
api/views/uptime_view.py
s-scherrer/qa4sm
99fa62d5e42e5a2b81c5bad1553c8137fe4259e7
[ "MIT" ]
10
2019-02-27T15:05:15.000Z
2022-03-10T21:13:40.000Z
api/views/uptime_view.py
s-scherrer/qa4sm
99fa62d5e42e5a2b81c5bad1553c8137fe4259e7
[ "MIT" ]
69
2019-07-04T23:20:17.000Z
2022-03-29T06:34:06.000Z
api/views/uptime_view.py
s-scherrer/qa4sm
99fa62d5e42e5a2b81c5bad1553c8137fe4259e7
[ "MIT" ]
10
2019-03-14T11:46:58.000Z
2022-03-25T13:06:16.000Z
import logging from datetime import datetime import pytz from django.http import HttpResponse, JsonResponse from rest_framework import serializers from rest_framework.decorators import api_view, permission_classes from rest_framework.permissions import AllowAny from rest_framework.serializers import Serializer from v...
32.787234
113
0.716742
364
3,082
5.813187
0.288462
0.034026
0.032136
0.045369
0.181002
0.162098
0.142722
0.142722
0.142722
0.142722
0
0.007223
0.191434
3,082
93
114
33.139785
0.841894
0
0
0.267606
0
0
0.058728
0
0
0
0
0
0
1
0.084507
false
0.056338
0.140845
0
0.366197
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8681b2982473ea0d7f9eef1db094a2ea8b4de249
391
py
Python
python_tuts/sort_list/sort_dict.py
bozi6/hello-world
0835bf2dcb1d1aceb2afa194bf991c096b0e9b04
[ "MIT" ]
null
null
null
python_tuts/sort_list/sort_dict.py
bozi6/hello-world
0835bf2dcb1d1aceb2afa194bf991c096b0e9b04
[ "MIT" ]
null
null
null
python_tuts/sort_list/sort_dict.py
bozi6/hello-world
0835bf2dcb1d1aceb2afa194bf991c096b0e9b04
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 users = [ {'name': 'John Doe', 'date_of_birth': 1987}, {'name': 'Jane Doe', 'date_of_birth': 1996}, {'name': 'Robert Brown', 'date_of_birth': 1977}, {'name': 'Lucia Smith', 'date_of_birth': 2002}, {'name': 'Patrick Dempsey', 'date_of_birth': 1994} ] users.sort(reverse=True,...
24.4375
58
0.618926
57
391
4.035088
0.578947
0.156522
0.286957
0.121739
0
0
0
0
0
0
0
0.065015
0.173913
391
15
59
26.066667
0.647059
0.053708
0
0
0
0
0.411924
0
0
0
0
0
0
1
0
false
0
0
0
0
0.1
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8687b632b21ef326d2280740bde29e42c602cfbb
494
py
Python
plaso/formatters/xchatlog.py
Defense-Cyber-Crime-Center/plaso
4f3a85fbea10637c1cdbf0cde9fc539fdcea9c47
[ "Apache-2.0" ]
2
2016-02-18T12:46:29.000Z
2022-03-13T03:04:59.000Z
plaso/formatters/xchatlog.py
CNR-ITTIG/plasodfaxp
923797fc00664fa9e3277781b0334d6eed5664fd
[ "Apache-2.0" ]
null
null
null
plaso/formatters/xchatlog.py
CNR-ITTIG/plasodfaxp
923797fc00664fa9e3277781b0334d6eed5664fd
[ "Apache-2.0" ]
6
2016-12-18T08:05:36.000Z
2021-04-06T14:19:11.000Z
# -*- coding: utf-8 -*- """The XChat log file event formatter.""" from plaso.formatters import interface from plaso.formatters import manager class XChatLogFormatter(interface.ConditionalEventFormatter): """Formatter for a XChat log file entry event.""" DATA_TYPE = u'xchat:log:line' FORMAT_STRING_PIECES = [ ...
22.454545
62
0.724696
59
494
5.983051
0.59322
0.090652
0.101983
0.141643
0
0
0
0
0
0
0
0.002398
0.15587
494
21
63
23.52381
0.844125
0.206478
0
0
0
0
0.154856
0
0
0
0
0
0
1
0
false
0
0.2
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8689f27adf0527887a1029d6a3730d42568244df
703
py
Python
wandb/vendor/graphql-core-1.1/wandb_graphql/utils/type_from_ast.py
borisgrafx/client
c079f7816947a3092b500751eb920fda3866985f
[ "MIT" ]
3,968
2017-08-23T21:27:19.000Z
2022-03-31T22:00:19.000Z
wandb/vendor/graphql-core-1.1/wandb_graphql/utils/type_from_ast.py
borisgrafx/client
c079f7816947a3092b500751eb920fda3866985f
[ "MIT" ]
2,725
2017-04-17T00:29:15.000Z
2022-03-31T21:01:53.000Z
wandb/vendor/graphql-core-1.1/wandb_graphql/utils/type_from_ast.py
borisgrafx/client
c079f7816947a3092b500751eb920fda3866985f
[ "MIT" ]
351
2018-04-08T19:39:34.000Z
2022-03-30T19:38:08.000Z
from ..language import ast from ..type.definition import GraphQLList, GraphQLNonNull def type_from_ast(schema, input_type_ast): if isinstance(input_type_ast, ast.ListType): inner_type = type_from_ast(schema, input_type_ast.type) if inner_type: return GraphQLList(inner_type) els...
31.954545
76
0.691323
93
703
4.935484
0.290323
0.137255
0.183007
0.111111
0.592593
0.437909
0.320261
0.257081
0.257081
0.257081
0
0
0.236131
703
21
77
33.47619
0.854749
0
0
0.470588
0
0
0.02845
0
0
0
0
0
0.058824
1
0.058824
false
0
0.117647
0
0.470588
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8690592dd96df0c5a4830770ef065ca16cb48df6
1,952
py
Python
whyqd/action/rename_all.py
whythawk/whyqd
8ee41768d6788318458d41831200594b61777ccc
[ "BSD-3-Clause" ]
17
2020-02-21T14:41:24.000Z
2022-01-31T20:25:53.000Z
whyqd/action/rename_all.py
whythawk/whyqd
8ee41768d6788318458d41831200594b61777ccc
[ "BSD-3-Clause" ]
null
null
null
whyqd/action/rename_all.py
whythawk/whyqd
8ee41768d6788318458d41831200594b61777ccc
[ "BSD-3-Clause" ]
null
null
null
from __future__ import annotations from typing import Optional, List import pandas as pd from whyqd.base import BaseMorphAction class Action(BaseMorphAction): """Rename all header column labels. Script:: "RENAME_ALL > ['column_name', 'column_name', etc.]" Where `column_name` is a new `string` ...
29.134328
120
0.606045
234
1,952
4.961538
0.397436
0.075797
0.018949
0.024117
0.055125
0.055125
0.055125
0
0
0
0
0
0.304816
1,952
66
121
29.575758
0.855564
0.452869
0
0
0
0
0.080194
0
0
0
0
0
0
1
0.166667
false
0
0.222222
0
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8694c39c9b95f0cc390b3c0e6a1abb029552c029
3,789
py
Python
Src/Plugins/GLShaderEdit/scite/scripts/tags2api.py
vinjn/glintercept
f82166d3a774bfb02459f6b3ae2a03d4c9eaf64f
[ "MIT" ]
468
2015-04-13T19:03:57.000Z
2022-03-23T00:11:24.000Z
Src/Plugins/GLShaderEdit/scite/scripts/tags2api.py
vinjn/glintercept
f82166d3a774bfb02459f6b3ae2a03d4c9eaf64f
[ "MIT" ]
12
2015-05-25T11:15:21.000Z
2020-10-26T02:46:50.000Z
Src/Plugins/GLShaderEdit/scite/scripts/tags2api.py
vinjn/glintercept
f82166d3a774bfb02459f6b3ae2a03d4c9eaf64f
[ "MIT" ]
67
2015-04-22T13:22:48.000Z
2022-03-05T01:11:02.000Z
#! /usr/bin/env python # Produces a .api file for SciTE's identifier completion and calltip features. # invoke as # python tags2api.py tags >x.api # before running this program, create a tags file with # ctags --excmd=number --c-types=pcdgstu <header files> import fileinput import string import time # Definitions...
31.31405
93
0.642122
533
3,789
4.551595
0.354597
0.008244
0.012366
0.00742
0.108409
0.076257
0.032564
0.022671
0.022671
0.022671
0
0.013657
0.226973
3,789
120
94
31.575
0.814613
0.28266
0
0.168675
0
0
0.017505
0
0
0
0
0
0
0
null
null
0.012048
0.036145
null
null
0.072289
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
869b57126a3ad736c03ceac8cbd2fecea2184bf0
1,016
py
Python
grow/extensions/core/pod_extension.py
akashkalal/grow
e4813efecb270e00c52c4bb1cb317766a8c92e29
[ "MIT" ]
335
2016-04-02T20:12:21.000Z
2022-03-28T18:55:26.000Z
grow/extensions/core/pod_extension.py
kmcnellis/grow
4787f5a01681ef0800e9b4388a56cdbc48209368
[ "MIT" ]
784
2016-04-01T16:56:41.000Z
2022-03-05T01:25:34.000Z
grow/extensions/core/pod_extension.py
kmcnellis/grow
4787f5a01681ef0800e9b4388a56cdbc48209368
[ "MIT" ]
54
2016-05-03T13:06:15.000Z
2021-09-24T04:46:23.000Z
"""Pod core extension.""" from grow import extensions from grow.extensions import hooks class PodDevFileChangeHook(hooks.DevFileChangeHook): """Handle the dev file change hook.""" # pylint: disable=arguments-differ def trigger(self, previous_result, pod_path, *_args, **_kwargs): """Trigger the f...
30.787879
80
0.648622
111
1,016
5.81982
0.495496
0.05418
0.060372
0.078947
0.137771
0.080495
0.080495
0
0
0
0
0
0.23622
1,016
32
81
31.75
0.832474
0.227362
0
0
0
0
0.079156
0
0
0
0
0
0
1
0.117647
false
0
0.117647
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
869b84600bc93a8a164e28e72c04f711574beff0
288
py
Python
{{cookiecutter.repo_name}}/webapp/config/settings/email.py
bopo/django-template
465f48563bc9625e37bb278a32800e7a55d9e256
[ "BSD-3-Clause" ]
null
null
null
{{cookiecutter.repo_name}}/webapp/config/settings/email.py
bopo/django-template
465f48563bc9625e37bb278a32800e7a55d9e256
[ "BSD-3-Clause" ]
null
null
null
{{cookiecutter.repo_name}}/webapp/config/settings/email.py
bopo/django-template
465f48563bc9625e37bb278a32800e7a55d9e256
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals # EMAIL_PORT = 25 # EMAIL_USE_TLS = True EMAIL_HOST = 'smtp.126.com' EMAIL_BACKEND = 'django.core.mail.backends.dummy.EmailBackend' EMAIL_HOST_USER = 'yourgmailaccount@gmail.com' EMAIL_HOST_PASSWORD = 'yourgmailpassword'
24
62
0.770833
38
288
5.473684
0.789474
0.129808
0
0
0
0
0
0
0
0
0
0.023438
0.111111
288
11
63
26.181818
0.789063
0.201389
0
0
0
0
0.438053
0.309735
0
0
0
0
0
1
0
false
0.2
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
86ab21c408599169fec5f54730a87b45bf5a237b
12,696
py
Python
collect-parallel.py
githubuser2000/Analytic-Assets-Calculator
dc359285d4db7ee5612ef94e0b9bdda132838ae4
[ "MIT" ]
null
null
null
collect-parallel.py
githubuser2000/Analytic-Assets-Calculator
dc359285d4db7ee5612ef94e0b9bdda132838ae4
[ "MIT" ]
1
2019-03-01T14:25:13.000Z
2019-03-01T14:25:13.000Z
collect-parallel.py
githubuser2000/Analytic-Assets-Calculator
dc359285d4db7ee5612ef94e0b9bdda132838ae4
[ "MIT" ]
1
2020-01-20T17:53:17.000Z
2020-01-20T17:53:17.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import ccxt.async_support as ccxt from types import ModuleType import sys, inspect import time import asyncio import logging import ssl import alxlmdb import collections import math exchanges = [] def setLogger(val=None): if val == 'values': logger = logging...
35.966006
193
0.644455
1,396
12,696
5.722779
0.168338
0.06196
0.048066
0.039054
0.415697
0.369007
0.271749
0.240831
0.187007
0.17449
0
0.012422
0.226449
12,696
352
194
36.068182
0.801039
0.241493
0
0.470852
0
0
0.103445
0.002205
0
0
0
0
0
1
0.026906
false
0.080717
0.044843
0.004484
0.161435
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
86ab23631ef6d49440bb000590fecefa9edba531
720
py
Python
profiles/models.py
Jokotoye18/Learning_log
7de278e252c9abd23a462cf6d7358e8ed22cb66f
[ "MIT" ]
null
null
null
profiles/models.py
Jokotoye18/Learning_log
7de278e252c9abd23a462cf6d7358e8ed22cb66f
[ "MIT" ]
4
2021-03-30T13:25:57.000Z
2021-09-22T19:04:09.000Z
profiles/models.py
Jokotoye18/Learning_log
7de278e252c9abd23a462cf6d7358e8ed22cb66f
[ "MIT" ]
null
null
null
from django.db import models from allauth.account.forms import SignupForm from django.contrib.auth import get_user_model from allauth.account.signals import user_signed_up class Profile(models.Model): user = models.OneToOneField(get_user_model(), on_delete=models.CASCADE) location = models.CharField(max_l...
28.8
75
0.766667
102
720
5.166667
0.470588
0.094877
0.113852
0.091082
0
0
0
0
0
0
0
0.008052
0.1375
720
25
76
28.8
0.84058
0
0
0
0
0
0.038835
0
0
0
0
0
0
1
0.125
false
0
0.25
0.0625
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
86ae09cbaacba38fc832b4e7fdf84cb497dab5f7
1,994
py
Python
hw1/train_test.py
ianwonilkim/gct634-2020
e671cb4949fa1d3944937e01ace9e4fdd2b914b0
[ "MIT" ]
13
2020-09-07T02:06:30.000Z
2021-08-30T04:57:43.000Z
hw1/train_test.py
ianwonilkim/gct634-2020
e671cb4949fa1d3944937e01ace9e4fdd2b914b0
[ "MIT" ]
1
2020-10-22T02:57:23.000Z
2020-10-22T02:57:23.000Z
hw1/train_test.py
ianwonilkim/gct634-2020
e671cb4949fa1d3944937e01ace9e4fdd2b914b0
[ "MIT" ]
17
2020-09-11T01:42:53.000Z
2021-09-06T05:20:06.000Z
# GCT634 (2018) HW1 # # Mar-18-2018: initial version # # Juhan Nam # import sys import os import numpy as np import librosa from feature_summary import * from sklearn.linear_model import SGDClassifier def train_model(train_X, train_Y, valid_X, valid_Y, hyper_param1): # Choose a classifier (here, linear SVM) ...
25.564103
113
0.648947
326
1,994
3.699387
0.328221
0.099502
0.052239
0.049751
0.222222
0.199005
0.104478
0.104478
0.104478
0.104478
0
0.05349
0.231194
1,994
77
114
25.896104
0.733203
0.139418
0
0
0
0
0.041789
0
0
0
0
0
0
0
null
null
0
0.139535
null
null
0.046512
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
86b3ff72c35d8d152bac9bc4b4b75f9f460e72aa
2,624
py
Python
sololink/flightcode/python/stick-cal.py
meee1/OpenSolo
6f299639adbad1e8d573c8ae1135832711b600e4
[ "Apache-2.0" ]
68
2019-09-23T03:27:05.000Z
2022-03-12T03:00:41.000Z
sololink/flightcode/python/stick-cal.py
meee1/OpenSolo
6f299639adbad1e8d573c8ae1135832711b600e4
[ "Apache-2.0" ]
22
2019-10-26T20:15:56.000Z
2022-02-12T05:41:56.000Z
sololink/flightcode/python/stick-cal.py
meee1/OpenSolo
6f299639adbad1e8d573c8ae1135832711b600e4
[ "Apache-2.0" ]
33
2019-09-29T19:52:19.000Z
2022-03-12T03:00:43.000Z
#!/usr/bin/env python import sys, os, struct import serial, slip ARTOO_BAUD = 115200 ARTOO_RAW_IO_ID = chr(0x5) ARTOO_RAW_IO_REPORT_ID = chr(0x6) ARTOO_SYSINFO_ID = chr(0x3) ARTOO_CALIBRATE_ID = chr(0x2) ARTOO_DSM_ID = chr(0x1) class Axis(): def __init__(self): self.min =...
28.215054
218
0.573171
357
2,624
4.081232
0.394958
0.02059
0.027454
0.04324
0.079616
0
0
0
0
0
0
0.025559
0.284299
2,624
92
219
28.521739
0.750266
0.057546
0
0.063492
0
0.015873
0.098946
0
0
0
0.006083
0
0
0
null
null
0.015873
0.031746
null
null
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
86b9ebd879628bb402b2a74882c225c59b9c5e3b
191
py
Python
Xian/week 9/16.py
Eurydia/Xian-assignment
4a7e4bcd3d4999ea7429054fec1792064c96ff30
[ "MIT" ]
null
null
null
Xian/week 9/16.py
Eurydia/Xian-assignment
4a7e4bcd3d4999ea7429054fec1792064c96ff30
[ "MIT" ]
null
null
null
Xian/week 9/16.py
Eurydia/Xian-assignment
4a7e4bcd3d4999ea7429054fec1792064c96ff30
[ "MIT" ]
null
null
null
''' Write a program to get a positive integer (n) and display the pattern as a following example. ''' n = int(input()) for i in range(n): print('-'*i, '*'*((n*2)-1-(i*2)), '-'*i, sep='')
27.285714
93
0.575916
34
191
3.235294
0.735294
0
0
0
0
0
0
0
0
0
0
0.019108
0.17801
191
6
94
31.833333
0.681529
0.486911
0
0
0
0
0.033333
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
86baa8ce4fbda4d41050bac98ec91260ee1dc46a
1,642
py
Python
vagrant/vagrant/MPTCP_kernel5.5_WRR05/v07/wrr_get_mptcp_metrics_monitor.py
jorgenavarroortiz/multitechnology_testbed_v0
970aa205d29de725f5c6501bac72cc9212eb4c8e
[ "Apache-2.0" ]
null
null
null
vagrant/vagrant/MPTCP_kernel5.5_WRR05/v07/wrr_get_mptcp_metrics_monitor.py
jorgenavarroortiz/multitechnology_testbed_v0
970aa205d29de725f5c6501bac72cc9212eb4c8e
[ "Apache-2.0" ]
null
null
null
vagrant/vagrant/MPTCP_kernel5.5_WRR05/v07/wrr_get_mptcp_metrics_monitor.py
jorgenavarroortiz/multitechnology_testbed_v0
970aa205d29de725f5c6501bac72cc9212eb4c8e
[ "Apache-2.0" ]
1
2022-02-16T14:59:10.000Z
2022-02-16T14:59:10.000Z
#!/usr/bin/env python3 import time import sys import mptcp_wrr_controller as wrr def main(): # Warning! It must be called from the same name space that the mptcp socket. # we get the list of open MPTCP sockets: mptcp_sockets=wrr.get_mptcp_sockets() # For each socket for mptcp_socket in mptcp_socke...
41.05
154
0.624848
208
1,642
4.769231
0.389423
0.090726
0.033266
0
0
0
0
0
0
0
0
0.000799
0.237515
1,642
39
155
42.102564
0.791534
0.313033
0
0
0
0
0.255585
0.025022
0
0
0
0
0
1
0.047619
false
0
0.142857
0
0.190476
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
86bcb04762a4282c2c69499e7eff3f10397c771d
520
py
Python
kirr/shortener/utils.py
wederribas/TryDjango1.10
02be8361c37ef0fc8e159fd439a720e3fbc9114a
[ "MIT" ]
null
null
null
kirr/shortener/utils.py
wederribas/TryDjango1.10
02be8361c37ef0fc8e159fd439a720e3fbc9114a
[ "MIT" ]
3
2020-02-12T00:13:44.000Z
2021-06-10T19:53:36.000Z
kirr/shortener/utils.py
wederribas/TryDjango1.10
02be8361c37ef0fc8e159fd439a720e3fbc9114a
[ "MIT" ]
1
2021-06-25T12:45:19.000Z
2021-06-25T12:45:19.000Z
import random import string from django.conf import settings SHORTCODE_MIN = getattr(settings, "SHORTCODE_MIN", 6) def code_generator(size=SHORTCODE_MIN, chars=string.ascii_lowercase + string.digits): return ''.join(random.choice(chars) for _ in range(size)) def create_shortcode(instance, size=SHORTCODE_MIN): new...
26
85
0.794231
73
520
5.39726
0.479452
0.121827
0.101523
0
0
0
0
0
0
0
0
0.002155
0.107692
520
19
86
27.368421
0.846983
0
0
0
0
0
0.025
0
0
0
0
0
0
1
0.153846
false
0
0.230769
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
0
0
1
0
0
1
86bfacc1ee0b7a44fae817cf4261a171de49a298
955
py
Python
ietf/group/migrations/0008_group_features_onetoone.py
hassanakbar4/ietfdb
cabee059092ae776015410640226064331c293b7
[ "BSD-3-Clause" ]
25
2022-03-05T08:26:52.000Z
2022-03-30T15:45:42.000Z
ietf/group/migrations/0008_group_features_onetoone.py
hassanakbar4/ietfdb
cabee059092ae776015410640226064331c293b7
[ "BSD-3-Clause" ]
219
2022-03-04T17:29:12.000Z
2022-03-31T21:16:14.000Z
ietf/group/migrations/0008_group_features_onetoone.py
hassanakbar4/ietfdb
cabee059092ae776015410640226064331c293b7
[ "BSD-3-Clause" ]
22
2022-03-04T15:34:34.000Z
2022-03-28T13:30:59.000Z
# Copyright The IETF Trust 2019-2020, All Rights Reserved # -*- coding: utf-8 -*- # Generated by Django 1.11.16 on 2019-01-19 10:08 from django.db import migrations, models import django.db.models.deletion import ietf.utils.models class Migration(migrations.Migration): dependencies = [ ('group', '0007_n...
34.107143
180
0.672251
111
955
5.666667
0.567568
0.050874
0.066773
0.104928
0.09539
0.09539
0
0
0
0
0
0.039474
0.204188
955
27
181
35.37037
0.788158
0.13089
0
0.315789
1
0
0.1477
0.061743
0
0
0
0
0
1
0
false
0
0.157895
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
86c3ae2aaf8542719f1c9f3fd8643c284e7a3d2c
2,374
py
Python
exercises/dns_server/dns_server.py
ZhuMon/P4_exercise
416e0b752f54824b74cff81d954e6d028d80e828
[ "Apache-2.0" ]
null
null
null
exercises/dns_server/dns_server.py
ZhuMon/P4_exercise
416e0b752f54824b74cff81d954e6d028d80e828
[ "Apache-2.0" ]
null
null
null
exercises/dns_server/dns_server.py
ZhuMon/P4_exercise
416e0b752f54824b74cff81d954e6d028d80e828
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import sys import struct import os """ from scapy.all import sniff, sendp, hexdump, get_if_list, get_if_hwaddr from scapy.all import Packet, IPOption from scapy.all import ShortField, IntField, LongField, BitField, FieldListField, FieldLenField from scapy.all import IP, TCP, UDP, Raw, DNS from sc...
26.977273
94
0.550548
321
2,374
3.965732
0.376947
0.049489
0.056559
0.084839
0
0
0
0
0
0
0
0.011972
0.331508
2,374
87
95
27.287356
0.79017
0.057287
0
0.064516
0
0
0.073008
0
0
0
0
0
0
0
null
null
0.048387
0.080645
null
null
0.096774
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
86c685d5f48843de98aa2217e5e6ac689ca97127
210
py
Python
scale-out/scale-out-rdma/hit/stripRES.py
uuudown/Tartan
e3166abc3b1ea79c789fd3aae5c31dde03d9214b
[ "Unlicense" ]
33
2018-09-06T04:52:44.000Z
2022-02-18T20:47:45.000Z
scale-out/scale-out-pinned/hit/stripRES.py
uuudown/Tartan
e3166abc3b1ea79c789fd3aae5c31dde03d9214b
[ "Unlicense" ]
2
2019-11-13T18:38:33.000Z
2022-03-05T06:31:36.000Z
scale-out/scale-out-pinned/hit/stripRES.py
uuudown/Tartan
e3166abc3b1ea79c789fd3aae5c31dde03d9214b
[ "Unlicense" ]
10
2018-10-09T02:43:22.000Z
2022-01-04T02:06:38.000Z
from __future__ import print_function import re CONFIG = 'run.conf' if __name__ == '__main__': f = open(CONFIG) for l in f: if 'RES' in l: print(l.split()[2][:-1])
14
37
0.533333
29
210
3.413793
0.724138
0
0
0
0
0
0
0
0
0
0
0.014388
0.338095
210
14
38
15
0.697842
0
0
0
0
0
0.090476
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
86cd4bcb5e884334b508142a277014cf03ae0d85
290
py
Python
0x05-python-exceptions/0-safe_print_list.py
calypsobronte/holbertonschool-higher_level_programming
c39c060d8473976fa475d22fffba5cb4329c9965
[ "MIT" ]
null
null
null
0x05-python-exceptions/0-safe_print_list.py
calypsobronte/holbertonschool-higher_level_programming
c39c060d8473976fa475d22fffba5cb4329c9965
[ "MIT" ]
null
null
null
0x05-python-exceptions/0-safe_print_list.py
calypsobronte/holbertonschool-higher_level_programming
c39c060d8473976fa475d22fffba5cb4329c9965
[ "MIT" ]
null
null
null
#!/usr/bin/python3 def safe_print_list(my_list=[], x=0): number = 0 for i in range(x): try: print("{}".format(my_list[i]), end="") number += 1 except IndexError: print("") return number print("") return number
22.307692
50
0.486207
35
290
3.914286
0.628571
0.087591
0.248175
0
0
0
0
0
0
0
0
0.021622
0.362069
290
12
51
24.166667
0.718919
0.058621
0
0.363636
0
0
0.007353
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.272727
0.363636
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
86cd5c7e4865ef3f6c451659f885063ca50756e8
1,075
py
Python
poppy/provider/akamai/background_jobs/delete_policy/delete_obsolete_http_policy_flow.py
satroutr/poppy
27417f86854d9e0a04726acc263ef0a2ce9f8f6e
[ "Apache-2.0" ]
3
2017-07-05T20:09:59.000Z
2018-11-27T22:02:57.000Z
poppy/provider/akamai/background_jobs/delete_policy/delete_obsolete_http_policy_flow.py
satroutr/poppy
27417f86854d9e0a04726acc263ef0a2ce9f8f6e
[ "Apache-2.0" ]
24
2017-04-18T15:14:04.000Z
2019-03-20T19:09:07.000Z
poppy/provider/akamai/background_jobs/delete_policy/delete_obsolete_http_policy_flow.py
satroutr/poppy
27417f86854d9e0a04726acc263ef0a2ce9f8f6e
[ "Apache-2.0" ]
8
2017-04-03T13:24:27.000Z
2021-11-08T20:28:10.000Z
# Copyright (c) 2016 Rackspace, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
30.714286
69
0.764651
156
1,075
5.134615
0.602564
0.074906
0.089888
0.089888
0.072409
0
0
0
0
0
0
0.00883
0.157209
1,075
34
70
31.617647
0.875276
0.516279
0
0
0
0
0.077228
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
86cda7f47d89f37423ab1737b6043eaadd73efd6
3,035
py
Python
oqton_fph.py
gromovnik1337/Oqton_proto_python
bfc13359f9c7733834720caa453a4f66748e4c27
[ "Apache-2.0" ]
null
null
null
oqton_fph.py
gromovnik1337/Oqton_proto_python
bfc13359f9c7733834720caa453a4f66748e4c27
[ "Apache-2.0" ]
null
null
null
oqton_fph.py
gromovnik1337/Oqton_proto_python
bfc13359f9c7733834720caa453a4f66748e4c27
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/evn python3 """ This script was made to the test the FPFH approach for the global registration of the RPD models. Created by: Vice, 01.02.2022 """ # Import dependencies import open3d as o3d import numpy as np import copy from oqton_utils import customDrawGeometry from oqton_params import * if __name__ == "_...
41.013514
172
0.723229
398
3,035
5.160804
0.364322
0.064752
0.077897
0.03408
0.42113
0.335443
0.255599
0.217624
0.193768
0.143135
0
0.030648
0.16145
3,035
74
173
41.013514
0.776424
0.281384
0
0
0
0
0.011121
0
0
0
0
0.013514
0
1
0
false
0
0.135135
0
0.135135
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
86d0335530149547c1cb25caf6b55ace8f536d1f
369
py
Python
samples/aaedit.py
scls19fr/aa-light-theme
12b9d9e3bf289984edb89c8bde734e56c031a3ec
[ "MIT" ]
null
null
null
samples/aaedit.py
scls19fr/aa-light-theme
12b9d9e3bf289984edb89c8bde734e56c031a3ec
[ "MIT" ]
3
2015-08-23T17:01:15.000Z
2015-08-23T17:05:24.000Z
samples/aaedit.py
scls19fr/aa-light-theme
12b9d9e3bf289984edb89c8bde734e56c031a3ec
[ "MIT" ]
null
null
null
#!/usr/bin/env python x = 4 + 3 s = "xxx" flag = True if x is None: pass # ddfd """ Multiline string """ def my_func(): pass class Obj(object): def __init__(self, x): pass def __deinit__(self): pass def method(self, x): pass o = Obj(1) o.x = 2 d = { 'x': 10, 'y': ...
9.972973
26
0.487805
57
369
3
0.684211
0.05848
0.105263
0
0
0
0
0
0
0
0
0.044534
0.330623
369
36
27
10.25
0.647773
0.067751
0
0.217391
0
0
0.050314
0
0
0
0
0
0
1
0.173913
false
0.217391
0
0
0.217391
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
86d0cbfc8ee0f1ef1965cac1764c936a81b8d52a
818
py
Python
sitePjt/sitePjt/urls.py
returnturn/200OK
a60dbb43141210cc0950cc2e7490af1fd98b2ec0
[ "Apache-2.0" ]
null
null
null
sitePjt/sitePjt/urls.py
returnturn/200OK
a60dbb43141210cc0950cc2e7490af1fd98b2ec0
[ "Apache-2.0" ]
50
2020-02-18T18:36:39.000Z
2022-03-12T00:23:05.000Z
sitePjt/sitePjt/urls.py
returnturn/200OK
a60dbb43141210cc0950cc2e7490af1fd98b2ec0
[ "Apache-2.0" ]
8
2020-02-04T01:29:55.000Z
2020-04-09T04:12:41.000Z
from django.contrib import admin from django.urls import path, include from django.conf import settings from django.conf.urls import url from . import views from rest_framework_swagger.views import get_swagger_view schema_view = get_swagger_view(title='200OK API') urlpatterns = [ path('', views.ViewHomePage, name...
34.083333
82
0.733496
107
818
5.476636
0.35514
0.085324
0.071672
0.061433
0
0
0
0
0
0
0
0.004213
0.129584
818
23
83
35.565217
0.81882
0
0
0
0
0
0.124694
0
0
0
0
0
0
1
0
false
0
0.35
0
0.35
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
86d12a921109a131ba78add6c684adfd84df8f0d
3,038
py
Python
dfo/test.py
JackMaguire/RobotsAsAGraph
23208be8cfc34cd1f4db9f3cb7b680286e690f07
[ "MIT" ]
null
null
null
dfo/test.py
JackMaguire/RobotsAsAGraph
23208be8cfc34cd1f4db9f3cb7b680286e690f07
[ "MIT" ]
null
null
null
dfo/test.py
JackMaguire/RobotsAsAGraph
23208be8cfc34cd1f4db9f3cb7b680286e690f07
[ "MIT" ]
null
null
null
import argparse import tensorflow as tf from tensorflow.keras.layers import * from tensorflow.keras.models import Model, load_model from tensorflow.keras.optimizers import Adam from tensorflow.keras.losses import BinaryCrossentropy from tqdm import tqdm import numpy as np import robots_core from robots_core.train i...
25.316667
108
0.665899
405
3,038
4.841975
0.350617
0.020398
0.038756
0.016828
0.108618
0.057624
0.043855
0.043855
0.043855
0.043855
0
0.009446
0.233377
3,038
119
109
25.529412
0.832546
0.085253
0
0.102941
0
0
0.050633
0
0
0
0
0.008403
0
1
0.058824
false
0
0.323529
0
0.426471
0.161765
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
86d6414c48f66d03413ea992e7b4a6696b1a3f61
12,471
py
Python
horseModuleCore/test_tools/test_rosbridge.py
TNO/horse-module-core
786a0a6a8007680e3302e53b68530e8e5838c1f2
[ "BSD-3-Clause" ]
null
null
null
horseModuleCore/test_tools/test_rosbridge.py
TNO/horse-module-core
786a0a6a8007680e3302e53b68530e8e5838c1f2
[ "BSD-3-Clause" ]
null
null
null
horseModuleCore/test_tools/test_rosbridge.py
TNO/horse-module-core
786a0a6a8007680e3302e53b68530e8e5838c1f2
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Feb 7 15:31:43 2017 @author: juelg@fzi.de """ import time from pythonbridge import HorseBridge from rosbridge_helper import * # see https://github.com/websocket-client/websocket-client from websocket import create_connection, WebSocketTimeoutExcepti...
41.848993
118
0.64237
1,441
12,471
5.329632
0.195003
0.032031
0.03724
0.067708
0.511198
0.460417
0.436198
0.427083
0.4
0.386979
0
0.00955
0.252746
12,471
297
119
41.989899
0.814572
0.272071
0
0.401274
0
0
0.127638
0.025573
0
0
0
0.010101
0
1
0.063694
false
0
0.031847
0.006369
0.121019
0.267516
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
86d7ef3dc8c5dfd5610b4c726c2dc59f589f6aa3
426
py
Python
sera/commands/echo.py
bretth/sera
507976b9ace58bdf4c8055dbfcf2fc10840eacb2
[ "Apache-2.0" ]
null
null
null
sera/commands/echo.py
bretth/sera
507976b9ace58bdf4c8055dbfcf2fc10840eacb2
[ "Apache-2.0" ]
12
2016-10-04T20:19:45.000Z
2017-01-31T03:59:57.000Z
sera/commands/echo.py
bretth/sera
507976b9ace58bdf4c8055dbfcf2fc10840eacb2
[ "Apache-2.0" ]
null
null
null
import click from .main import main, lprint from ..sera import run, remote @main.command( context_settings=dict( ignore_unknown_options=True)) @click.pass_context @click.argument('args', nargs=-1, type=click.UNPROCESSED) def echo(ctx, args): """Test connection with watcher""" if ctx.obj['local']:...
21.3
57
0.65493
57
426
4.824561
0.631579
0.050909
0
0
0
0
0
0
0
0
0
0.002959
0.206573
426
19
58
22.421053
0.810651
0.065728
0
0
0
0
0.043367
0
0
0
0
0
0
1
0.071429
false
0.071429
0.214286
0
0.357143
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
86d985f21f931945ec5c5f7137b7c852a75cbf4f
3,209
py
Python
sympy/parsing/ast_parser_python24.py
minrk/sympy
1cc6e3837b8ed20ba52ea97298f31aa08b43c508
[ "BSD-3-Clause" ]
2
2015-11-13T16:40:57.000Z
2017-09-15T15:37:19.000Z
sympy_old/parsing/ast_parser_python25.py
curzel-it/KiPyCalc
909c783d5e6967ea58ca93f875106d8a8e3ca5db
[ "MIT" ]
1
2016-06-13T01:29:51.000Z
2016-06-14T00:38:27.000Z
sympy_old/parsing/ast_parser_python25.py
curzel-it/KiPyCalc
909c783d5e6967ea58ca93f875106d8a8e3ca5db
[ "MIT" ]
1
2022-03-21T09:07:27.000Z
2022-03-21T09:07:27.000Z
import compiler import parser from compiler.transformer import Transformer from compiler.ast import CallFunc, Name, Const from compiler.pycodegen import ExpressionCodeGenerator import re #this is python stdlib symbol, not SymPy symbol: import symbol from sympy.core.basic import Basic from sympy.core.symbol import Sym...
32.744898
123
0.648177
404
3,209
4.982673
0.292079
0.053651
0.051664
0.028316
0.213115
0.119225
0.088425
0.088425
0.088425
0.048684
0
0.004977
0.248676
3,209
97
124
33.082474
0.829946
0.075725
0
0.085714
0
0
0.031746
0
0
0
0
0
0.014286
0
null
null
0
0.157143
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
86df37c9e2f58af820906a87e7c712f270cbf4bf
152,737
py
Python
Lib/test/test_ssl.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
1
2018-06-21T18:21:24.000Z
2018-06-21T18:21:24.000Z
Lib/test/test_ssl.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
null
null
null
Lib/test/test_ssl.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
null
null
null
# Test the support dla SSL oraz sockets zaimportuj sys zaimportuj unittest z test zaimportuj support zaimportuj socket zaimportuj select zaimportuj time zaimportuj datetime zaimportuj gc zaimportuj os zaimportuj errno zaimportuj pprint zaimportuj tempfile zaimportuj urllib.request zaimportuj traceback zaimportuj async...
45.53876
114
0.560526
16,424
152,737
5.036593
0.081405
0.029255
0.02147
0.02147
0.584604
0.524462
0.469119
0.418721
0.37583
0.343528
0
0.019944
0.340494
152,737
3,353
115
45.552341
0.801263
0.067888
0
0.465738
0
0
0.095689
0.006264
0
0
0.000129
0
0.147307
0
null
null
0.013558
0.008428
null
null
0.004764
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
86e130b105ba3410d910044560f419a95f72416d
3,393
py
Python
Ui_About.py
AllanDaemon/Polkit-Explorer
51ba887f1f7382002cef3ccdfa660e05c2f0abe1
[ "0BSD" ]
13
2015-02-03T22:55:52.000Z
2021-11-26T08:23:28.000Z
Ui_About.py
AllanDaemon/Polkit-Explorer
51ba887f1f7382002cef3ccdfa660e05c2f0abe1
[ "0BSD" ]
3
2017-06-18T17:36:03.000Z
2022-01-19T14:29:41.000Z
Ui_About.py
AllanDaemon/Polkit-Explorer
51ba887f1f7382002cef3ccdfa660e05c2f0abe1
[ "0BSD" ]
10
2015-02-03T22:55:56.000Z
2022-02-06T15:51:45.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'About.ui' # # Created: Tue Mar 26 14:49:52 2013 # by: PyQt4 UI code generator 4.9.3 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets try: _fromUtf8 = QtCore.QString.fromUtf8 excep...
51.409091
438
0.697613
419
3,393
5.582339
0.377088
0.088499
0.042753
0.059855
0.266781
0.197093
0.095767
0.095767
0.095767
0.034203
0
0.045407
0.162688
3,393
65
439
52.2
0.777895
0.061597
0
0
1
0.019608
0.138268
0.050079
0
0
0
0
0
1
0.039216
false
0
0.019608
0
0.078431
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
86e2b97876357f2ab76e5fd1204181ea68573d0f
935
py
Python
pastepwn/core/paste.py
kiyanmair/pastepwn
9b2fee22857e54a5312fdb3d388b472a7d271c50
[ "MIT" ]
113
2018-09-06T22:14:52.000Z
2022-02-17T01:32:29.000Z
pastepwn/core/paste.py
kiyanmair/pastepwn
9b2fee22857e54a5312fdb3d388b472a7d271c50
[ "MIT" ]
199
2018-09-15T22:17:58.000Z
2022-01-23T23:45:09.000Z
pastepwn/core/paste.py
kiyanmair/pastepwn
9b2fee22857e54a5312fdb3d388b472a7d271c50
[ "MIT" ]
88
2018-09-09T13:02:06.000Z
2022-01-23T22:56:09.000Z
# -*- coding: utf-8 -*- class Paste(object): """Representation of a paste object used for example by pastebin""" def __init__(self, key, title, user, size, date, expire, syntax, scrape_url, full_url): self.key = key self.title = title self.user = user self.size = size ...
24.605263
91
0.560428
118
935
4.194915
0.381356
0.054545
0.060606
0.056566
0
0
0
0
0
0
0
0.001613
0.336898
935
37
92
25.27027
0.796774
0.249198
0
0
0
0
0
0
0
0
0
0
0
1
0.210526
false
0
0
0.052632
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
86e3674c9df7188351598578f16f011399681293
449
py
Python
software/fpga/ov3/ovhw/perfcounter.py
twam/ov_ftdi
d6f3ff5502b4743e2228c15f93ad8d028ab9a635
[ "BSD-2-Clause" ]
247
2015-01-02T06:32:20.000Z
2022-03-30T14:28:04.000Z
software/fpga/ov3/ovhw/perfcounter.py
twam/ov_ftdi
d6f3ff5502b4743e2228c15f93ad8d028ab9a635
[ "BSD-2-Clause" ]
33
2015-11-06T09:09:28.000Z
2021-05-31T15:47:39.000Z
software/fpga/ov3/ovhw/perfcounter.py
twam/ov_ftdi
d6f3ff5502b4743e2228c15f93ad8d028ab9a635
[ "BSD-2-Clause" ]
77
2015-07-01T23:22:23.000Z
2022-01-16T14:15:56.000Z
from migen import * from misoc.interconnect.csr import CSRStorage, CSRStatus from ovhw.whacker.util import Acc_inc_sat class Perfcounter(CSRStatus): def __init__(self, snapshot, reset, bits = 32): CSRStatus.__init__(self, bits) self.submodules.acc = Acc_inc_sat(bits) self.sync += If(snapsho...
32.071429
61
0.681514
64
449
4.59375
0.515625
0.061224
0.061224
0
0
0
0
0
0
0
0
0.008333
0.198218
449
13
62
34.538462
0.808333
0
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0.090909
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
86e4b3bd49a924cf30f17b4a8a535d52124de12a
6,818
py
Python
src/oci/database_migration/models/update_agent_details.py
ezequielramos/oci-python-sdk
cc4235cf217beaf9feed75760e9ce82610222762
[ "Apache-2.0", "BSD-3-Clause" ]
249
2017-09-11T22:06:05.000Z
2022-03-04T17:09:29.000Z
src/oci/database_migration/models/update_agent_details.py
ezequielramos/oci-python-sdk
cc4235cf217beaf9feed75760e9ce82610222762
[ "Apache-2.0", "BSD-3-Clause" ]
228
2017-09-11T23:07:26.000Z
2022-03-23T10:58:50.000Z
src/oci/database_migration/models/update_agent_details.py
ezequielramos/oci-python-sdk
cc4235cf217beaf9feed75760e9ce82610222762
[ "Apache-2.0", "BSD-3-Clause" ]
224
2017-09-27T07:32:43.000Z
2022-03-25T16:55:42.000Z
# coding: utf-8 # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
29.643478
245
0.623937
800
6,818
5.1275
0.1775
0.045344
0.175524
0.081911
0.578255
0.457094
0.350561
0.258898
0.217455
0.192589
0
0.003741
0.294221
6,818
229
246
29.772926
0.848712
0.521561
0
0.084507
0
0
0.097103
0
0
0
0
0
0
1
0.225352
false
0
0.028169
0.028169
0.408451
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
86e8a1596474129a1a5b3efd2d89335fc152cf14
1,068
py
Python
sputnik/thirdparty/qqweibo/compat.py
errord/sputnik
b83c635a9a160dcd5809265c0d9d231ade33e5ea
[ "BSD-3-Clause" ]
null
null
null
sputnik/thirdparty/qqweibo/compat.py
errord/sputnik
b83c635a9a160dcd5809265c0d9d231ade33e5ea
[ "BSD-3-Clause" ]
null
null
null
sputnik/thirdparty/qqweibo/compat.py
errord/sputnik
b83c635a9a160dcd5809265c0d9d231ade33e5ea
[ "BSD-3-Clause" ]
1
2018-03-04T04:48:44.000Z
2018-03-04T04:48:44.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 2011 andelf <andelf@gmail.com> # See LICENSE for details. # Time-stamp: <2011-06-04 01:55:58 andelf> try: from urllib2 import Request, urlopen import urlparse from urllib import quote, unquote, urlencode import htmlentitydefs from...
26.04878
81
0.646067
127
1,068
5.401575
0.488189
0.123907
0.058309
0.075802
0
0
0
0
0
0
0
0.029062
0.291199
1,068
40
82
26.7
0.877147
0.167603
0
0.357143
0
0
0.029727
0
0
0
0
0
0
1
0.035714
false
0
0.785714
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
86e996fb2ab88fa73ffc3ae9123b1faf6e263d66
564
py
Python
tests/test_res_net_v2_block.py
p4vv37/pyradox
cfc8c07d637a1cc189dd8d200f8a55d00405b81f
[ "MIT" ]
61
2021-01-10T09:31:32.000Z
2022-02-13T13:30:48.000Z
tests/test_res_net_v2_block.py
p4vv37/pyradox
cfc8c07d637a1cc189dd8d200f8a55d00405b81f
[ "MIT" ]
1
2021-04-24T12:03:19.000Z
2021-04-24T12:03:19.000Z
tests/test_res_net_v2_block.py
p4vv37/pyradox
cfc8c07d637a1cc189dd8d200f8a55d00405b81f
[ "MIT" ]
6
2021-01-17T16:17:35.000Z
2022-02-13T13:30:49.000Z
import sys, os sys.path.append(os.path.dirname(os.getcwd())) from tensorflow import keras import numpy as np from pyradox import modules inputs = keras.Input(shape=(28, 28, 1)) x = keras.layers.ZeroPadding2D(2)(inputs) # padding to increase dimenstions to 32x32 x = keras.layers.Conv2D(3, 1, padding='same')(...
29.684211
92
0.735816
85
564
4.882353
0.564706
0.106024
0.086747
0
0
0
0
0
0
0
0
0.042857
0.131206
564
18
93
31.333333
0.804082
0.140071
0
0
0
0
0.022869
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
86ecb8bcc4e094c531944e961e17c71d73574fb9
9,379
py
Python
qamlz/model.py
tcoulvert/qamlz
2e3c4b4fd3a5c7665ad99b19c995d0da50000f8a
[ "MIT" ]
null
null
null
qamlz/model.py
tcoulvert/qamlz
2e3c4b4fd3a5c7665ad99b19c995d0da50000f8a
[ "MIT" ]
null
null
null
qamlz/model.py
tcoulvert/qamlz
2e3c4b4fd3a5c7665ad99b19c995d0da50000f8a
[ "MIT" ]
null
null
null
import datetime import numpy as np from sklearn.metrics import accuracy_score from .anneal import anneal from .anneal import default_prune, default_qac, decode_qac # Used to calculate the total hamiltonian of a certain problem def total_hamiltonian(mu, s, sigma, C_i, C_ij): """ Derived from Eq. 9 in QAML-Z ...
42.247748
112
0.572769
1,142
9,379
4.536778
0.283713
0.016213
0.012353
0.008686
0.184906
0.136653
0.121598
0.121598
0.121598
0.121598
0
0.010116
0.357074
9,379
221
113
42.438914
0.849088
0.441518
0
0.045455
0
0
0.015358
0.005759
0
0
0
0.027149
0
1
0.054545
false
0
0.045455
0
0.145455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
86ed39d011af4fadcd7e1767308a6ee4c15f2ac7
314
py
Python
actions/get_repo.py
cognifloyd/stackstorm-travis_ci
20141802ff41af452a90d5179fd1fc1bc495e143
[ "Apache-2.0" ]
164
2015-01-17T16:08:33.000Z
2021-08-03T02:34:07.000Z
actions/get_repo.py
cognifloyd/stackstorm-travis_ci
20141802ff41af452a90d5179fd1fc1bc495e143
[ "Apache-2.0" ]
442
2015-01-01T11:19:01.000Z
2017-09-06T23:26:17.000Z
actions/get_repo.py
cognifloyd/stackstorm-travis_ci
20141802ff41af452a90d5179fd1fc1bc495e143
[ "Apache-2.0" ]
202
2015-01-13T00:37:40.000Z
2020-11-07T11:30:10.000Z
from lib.action import TravisCI class GetRepoDetails(TravisCI): def run(self, repo_id): """ Returns Details of given Repository """ path = '/repos/' + str(repo_id) response = self._perform_request(path, method="GET") data = response.json() return data
24.153846
60
0.598726
35
314
5.257143
0.8
0.065217
0
0
0
0
0
0
0
0
0
0
0.292994
314
12
61
26.166667
0.828829
0.111465
0
0
0
0
0.039216
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
86f1a5e9f43e4543a790bb76ea1f950086d1a2da
2,288
py
Python
basicsr/utils/registry.py
neu-szy/BasicSR
dce8d520d79225ba6e2dfa326a76e31b86df4436
[ "Apache-2.0", "MIT" ]
null
null
null
basicsr/utils/registry.py
neu-szy/BasicSR
dce8d520d79225ba6e2dfa326a76e31b86df4436
[ "Apache-2.0", "MIT" ]
null
null
null
basicsr/utils/registry.py
neu-szy/BasicSR
dce8d520d79225ba6e2dfa326a76e31b86df4436
[ "Apache-2.0", "MIT" ]
null
null
null
# Modified from: https://github.com/facebookresearch/fvcore/blob/master/fvcore/common/registry.py # noqa: E501 class Registry: """ The registry that provides name -> object mapping, to support third-party users' custom modules. To create a registry (e.g. a backbone registry): .. code-block:: py...
26.917647
111
0.594843
278
2,288
4.654676
0.356115
0.043277
0.054096
0.053323
0.118238
0.060278
0
0
0
0
0
0.001882
0.303322
2,288
84
112
27.238095
0.809912
0.366696
0
0
0
0
0.121374
0
0
0
0
0
0.030303
1
0.242424
false
0
0
0.090909
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
86f53c5b192f20414317c25570281debe3497f07
1,936
py
Python
models/db.py
angeal185/python-micro-twitter-clone
254887f3935eb945ecfd253361bb3e80d600d7b8
[ "MIT" ]
null
null
null
models/db.py
angeal185/python-micro-twitter-clone
254887f3935eb945ecfd253361bb3e80d600d7b8
[ "MIT" ]
null
null
null
models/db.py
angeal185/python-micro-twitter-clone
254887f3935eb945ecfd253361bb3e80d600d7b8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # request.requires_https() if not request.env.web2py_runtime_gae: db = DAL('sqlite://storage.sqlite',pool_size=1,check_reserved=['all']) else: ## connect to Google BigTable (optional 'google:datastore://namespace') db = DAL('google:datastore') ## store sessions and t...
36.528302
79
0.717459
250
1,936
5.44
0.52
0.035294
0.0375
0.042647
0.045588
0
0
0
0
0
0
0.006061
0.147727
1,936
52
80
37.230769
0.818182
0.291322
0
0
0
0
0.204633
0.017761
0
0
0
0
0
1
0.038462
false
0.076923
0.038462
0.038462
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
86f862dccdc444869e0aac479b136b69788329aa
686
py
Python
lorator/orm/relations/result.py
fenestron/lorator
1966f095a67ae65e816b1c8f7359b9f203cd5c4f
[ "MIT" ]
null
null
null
lorator/orm/relations/result.py
fenestron/lorator
1966f095a67ae65e816b1c8f7359b9f203cd5c4f
[ "MIT" ]
null
null
null
lorator/orm/relations/result.py
fenestron/lorator
1966f095a67ae65e816b1c8f7359b9f203cd5c4f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from wrapt import ObjectProxy class Result(ObjectProxy): _results = None _relation = None _parent = None _kwargs = None def __init__(self, result, relation, parent, **kwargs): """ :param query: A Builder instance :type query: orm.lorator.Builder ...
22.866667
72
0.609329
74
686
5.324324
0.432432
0.076142
0.081218
0
0
0
0
0
0
0
0
0.002041
0.285714
686
29
73
23.655172
0.802041
0.205539
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0.071429
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
86fb7eaa1386c9d1a1257601216108c0ddca1eb5
2,816
py
Python
Make-sense-of-census/code.py
AAYUSHI1507/ga-learner-dsb-repo
b1cbc6eaf30a9f9e69d022a38372b7ca5e62eb58
[ "MIT" ]
1
2021-06-11T14:53:07.000Z
2021-06-11T14:53:07.000Z
Make-sense-of-census/code.py
AAYUSHI1507/ga-learner-dsb-repo
b1cbc6eaf30a9f9e69d022a38372b7ca5e62eb58
[ "MIT" ]
null
null
null
Make-sense-of-census/code.py
AAYUSHI1507/ga-learner-dsb-repo
b1cbc6eaf30a9f9e69d022a38372b7ca5e62eb58
[ "MIT" ]
null
null
null
# -------------- # Importing header files import numpy as np # Path of the file has been stored in variable called 'path' data = np.genfromtxt(path , delimiter = ",",skip_header = 1) print("\n Data :\n\n",data) print("\n Type of data \n\n",type(data)) print("=="*25) #New record new_record=[[50, 9, 4, 1...
21.661538
76
0.644176
479
2,816
3.56785
0.204593
0.04213
0.04096
0.035108
0.033938
0
0
0
0
0
0
0.0539
0.189631
2,816
129
77
21.829457
0.695004
0.239702
0
0.211268
0
0
0.0775
0
0
0
0
0
0
1
0
false
0
0.014085
0
0.014085
0.450704
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
86fbb44725b60c6aaa95ceea5b119e8a98a5ac43
1,556
py
Python
tests/api/users/test_login_user.py
adr1enbe4udou1n/fastapi-realworld-example-app
4ca9b5085d93cfd9441bfa099744e2dbf9f540fe
[ "MIT" ]
1
2022-02-09T08:37:10.000Z
2022-02-09T08:37:10.000Z
tests/api/users/test_login_user.py
adr1enbe4udou1n/fastapi-realworld-example-app
4ca9b5085d93cfd9441bfa099744e2dbf9f540fe
[ "MIT" ]
1
2022-02-09T08:40:36.000Z
2022-02-10T03:16:41.000Z
tests/api/users/test_login_user.py
adr1enbe4udou1n/fastapi-realworld-example-app
4ca9b5085d93cfd9441bfa099744e2dbf9f540fe
[ "MIT" ]
null
null
null
from typing import Dict import pytest from fastapi.testclient import TestClient from sqlalchemy.orm import Session from starlette import status from app.core.security import decode_access_token, get_password_hash from app.models.user import User from tests.conftest import create_john_user @pytest.mark.parametrize( ...
24.3125
68
0.595116
187
1,556
4.791444
0.385027
0.046875
0.072545
0.09375
0.313616
0.272321
0.136161
0.071429
0
0
0
0.005236
0.263496
1,556
63
69
24.698413
0.776614
0
0
0.096154
0
0
0.16838
0
0
0
0
0
0.076923
1
0.038462
false
0.096154
0.153846
0
0.192308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
86fbd39d5a0df67a2dbc86ca4f52e367d7338a0a
11,914
py
Python
agent/security_helper.py
swipswaps/agent
bf0c026069eef120dda762f9d2f8ae04baf754d5
[ "MIT" ]
null
null
null
agent/security_helper.py
swipswaps/agent
bf0c026069eef120dda762f9d2f8ae04baf754d5
[ "MIT" ]
null
null
null
agent/security_helper.py
swipswaps/agent
bf0c026069eef120dda762f9d2f8ae04baf754d5
[ "MIT" ]
null
null
null
import copy import crypt import os import socket import subprocess from hashlib import sha256 from pathlib import Path from socket import SocketKind import psutil import spwd from . import rpi_helper def check_for_default_passwords(config_path): """ Check if the 'pi' user current password hash is in our lis...
35.248521
119
0.606933
1,461
11,914
4.804928
0.278576
0.014815
0.011966
0.010256
0.103561
0.075214
0.064957
0.055556
0.055556
0.055556
0
0.010064
0.291086
11,914
337
120
35.353116
0.821099
0.243075
0
0.186957
0
0
0.095647
0.009723
0
0
0
0.002967
0
1
0.052174
false
0.108696
0.095652
0.004348
0.226087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
86fe5e7c50fc77c29c3f50cb8b039d5334ecb558
638
py
Python
tests/test_record.py
andrew-paloalto/pyjarm
3152621458482adc3a6c77963fddda2f00909dd7
[ "0BSD" ]
null
null
null
tests/test_record.py
andrew-paloalto/pyjarm
3152621458482adc3a6c77963fddda2f00909dd7
[ "0BSD" ]
null
null
null
tests/test_record.py
andrew-paloalto/pyjarm
3152621458482adc3a6c77963fddda2f00909dd7
[ "0BSD" ]
null
null
null
from mocket import Mocket import socket import os import io import json from jarm.scanner.scanner import Scanner def test_scanner_google(mocker): mocker.patch( "os.urandom", return_value=b"\x17]\x18r\xb2\xe7\x14L\x82\x9anR\xe59{D\xb9\xf8\xb2P\x9cd\xb5\x03g3<\x99)\x176n", ) mocker.patch("...
23.62963
105
0.695925
86
638
5.069767
0.616279
0.055046
0.055046
0
0
0
0
0
0
0
0
0.159393
0.173981
638
26
106
24.538462
0.667932
0
0
0
0
0.052632
0.34326
0.222571
0
0
0
0
0.052632
1
0.052632
false
0
0.315789
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
810467389f73b022c8b89cdabc196d0828b89627
4,102
py
Python
website/volunteers/migrations/0009_auto_20201128_2348.py
tibet5/website
937e1941aaadbf7cd0a404a2655858451c01dd54
[ "MIT" ]
null
null
null
website/volunteers/migrations/0009_auto_20201128_2348.py
tibet5/website
937e1941aaadbf7cd0a404a2655858451c01dd54
[ "MIT" ]
null
null
null
website/volunteers/migrations/0009_auto_20201128_2348.py
tibet5/website
937e1941aaadbf7cd0a404a2655858451c01dd54
[ "MIT" ]
null
null
null
# Generated by Django 3.1.2 on 2020-11-29 04:48 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('volunteers', '0008_auto_20201127_1707'), ] operations = [ migrations.AddField( model_name='volunteer', name='baking_...
47.697674
224
0.633593
474
4,102
5.335443
0.303797
0.077106
0.099644
0.121787
0.550415
0.497825
0.294187
0.23013
0.154607
0.073942
0
0.023911
0.255729
4,102
85
225
48.258824
0.804455
0.01097
0
0.556962
1
0.025316
0.317633
0.032799
0
0
0
0
0
1
0
false
0
0.012658
0
0.050633
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
810601cb6cf8d83d983d7c936380985a3c9706d0
5,242
py
Python
test.py
erfect2020/DecompositionForFusion
73e65485b84a3802ecd80b8b926108d103be1a62
[ "MIT" ]
null
null
null
test.py
erfect2020/DecompositionForFusion
73e65485b84a3802ecd80b8b926108d103be1a62
[ "MIT" ]
null
null
null
test.py
erfect2020/DecompositionForFusion
73e65485b84a3802ecd80b8b926108d103be1a62
[ "MIT" ]
null
null
null
import argparse from utils import util from data.multi_exposure_dataset import TestDataset # from data.multi_focus_dataset import TestDataset # from data.multi_focus_dataset import TestMFFDataset as TestDataset # from data.visir_fusion_dataset import TestDataset # from data.visir_fusion_dataset import TestTNODataset a...
41.275591
110
0.681038
741
5,242
4.550607
0.221323
0.127224
0.142349
0.185053
0.331257
0.288553
0.288553
0.263049
0.201364
0.106168
0
0.008724
0.190958
5,242
126
111
41.603175
0.786371
0.079359
0
0.021978
0
0
0.090607
0
0
0
0
0
0
1
0
false
0
0.131868
0
0.131868
0.010989
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
81065f4672b6a73ba51510b7e78f77a9691d7e80
6,087
py
Python
utilities/plot_elevation_profile.py
baagaard-usgs/UCVMC
53d3c136ea32bceaa02a89c351fee7e8155a5af5
[ "Apache-2.0", "BSD-3-Clause" ]
18
2017-01-27T09:26:15.000Z
2022-03-21T14:40:26.000Z
utilities/plot_elevation_profile.py
baagaard-usgs/UCVMC
53d3c136ea32bceaa02a89c351fee7e8155a5af5
[ "Apache-2.0", "BSD-3-Clause" ]
85
2016-12-10T01:50:34.000Z
2022-01-05T20:46:36.000Z
utilities/plot_elevation_profile.py
baagaard-usgs/UCVMC
53d3c136ea32bceaa02a89c351fee7e8155a5af5
[ "Apache-2.0", "BSD-3-Clause" ]
9
2017-10-19T16:57:34.000Z
2021-06-18T16:26:47.000Z
#!/usr/bin/env python2 ## # @file plot_elevation_profile.py # @brief Plots a elevation profile using command-line parameters. # @author # @version # # Plots a elevation profile given a set of command-line parameters. from pycvm import ElevationProfile, UCVM, VERSION, UCVM_CVMS, Point, ask_number, ask_path, ask...
36.890909
114
0.60851
783
6,087
4.64751
0.278416
0.024732
0.018686
0.021984
0.135752
0.123111
0.097829
0.043419
0.043419
0.043419
0
0.010186
0.258091
6,087
164
115
37.115854
0.795616
0.080664
0
0.1
0
0.016667
0.432344
0
0
0
0
0
0
0
null
null
0
0.016667
null
null
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8106816538b5631dddb2a6a9581676947d4614fd
1,391
py
Python
openslides_backend/action/actions/poll/stop.py
MJJojo97/openslides-backend
af0d1edb0070e352d46f285a1ba0bbe3702d49ae
[ "MIT" ]
null
null
null
openslides_backend/action/actions/poll/stop.py
MJJojo97/openslides-backend
af0d1edb0070e352d46f285a1ba0bbe3702d49ae
[ "MIT" ]
19
2021-11-22T16:25:54.000Z
2021-11-25T13:38:13.000Z
openslides_backend/action/actions/poll/stop.py
MJJojo97/openslides-backend
af0d1edb0070e352d46f285a1ba0bbe3702d49ae
[ "MIT" ]
null
null
null
from typing import Any, Callable, Dict from ....models.models import Poll from ....shared.exceptions import ActionException from ....shared.patterns import FullQualifiedId from ...generics.update import UpdateAction from ...util.default_schema import DefaultSchema from ...util.register import register_action from ...u...
33.926829
89
0.664989
157
1,391
5.77707
0.407643
0.026461
0.022051
0
0
0
0
0
0
0
0
0
0.220705
1,391
40
90
34.775
0.836716
0.015816
0
0
0
0
0.086475
0
0
0
0
0
0
1
0.1
false
0
0.3
0
0.566667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
810bc4ab6798c2ef9e99ed82c7bd5445fb443b78
355
py
Python
tests/test_cli.py
zenaix/ICSuit
792b498df7f0e700b77f147e4f888b950f3ba296
[ "Apache-2.0" ]
1
2021-02-21T11:19:23.000Z
2021-02-21T11:19:23.000Z
tests/test_cli.py
zenaix/ICSuit
792b498df7f0e700b77f147e4f888b950f3ba296
[ "Apache-2.0" ]
null
null
null
tests/test_cli.py
zenaix/ICSuit
792b498df7f0e700b77f147e4f888b950f3ba296
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import os import unittest from context import icsuit from icsuit.cli.core import CLI class TestLoader(unittest.TestCase): """Unit test cases for cli.core.""" def test_cli(self): os.chdir('..') cli = CLI() cli.cliloop() os.chdir('tests') if __name__ ...
16.904762
39
0.605634
45
355
4.577778
0.577778
0.067961
0
0
0
0
0
0
0
0
0
0.003745
0.247887
355
20
40
17.75
0.76779
0.146479
0
0
0
0
0.050505
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8110166631a8170060f8f5979d0b622c3274ad31
6,626
py
Python
py_proto/modules/drivers/proto/pointcloud_pb2.py
yujianyi/fusion_localization
c0057e29cbf690d6260f021080fd951c1a6b6baa
[ "Apache-2.0" ]
2
2019-03-04T02:11:04.000Z
2019-04-18T11:19:45.000Z
py_proto/modules/drivers/proto/pointcloud_pb2.py
yujianyi/fusion_localization
c0057e29cbf690d6260f021080fd951c1a6b6baa
[ "Apache-2.0" ]
1
2019-03-15T08:37:53.000Z
2019-03-15T08:37:53.000Z
py_proto/modules/drivers/proto/pointcloud_pb2.py
yujianyi/fusion_localization
c0057e29cbf690d6260f021080fd951c1a6b6baa
[ "Apache-2.0" ]
1
2019-03-04T02:11:09.000Z
2019-03-04T02:11:09.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: modules/drivers/proto/pointcloud.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf im...
39.207101
645
0.741473
884
6,626
5.295249
0.175339
0.054689
0.03589
0.053835
0.655416
0.507584
0.468917
0.468917
0.428755
0.409101
0
0.044957
0.130546
6,626
168
646
39.440476
0.767575
0.04588
0
0.565517
1
0.006897
0.203484
0.172288
0
0
0
0
0
1
0
false
0
0.048276
0
0.048276
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
81103775b70936cde1135b74f1659f7b746d0f31
1,525
py
Python
kaiseki-data/toTypeScript.py
ikarino/torneko3js
dc156d0ed29241f891ec9ec0c182268423a0bcc2
[ "MIT" ]
null
null
null
kaiseki-data/toTypeScript.py
ikarino/torneko3js
dc156d0ed29241f891ec9ec0c182268423a0bcc2
[ "MIT" ]
1
2021-03-10T07:25:43.000Z
2021-03-10T07:25:43.000Z
kaiseki-data/toTypeScript.py
ikarino/torneko3js
dc156d0ed29241f891ec9ec0c182268423a0bcc2
[ "MIT" ]
null
null
null
from glob import glob import os import json import sys DESTINATION = "../src/kaisekiData.ts" if len(sys.argv) == 2: DESTINATION = sys.argv[1] def json2dict(fname): with open(fname) as f: text = f.read() return json.loads(text) whole_dict = {} for dname in glob("jsons/*"): dungeon = os.path.basename(dname...
31.770833
120
0.641967
206
1,525
4.723301
0.417476
0.061665
0.138746
0.175745
0.221994
0
0
0
0
0
0
0.011076
0.171148
1,525
48
121
31.770833
0.758703
0
0
0
0
0
0.195282
0.013761
0
0
0
0
0
1
0.02439
false
0
0.121951
0
0.170732
0.02439
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
81128e1009425e52a05ed36a7c42114afd07cfe2
2,051
py
Python
pytorch_lightning/accelerator_backends/gpu_backend.py
stas00/pytorch-lightning
84c507c4df5f5c336deb19ce7f70fa02329f39f6
[ "Apache-2.0" ]
null
null
null
pytorch_lightning/accelerator_backends/gpu_backend.py
stas00/pytorch-lightning
84c507c4df5f5c336deb19ce7f70fa02329f39f6
[ "Apache-2.0" ]
null
null
null
pytorch_lightning/accelerator_backends/gpu_backend.py
stas00/pytorch-lightning
84c507c4df5f5c336deb19ce7f70fa02329f39f6
[ "Apache-2.0" ]
null
null
null
# Copyright The PyTorch Lightning team. # # 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 i...
33.622951
109
0.70746
264
2,051
5.375
0.443182
0.131783
0.059197
0.022551
0.121212
0.059197
0
0
0
0
0
0.002492
0.217455
2,051
60
110
34.183333
0.88162
0.324232
0
0.129032
0
0
0.012427
0
0
0
0
0.016667
0
1
0.129032
false
0
0.096774
0
0.354839
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
8117779fcbd4d0e0838e08a4b3293b4cfa0ea89a
430
py
Python
foodpro/appy/migrations/0002_auto_20210121_1336.py
RomanDamn/foodgram-project
76b9a9972402febc06c28c7abde14342dce8cf85
[ "MIT" ]
null
null
null
foodpro/appy/migrations/0002_auto_20210121_1336.py
RomanDamn/foodgram-project
76b9a9972402febc06c28c7abde14342dce8cf85
[ "MIT" ]
8
2021-03-19T13:44:46.000Z
2022-03-12T00:55:03.000Z
foodpro/appy/migrations/0002_auto_20210121_1336.py
RomanDamn/foodgram-project
76b9a9972402febc06c28c7abde14342dce8cf85
[ "MIT" ]
1
2021-02-13T00:16:36.000Z
2021-02-13T00:16:36.000Z
# Generated by Django 2.2 on 2021-01-21 10:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('appy', '0001_initial'), ] operations = [ migrations.AlterField( model_name='recipe', name='ingredient', fi...
22.631579
106
0.609302
45
430
5.755556
0.755556
0
0
0
0
0
0
0
0
0
0
0.056782
0.262791
430
18
107
23.888889
0.760252
0.1
0
0
1
0
0.158442
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8121594df7b8b2fd31bcf348c7d7f9b11933b28a
791
py
Python
run_tests.py
dfirlabs/clitooltester
ffe23b7b7458212d150390f476cda74e89fc97e1
[ "Apache-2.0" ]
null
null
null
run_tests.py
dfirlabs/clitooltester
ffe23b7b7458212d150390f476cda74e89fc97e1
[ "Apache-2.0" ]
null
null
null
run_tests.py
dfirlabs/clitooltester
ffe23b7b7458212d150390f476cda74e89fc97e1
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Script to run the tests.""" import sys import unittest # Change PYTHONPATH to include clitooltester. sys.path.insert(0, '.') if __name__ == '__main__': print('Using Python version {0!s}'.format(sys.version)) fail_unless_has_test_file = '--fail-unless-has-test-fi...
30.423077
75
0.725664
115
791
4.747826
0.504348
0.128205
0.166667
0.217949
0.291209
0.252747
0.153846
0.153846
0.153846
0.153846
0
0.007257
0.128951
791
25
76
31.64
0.785196
0.250316
0
0
0
0
0.210978
0.135506
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0.076923
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8121a634de2ed60156f470bebe025579b095956b
873
py
Python
serial_mux/vserial.py
jfjlaros/arduino-serial-mux
827f04dc77c54498c227d5127212c1e0587ae90d
[ "MIT" ]
null
null
null
serial_mux/vserial.py
jfjlaros/arduino-serial-mux
827f04dc77c54498c227d5127212c1e0587ae90d
[ "MIT" ]
null
null
null
serial_mux/vserial.py
jfjlaros/arduino-serial-mux
827f04dc77c54498c227d5127212c1e0587ae90d
[ "MIT" ]
null
null
null
from os import getpid, openpty, read, ttyname, write from tty import setcbreak class VSerial(): """Virtual serial device.""" def __init__(self: object, mux: object, port: int) -> None: """ :arg mux: Serial multiplexer. :arg port: Virtual serial port. """ self._mux = mux...
25.676471
63
0.564719
100
873
4.77
0.36
0.083857
0.0587
0.079665
0.155136
0.155136
0.155136
0.155136
0
0
0
0.003284
0.302406
873
33
64
26.454545
0.779967
0.182131
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.4375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
812bcba41d716bf251cbf0d6835192cea873ea8d
4,491
py
Python
Chapter08/restful_python_2_08_01/Django01/games_service/games/views.py
PacktPublishing/Hands-On-RESTful-Python-Web-Services-Second-Edition
db8212c90f6394d8ee6fadb038e2b01ef83c963d
[ "MIT" ]
45
2018-12-21T01:02:16.000Z
2022-03-18T08:23:13.000Z
Chapter08/restful_python_2_08_01/Django01/games_service/games/views.py
PacktPublishing/Hands-On-RESTful-Python-Web-Services-Second-Edition
db8212c90f6394d8ee6fadb038e2b01ef83c963d
[ "MIT" ]
12
2020-02-11T23:32:33.000Z
2021-06-10T22:29:56.000Z
Chapter08/restful_python_2_08_01/Django01/games_service/games/views.py
PacktPublishing/Hands-On-RESTful-Python-Web-Services-Second-Edition
db8212c90f6394d8ee6fadb038e2b01ef83c963d
[ "MIT" ]
29
2019-02-11T16:45:56.000Z
2022-03-29T12:43:27.000Z
from games.models import EsrbRating from games.models import Game from games.models import Player from games.models import PlayerScore from games.serializers import EsrbRatingSerializer from games.serializers import GameSerializer from games.serializers import PlayerSerializer from games.serializers import PlayerScoreS...
30.55102
80
0.708528
430
4,491
7.234884
0.227907
0.02893
0.064288
0.08036
0.37287
0.299582
0.277724
0.251366
0.251366
0
0
0
0.19951
4,491
146
81
30.760274
0.865369
0
0
0.352941
0
0
0.100868
0
0
0
0
0
0
1
0.016807
false
0
0.151261
0.008403
0.705882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
812c31408ab8af4dc06f027546b2b090cb1c28e8
630
py
Python
pi/ch_15_decade_counter.py
qiang-cynthia/Electronics_Cookbook
05966b5194068249054471b08393e39a41eeab15
[ "MIT" ]
42
2016-11-02T09:06:06.000Z
2022-03-20T08:26:57.000Z
pi/ch_15_decade_counter.py
qiang-cynthia/Electronics_Cookbook
05966b5194068249054471b08393e39a41eeab15
[ "MIT" ]
null
null
null
pi/ch_15_decade_counter.py
qiang-cynthia/Electronics_Cookbook
05966b5194068249054471b08393e39a41eeab15
[ "MIT" ]
14
2018-02-02T20:01:45.000Z
2021-07-14T11:00:37.000Z
import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) reset_pin = 18 clock_pin = 23 GPIO.setup(reset_pin, GPIO.OUT) GPIO.setup(clock_pin, GPIO.OUT) def set_digit(digit): GPIO.output(reset_pin, True) time.sleep(0.000001) GPIO.output(reset_pin, False) time.sleep(0.000001) for i in range(0, d...
21
42
0.622222
93
630
4.107527
0.397849
0.08377
0.104712
0.167539
0.298429
0.298429
0.172775
0.172775
0
0
0
0.074946
0.25873
630
30
43
21
0.743041
0
0
0.166667
0
0
0.044374
0
0
0
0
0
0
1
0.041667
false
0
0.083333
0
0.125
0.041667
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
812fea094cadeca32bd3562a04314a02313c0460
4,608
py
Python
malaya/supervised/softmax.py
DSA-CoE/malaya
8d7b3b5afed35c4069a69832faf491d739f8eb08
[ "MIT" ]
null
null
null
malaya/supervised/softmax.py
DSA-CoE/malaya
8d7b3b5afed35c4069a69832faf491d739f8eb08
[ "MIT" ]
null
null
null
malaya/supervised/softmax.py
DSA-CoE/malaya
8d7b3b5afed35c4069a69832faf491d739f8eb08
[ "MIT" ]
null
null
null
import json import os import pickle import numpy as np from malaya.function import check_file, load_graph, generate_session from malaya.text.bpe import ( sentencepiece_tokenizer_bert, sentencepiece_tokenizer_xlnet, load_yttm, ) from malaya.model.ml import BINARY_BAYES, MULTICLASS_BAYES from malaya.model.ber...
37.463415
123
0.617188
518
4,608
5.23166
0.210425
0.04428
0.03321
0.039852
0.445018
0.369373
0.351661
0.351661
0.28155
0.222878
0
0.005428
0.280382
4,608
122
124
37.770492
0.811821
0
0
0.280374
1
0
0.125434
0.024306
0
0
0
0
0
1
0.018692
false
0
0.299065
0
0.345794
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
813469fe86f798b1727cbe34dbf4e934306a74a9
1,150
py
Python
tech_project/lib/python2.7/site-packages/astroid/tests/testdata/python2/data/nonregr.py
priyamshah112/Project-Descripton-Blog
8e01016c6be79776c4f5ca75563fa3daa839e39e
[ "MIT" ]
120
2016-12-12T17:07:51.000Z
2022-03-22T01:36:22.000Z
virtual/lib/python3.6/site-packages/astroid/tests/testdata/python2/data/nonregr.py
evantoh/patient-management-system
6637eb1344775633759165260ed99843581c0e72
[ "Unlicense" ]
61
2017-06-03T05:49:22.000Z
2022-03-27T17:42:07.000Z
virtual/lib/python3.6/site-packages/astroid/tests/testdata/python2/data/nonregr.py
evantoh/patient-management-system
6637eb1344775633759165260ed99843581c0e72
[ "Unlicense" ]
88
2016-11-27T02:16:11.000Z
2020-02-28T05:10:26.000Z
from __future__ import generators, print_function try: enumerate = enumerate except NameError: def enumerate(iterable): """emulates the python2.3 enumerate() function""" i = 0 for val in iterable: yield i, val i += 1 def toto(value): for k, v in value: ...
19.827586
70
0.571304
133
1,150
4.759399
0.518797
0.082149
0.034755
0.07267
0
0
0
0
0
0
0
0.005006
0.305217
1,150
57
71
20.175439
0.787234
0.138261
0
0.171429
0
0
0.025157
0
0
0
0
0
0
1
0.171429
false
0.171429
0.085714
0
0.4
0.057143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8136c8e3bde78ee25d5952feb8eceb0af507ae74
6,371
py
Python
airframe/facebookphotos.py
bobbytdotcom/airframe
e4c9dc70c202b162df04fe93b924d1a7eabf5d83
[ "Apache-2.0" ]
15
2015-02-02T22:52:30.000Z
2021-03-23T13:50:01.000Z
airframe/facebookphotos.py
bobbytdotcom/airframe
e4c9dc70c202b162df04fe93b924d1a7eabf5d83
[ "Apache-2.0" ]
6
2015-03-19T14:39:29.000Z
2020-12-12T11:13:42.000Z
airframe/facebookphotos.py
bobbytdotcom/airframe
e4c9dc70c202b162df04fe93b924d1a7eabf5d83
[ "Apache-2.0" ]
8
2015-04-11T10:13:43.000Z
2021-03-23T13:57:26.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 2013 Virantha Ekanayake All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LI...
35.592179
193
0.599592
793
6,371
4.662043
0.320303
0.032729
0.020287
0.009738
0.098999
0.043278
0.043278
0.023803
0.023803
0
0
0.005792
0.295401
6,371
178
194
35.792135
0.817777
0.125726
0
0.189655
0
0.008621
0.128861
0.012682
0
0
0
0
0
0
null
null
0
0.068966
null
null
0.043103
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8137751c54deaa75e40adc7cdea7ca524ea1b3a7
1,894
py
Python
src/context/views.py
tegarty/socialrating
b80888ee8e637bd0a5517614c78235d563fead2e
[ "BSD-3-Clause" ]
1
2019-02-03T17:17:02.000Z
2019-02-03T17:17:02.000Z
src/context/views.py
tegarty/socialrating
b80888ee8e637bd0a5517614c78235d563fead2e
[ "BSD-3-Clause" ]
null
null
null
src/context/views.py
tegarty/socialrating
b80888ee8e637bd0a5517614c78235d563fead2e
[ "BSD-3-Clause" ]
null
null
null
from django.views.generic.list import ListView from django.views.generic.detail import DetailView from django.views.generic.edit import CreateView, UpdateView, DeleteView from django.contrib import messages from django.shortcuts import redirect, reverse from team.mixins import TeamViewMixin, TeamAdminRequiredMixin fr...
31.04918
158
0.713305
211
1,894
6.293839
0.374408
0.037651
0.071536
0.072289
0.317771
0.271084
0.230422
0.230422
0.230422
0.230422
0
0.001947
0.186378
1,894
60
159
31.566667
0.859831
0.006336
0
0.275
0
0.025
0.167474
0
0
0
0
0
0
1
0.075
false
0
0.175
0.025
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
813a5d2e76d729bf44027e051d94574b0875e5e7
476
py
Python
pypro/4task.py
ganesh-95/python-programs
df4ee1ec1d13ea0cd1ad511827cb0a2e59f55908
[ "MIT" ]
1
2016-07-20T04:40:48.000Z
2016-07-20T04:40:48.000Z
pypro/4task.py
ganesh-95/python-programs
df4ee1ec1d13ea0cd1ad511827cb0a2e59f55908
[ "MIT" ]
null
null
null
pypro/4task.py
ganesh-95/python-programs
df4ee1ec1d13ea0cd1ad511827cb0a2e59f55908
[ "MIT" ]
null
null
null
''' Take a string from key board and count no of spaces and no of words in that. Eg: When you run the code it should prompt like "Enter a sentence:" And then you can enter a sentence like Welcome to MicroPyramid. Output should be spaces: 2, words: 3 ''' x = raw_input('enter a sentense:') count_words = 0 count_sp...
20.695652
246
0.676471
82
476
3.841463
0.597561
0.057143
0.088889
0
0
0
0
0
0
0
0
0.01676
0.247899
476
22
247
21.636364
0.863128
0
0
0
0
0
0.076923
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
813b277d89e581483c09239827491b9ed1d1a4a2
15,014
py
Python
Program/main.py
mekiah343/mate
fd97bedbf7851653c0acc433ab41809233a47c0a
[ "Apache-2.0" ]
2
2018-04-23T20:06:04.000Z
2019-11-07T21:48:29.000Z
Program/main.py
mekiah343/mate
fd97bedbf7851653c0acc433ab41809233a47c0a
[ "Apache-2.0" ]
null
null
null
Program/main.py
mekiah343/mate
fd97bedbf7851653c0acc433ab41809233a47c0a
[ "Apache-2.0" ]
null
null
null
import pygame import serial import re import sys import glob import time from projectRes.motors.motor import motorController from projectRes.widgets import widget print("Booting MUROVISP...") # ______________________________________________ # Color variable initializations # ______________________________________...
26.620567
233
0.620288
1,548
15,014
5.251938
0.284884
0.007872
0.035055
0.003936
0.192743
0.136777
0.120787
0.108733
0.098647
0.089545
0
0.034566
0.281271
15,014
563
234
26.667851
0.71884
0.279872
0
0.342679
0
0
0.079638
0
0
0
0
0
0
0
null
null
0.003115
0.024922
null
null
0.018692
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
813be1e6a7262a36cfd4cea5364b421ee5c590cb
591
py
Python
cmsplugin_bootstrap_section/cms_plugins.py
movermeyer/cmsplugin-bootstrap
2a03a9fd609fc166a5a4e19a22fbcfbfa081fad7
[ "BSD-3-Clause" ]
null
null
null
cmsplugin_bootstrap_section/cms_plugins.py
movermeyer/cmsplugin-bootstrap
2a03a9fd609fc166a5a4e19a22fbcfbfa081fad7
[ "BSD-3-Clause" ]
null
null
null
cmsplugin_bootstrap_section/cms_plugins.py
movermeyer/cmsplugin-bootstrap
2a03a9fd609fc166a5a4e19a22fbcfbfa081fad7
[ "BSD-3-Clause" ]
null
null
null
# coding: utf-8 from cms.plugin_base import CMSPluginBase from cms.plugin_pool import plugin_pool from cmsplugin_bootstrap_section.models import Section from django.utils.translation import ugettext as _ class BootstrapSectionPlugin(CMSPluginBase): model = Section name = _('Section') module = _('Bootstrap...
29.55
64
0.76819
66
591
6.666667
0.575758
0.068182
0.059091
0
0
0
0
0
0
0
0
0.002004
0.155668
591
20
65
29.55
0.87976
0.021997
0
0
0
0
0.109185
0.069324
0
0
0
0
0
1
0.071429
false
0
0.285714
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
813ffe1a0e52598ca409b6a85709684a7e26efb9
1,187
py
Python
shylock/core/conf.py
ufcg-lsd/shylock
2207cfca84d101da2849dc7474b529ca761692a3
[ "MIT" ]
1
2020-09-08T11:40:51.000Z
2020-09-08T11:40:51.000Z
shylock/core/conf.py
ufcg-lsd/shylock
2207cfca84d101da2849dc7474b529ca761692a3
[ "MIT" ]
4
2020-09-02T20:23:54.000Z
2020-11-23T19:06:30.000Z
shylock/core/conf.py
ufcg-lsd/shylock
2207cfca84d101da2849dc7474b529ca761692a3
[ "MIT" ]
2
2020-09-04T02:09:38.000Z
2022-03-11T19:57:38.000Z
import yaml def validate_conf(yaml_path: str) -> dict: """Validate if conf file is valid and return dict.""" with open(yaml_path, 'r') as file: conf_file = yaml.safe_load(file) billing = conf_file.get('billing') openstack = conf_file.get('openstack') monasca = conf_file.get('monasca') ...
34.911765
102
0.702612
148
1,187
5.385135
0.256757
0.27729
0.095358
0.082811
0.112923
0.112923
0
0
0
0
0
0
0.206403
1,187
33
103
35.969697
0.846072
0.039596
0
0.130435
0
0
0.121693
0
0
0
0
0
0
1
0.043478
false
0
0.043478
0
0.130435
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8141a09430535d317aa4d8c4e22bc4a35d89009f
62,553
py
Python
gui/src/core/dense_embed/embed.py
retallickj/qca-embedding
96fd37a3ecd4beacb04ad1cb193d65d0b48ceab2
[ "MIT" ]
1
2017-11-02T20:38:20.000Z
2017-11-02T20:38:20.000Z
gui/src/core/dense_embed/embed.py
retallickj/qca-embedding
96fd37a3ecd4beacb04ad1cb193d65d0b48ceab2
[ "MIT" ]
null
null
null
gui/src/core/dense_embed/embed.py
retallickj/qca-embedding
96fd37a3ecd4beacb04ad1cb193d65d0b48ceab2
[ "MIT" ]
null
null
null
#--------------------------------------------------------- # Name: embed.py # Purpose: Main loop for running Dense Placement embedding. # Author: Jacob Retallick # Created: 06.08.2014 #--------------------------------------------------------- #####################################################################...
29.230374
92
0.51609
7,938
62,553
3.938901
0.098262
0.027057
0.006269
0.00806
0.236799
0.187642
0.153005
0.135414
0.113027
0.102472
0
0.015244
0.356114
62,553
2,139
93
29.244039
0.761055
0.155948
0
0.338956
0
0
0.073129
0
0
0
0
0
0.000803
0
null
null
0.000803
0.008032
null
null
0.012048
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8144985ce2d28672e36724a94d02a8f2d264b7af
379
py
Python
apps/base/migrations/0016_auto_20181016_1552.py
KolevDarko/lifehq
88d92f5fe76f2fb6511f2a892e096d95a69985d8
[ "MIT" ]
null
null
null
apps/base/migrations/0016_auto_20181016_1552.py
KolevDarko/lifehq
88d92f5fe76f2fb6511f2a892e096d95a69985d8
[ "MIT" ]
null
null
null
apps/base/migrations/0016_auto_20181016_1552.py
KolevDarko/lifehq
88d92f5fe76f2fb6511f2a892e096d95a69985d8
[ "MIT" ]
null
null
null
# Generated by Django 2.0 on 2018-10-16 15:52 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('base', '0015_profile_active_project_id'), ] operations = [ migrations.RenameField( model_name='profile', old_name='first_knowl...
19.947368
51
0.604222
41
379
5.365854
0.804878
0.081818
0
0
0
0
0
0
0
0
0
0.066915
0.290237
379
18
52
21.055556
0.750929
0.113456
0
0
1
0
0.197605
0.08982
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d48c9eacd5374ba23d11d9296699b721a62296d2
565
py
Python
examples/docs_snippets_crag/docs_snippets_crag/concepts/configuration/make_values_resource_any.py
dbatten5/dagster
d76e50295054ffe5a72f9b292ef57febae499528
[ "Apache-2.0" ]
1
2021-07-03T09:05:58.000Z
2021-07-03T09:05:58.000Z
examples/docs_snippets_crag/docs_snippets_crag/concepts/configuration/make_values_resource_any.py
dbatten5/dagster
d76e50295054ffe5a72f9b292ef57febae499528
[ "Apache-2.0" ]
1
2021-06-21T18:30:02.000Z
2021-06-25T21:18:39.000Z
examples/docs_snippets_crag/docs_snippets_crag/concepts/configuration/make_values_resource_any.py
dbatten5/dagster
d76e50295054ffe5a72f9b292ef57febae499528
[ "Apache-2.0" ]
1
2021-11-30T21:40:46.000Z
2021-11-30T21:40:46.000Z
from dagster import ModeDefinition, execute_pipeline, make_values_resource, pipeline, solid @solid(required_resource_keys={"value"}) def solid1(context): context.log.info(f"value: {context.resources.value}") @solid(required_resource_keys={"value"}) def solid2(context): context.log.info(f"value: {context.res...
26.904762
92
0.743363
69
565
5.855072
0.391304
0.10396
0.089109
0.123762
0.40099
0.40099
0.237624
0.237624
0.237624
0
0
0.007813
0.093805
565
20
93
28.25
0.78125
0
0
0.333333
0
0
0.19292
0.088496
0
0
0
0
0
1
0.25
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d493eb864a2cd5ff15b458ba9c56a8287ff61864
2,521
py
Python
TechnicalTest/krato/views.py
JoseHerradez/Django_RestAPI_Krato
2d2371e0a64aaf99c07f31293540d3b88814ce6d
[ "MIT" ]
null
null
null
TechnicalTest/krato/views.py
JoseHerradez/Django_RestAPI_Krato
2d2371e0a64aaf99c07f31293540d3b88814ce6d
[ "MIT" ]
null
null
null
TechnicalTest/krato/views.py
JoseHerradez/Django_RestAPI_Krato
2d2371e0a64aaf99c07f31293540d3b88814ce6d
[ "MIT" ]
null
null
null
from rest_framework import viewsets, status, mixins from rest_framework.decorators import detail_route from rest_framework.response import Response from .models import Ciudad, Tienda, Usuario from .serializers import CiudadSerializer, TiendaSerializer, UsuarioSerializer class CiudadViewSet( mixins.ListModelMi...
33.171053
88
0.673146
269
2,521
6.219331
0.304833
0.038852
0.030484
0.0789
0.486551
0.455469
0.438733
0.395696
0.367603
0.367603
0
0.001034
0.232844
2,521
75
89
33.613333
0.864012
0.176914
0
0.377778
0
0
0.037707
0.014463
0
0
0
0.013333
0
1
0.066667
false
0
0.111111
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d495055ae14964a5811572e87cb904236b3cffd3
7,808
py
Python
api/views.py
Apfirebolt/digifix-electronics-repair-service-portal-
087f656f850877b38434646559cfbeec4a33837f
[ "MIT" ]
null
null
null
api/views.py
Apfirebolt/digifix-electronics-repair-service-portal-
087f656f850877b38434646559cfbeec4a33837f
[ "MIT" ]
6
2021-04-08T21:39:19.000Z
2022-03-12T00:44:03.000Z
api/views.py
Apfirebolt/digifix-electronics-repair-service-portal-
087f656f850877b38434646559cfbeec4a33837f
[ "MIT" ]
null
null
null
from rest_framework.generics import ListAPIView, CreateAPIView, UpdateAPIView, DestroyAPIView from rest_framework.permissions import IsAuthenticated from django.shortcuts import get_object_or_404 from rest_framework.response import Response from . serializers import UserAddressSerializer, UserTestimonialSerializer, Cus...
32.945148
113
0.756788
699
7,808
8.294707
0.16166
0.067265
0.06209
0.083822
0.673163
0.667644
0.65833
0.569507
0.54605
0.54605
0
0.003673
0.163166
7,808
236
114
33.084746
0.883685
0.016906
0
0.711656
0
0
0.020206
0
0
0
0
0
0
1
0.08589
false
0
0.04908
0
0.803681
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d49561f68aa3c08302cffc83e28f6ed4bd192156
392
py
Python
src/ggrc/migrations/markdown/product.py
MikalaiMikalalai/ggrc-core
f0f83b3638574bb64de474f3b70ed27436ca812a
[ "ECL-2.0", "Apache-2.0" ]
1
2019-01-12T23:46:00.000Z
2019-01-12T23:46:00.000Z
src/ggrc/migrations/markdown/product.py
MikalaiMikalalai/ggrc-core
f0f83b3638574bb64de474f3b70ed27436ca812a
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/ggrc/migrations/markdown/product.py
MikalaiMikalalai/ggrc-core
f0f83b3638574bb64de474f3b70ed27436ca812a
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# Copyright (C) 2020 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> """Module for convert product attributes from html to markdown.""" from ggrc.migrations.markdown import scope class ProductConverter(scope.ScopeConverter): """Class for product converter.""" DEFINITI...
26.133333
78
0.747449
50
392
5.8
0.8
0.075862
0
0
0
0
0
0
0
0
0
0.017751
0.137755
392
14
79
28
0.840237
0.505102
0
0
0
0
0.120879
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d495d6e2dfb9af317a727d0149a5c30975b5817c
16,585
py
Python
sdk/storage/azure-storage-blob/azure/storage/blob/_lease.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
2,728
2015-01-09T10:19:32.000Z
2022-03-31T14:50:33.000Z
sdk/storage/azure-storage-blob/azure/storage/blob/_lease.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
17,773
2015-01-05T15:57:17.000Z
2022-03-31T23:50:25.000Z
sdk/storage/azure-storage-blob/azure/storage/blob/_lease.py
rsdoherty/azure-sdk-for-python
6bba5326677468e6660845a703686327178bb7b1
[ "MIT" ]
1,916
2015-01-19T05:05:41.000Z
2022-03-31T19:36:44.000Z
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- import uu...
49.954819
117
0.646307
2,170
16,585
4.856682
0.126728
0.018218
0.013284
0.021254
0.677199
0.65993
0.636208
0.633362
0.625202
0.625202
0
0.002871
0.285921
16,585
331
118
50.10574
0.887022
0.650588
0
0.576923
0
0
0.055847
0
0
0
0
0
0
1
0.076923
false
0
0.067308
0.009615
0.173077
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d4974647e253b4661fda27619eb7364a8a3d6cef
1,207
py
Python
habitat_sim/sensors/noise_models/sensor_noise_model.py
qureshinomaan/habitat-sim
df2540b658d0444e84bbc7a0c3fb995f8d523b52
[ "MIT" ]
null
null
null
habitat_sim/sensors/noise_models/sensor_noise_model.py
qureshinomaan/habitat-sim
df2540b658d0444e84bbc7a0c3fb995f8d523b52
[ "MIT" ]
null
null
null
habitat_sim/sensors/noise_models/sensor_noise_model.py
qureshinomaan/habitat-sim
df2540b658d0444e84bbc7a0c3fb995f8d523b52
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import abc from typing import Optional import attr from habitat_sim.sensor import SensorType @attr.s(auto_attribs=Tr...
27.431818
82
0.689312
163
1,207
5
0.533742
0.146012
0.04908
0.053988
0
0
0
0
0
0
0
0.001086
0.236951
1,207
43
83
28.069767
0.883822
0.504557
0
0.111111
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d49a44b5244194faf1e0d199ed2cc28d4dc40706
11,267
py
Python
appengine/isolate/handlers_frontend.py
amymariaparker2401/luci-py
c5902547adc12390df6b09c825a38370f1034e8b
[ "Apache-2.0" ]
null
null
null
appengine/isolate/handlers_frontend.py
amymariaparker2401/luci-py
c5902547adc12390df6b09c825a38370f1034e8b
[ "Apache-2.0" ]
1
2022-03-02T11:45:18.000Z
2022-03-02T11:45:18.000Z
appengine/isolate/handlers_frontend.py
Lees78/luci-py
7b854c55f63e648005ae8aa38e2e41cd8f99feda
[ "Apache-2.0" ]
1
2021-07-23T15:32:55.000Z
2021-07-23T15:32:55.000Z
# Copyright 2012 The LUCI Authors. All rights reserved. # Use of this source code is governed under the Apache License, Version 2.0 # that can be found in the LICENSE file. """This module defines Isolate Server frontend url handlers.""" import collections import datetime import json import logging import webapp2 im...
30.616848
80
0.666637
1,398
11,267
5.271102
0.301144
0.029312
0.018999
0.020356
0.226489
0.195278
0.158638
0.147917
0.138961
0.138961
0
0.011078
0.206799
11,267
367
81
30.700272
0.813472
0.128073
0
0.257353
0
0
0.183735
0.015275
0
0
0
0.002725
0
0
null
null
0.007353
0.0625
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d49ebde836a38e99364e3655ad6fb841a50fb6ca
1,977
py
Python
src/python/nimbusml/internal/entrypoints/_ensemblebinarysubmodelselector_bestperformanceselector.py
michaelgsharp/NimbusML
50031157265f49eec85d27fe67582d9ddaf01ef9
[ "MIT" ]
134
2018-11-01T22:15:24.000Z
2019-05-04T11:30:08.000Z
src/python/nimbusml/internal/entrypoints/_ensemblebinarysubmodelselector_bestperformanceselector.py
michaelgsharp/NimbusML
50031157265f49eec85d27fe67582d9ddaf01ef9
[ "MIT" ]
226
2019-05-07T19:00:44.000Z
2021-01-06T07:59:48.000Z
src/python/nimbusml/internal/entrypoints/_ensemblebinarysubmodelselector_bestperformanceselector.py
michaelgsharp/NimbusML
50031157265f49eec85d27fe67582d9ddaf01ef9
[ "MIT" ]
43
2019-05-15T20:19:42.000Z
2022-03-30T10:26:07.000Z
# - Generated by tools/entrypoint_compiler.py: do not edit by hand """ BestPerformanceSelector """ import numbers from ..utils.entrypoints import Component from ..utils.utils import try_set def best_performance_selector( metric_name='Auc', learners_selection_proportion=0.5, validation_datase...
30.415385
69
0.616591
199
1,977
5.934673
0.40201
0.020322
0.091448
0.043184
0.147333
0.101609
0.079594
0.079594
0.079594
0
0
0.007289
0.306019
1,977
64
70
30.890625
0.853499
0.255943
0
0.121951
1
0
0.147599
0.075565
0
0
0
0
0
1
0.02439
false
0
0.073171
0
0.121951
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d4a2d6fe6e937aa964e8fb1ad41f4460a1d8dd40
5,852
py
Python
stock/strategy/bb_index.py
shenzhongqiang/cnstock_py
2bb557657a646acb9d20d3ce78e15cf68390f8ea
[ "MIT" ]
2
2016-10-31T04:05:11.000Z
2017-04-17T08:46:53.000Z
stock/strategy/bb_index.py
shenzhongqiang/cnstock_py
2bb557657a646acb9d20d3ce78e15cf68390f8ea
[ "MIT" ]
null
null
null
stock/strategy/bb_index.py
shenzhongqiang/cnstock_py
2bb557657a646acb9d20d3ce78e15cf68390f8ea
[ "MIT" ]
null
null
null
import sys import numpy as np import pandas as pd import matplotlib.pyplot as plt from matplotlib.dates import date2num, WeekdayLocator, DateFormatter, MONDAY, MonthLocator, MO from stock.utils.symbol_util import * from stock.globalvar import * from stock.marketdata import * from stock.trade.order import * from stock.t...
36.347826
103
0.615858
855
5,852
4.11462
0.230409
0.027857
0.017055
0.018761
0.329164
0.27004
0.233371
0.208357
0.171404
0.13502
0
0.044275
0.216507
5,852
160
104
36.575
0.72301
0.116883
0
0.120301
0
0
0.072844
0
0
0
0
0
0
0
null
null
0
0.075188
null
null
0.007519
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d4a5243bd8c840190d0348d37147b8ccbd65a4e6
815
py
Python
ProgrammingBasicWithPython-KCL/Chapter-5/pqueue.py
mrmyothet/IPND
204e010f815fa10951daf38669a9323cb6b13147
[ "MIT" ]
1
2020-07-04T14:00:48.000Z
2020-07-04T14:00:48.000Z
ProgrammingBasicWithPython-KCL/Chapter-5/pqueue.py
mrmyothet/IPND
204e010f815fa10951daf38669a9323cb6b13147
[ "MIT" ]
20
2020-06-01T04:32:16.000Z
2020-09-14T07:18:54.000Z
ProgrammingBasicWithPython-KCL/Chapter-5/pqueue.py
mrmyothet/ipnd
204e010f815fa10951daf38669a9323cb6b13147
[ "MIT" ]
null
null
null
from pyqueue import Queue class PQueue: def __init__(self): self.items = {} def isEmpty(self): return len(self.items) == 0 def enqueue(self,item,priority = 0): if priority not in self.items: self.items[priority] = Queue() queue = self.items[priority] ...
30.185185
48
0.507975
94
815
4.361702
0.329787
0.219512
0.053659
0.107317
0
0
0
0
0
0
0
0.011881
0.380368
815
26
49
31.346154
0.8
0
0
0
0
0
0.001227
0
0
0
0
0
0
1
0.192308
false
0
0.038462
0.038462
0.423077
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d4a6ce4aaa480a7b12834423d49fb6c0971865a1
298
py
Python
api/migrations/0005_split_datetime_part2.py
tcarreira/jogging-tracker
a6415dcf4c7b9811a59e18f5948275dede2cecb6
[ "MIT" ]
1
2020-05-06T21:46:37.000Z
2020-05-06T21:46:37.000Z
api/migrations/0005_split_datetime_part2.py
tcarreira/jogging-tracker
a6415dcf4c7b9811a59e18f5948275dede2cecb6
[ "MIT" ]
1
2021-04-13T13:25:20.000Z
2021-04-13T13:25:20.000Z
api/migrations/0005_split_datetime_part2.py
tcarreira/jogging-tracker
a6415dcf4c7b9811a59e18f5948275dede2cecb6
[ "MIT" ]
1
2020-05-07T10:16:52.000Z
2020-05-07T10:16:52.000Z
from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("api", "0005_split_datetime_part1"), ] operations = [ migrations.AlterField( model_name="activity", name="date", field=models.DateField(), ), ]
19.866667
73
0.614094
27
298
6.62963
0.814815
0
0
0
0
0
0
0
0
0
0
0.022727
0.261745
298
14
74
21.285714
0.790909
0
0
0
0
0
0.134228
0.083893
0
0
0
0
0
1
0
false
0
0.1
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d4a7d272d82131326cd5b189ab7c5df2c1540851
1,011
py
Python
pyenzyme/enzymeml/core/enzymemlbase.py
HannahDi/PyEnzyme
afbd03ab65445b2411307613c9a3cd7ab8ea4ae7
[ "BSD-2-Clause" ]
7
2020-10-28T22:04:56.000Z
2022-03-01T12:23:57.000Z
pyenzyme/enzymeml/core/enzymemlbase.py
HannahDi/PyEnzyme
afbd03ab65445b2411307613c9a3cd7ab8ea4ae7
[ "BSD-2-Clause" ]
33
2021-05-18T15:17:05.000Z
2022-03-29T13:59:57.000Z
pyenzyme/enzymeml/core/enzymemlbase.py
HannahDi/PyEnzyme
afbd03ab65445b2411307613c9a3cd7ab8ea4ae7
[ "BSD-2-Clause" ]
8
2020-10-27T13:31:06.000Z
2022-03-20T10:40:56.000Z
''' File: baseclass.py Project: core Author: Jan Range License: BSD-2 clause ----- Last Modified: Tuesday June 15th 2021 7:48:31 pm Modified By: Jan Range (<jan.range@simtech.uni-stuttgart.de>) ----- Copyright (c) 2021 Institute of Biochemistry and Technical Biochemistry Stuttgart ''' from pyenzyme.enzymeml.core.funct...
21.978261
81
0.649852
116
1,011
5.525862
0.534483
0.054602
0.043682
0
0
0
0
0
0
0
0
0.021192
0.253215
1,011
45
82
22.466667
0.827815
0.273986
0
0
0
0
0
0
0
0
0
0
0
1
0.291667
false
0
0.041667
0.083333
0.458333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d4a9d8fc782040bd8e35ff358d15e764ddc73398
289
py
Python
my_tt/tasks/__init__.py
tanproject/tantan
9d6653f07be0f6d1d8726cce15789e4fae729725
[ "Apache-2.0" ]
null
null
null
my_tt/tasks/__init__.py
tanproject/tantan
9d6653f07be0f6d1d8726cce15789e4fae729725
[ "Apache-2.0" ]
1
2020-10-05T07:58:24.000Z
2020-10-05T07:58:24.000Z
my_tt/tasks/__init__.py
tanproject/tantan
9d6653f07be0f6d1d8726cce15789e4fae729725
[ "Apache-2.0" ]
null
null
null
import os from celery import Celery,platforms from tasks import config platforms.C_FORCE_ROOT = True # 加上这一行 os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'my_tt.settings') celery_app = Celery('tasks') celery_app.config_from_object(config) celery_app.autodiscover_tasks()
24.083333
66
0.785467
40
289
5.4
0.55
0.125
0
0
0
0
0
0
0
0
0
0
0.128028
289
11
67
26.272727
0.857143
0.017301
0
0
0
0
0.151292
0.081181
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d4aaeba990c6f599cea4af566047b3b1840ce9b6
516
py
Python
babybuddy/settings/render.py
bugbountyguy/babybuddy
7178bf9fa4b05ca8db2c31ac5285d651b46a905d
[ "BSD-2-Clause" ]
922
2017-10-26T13:15:40.000Z
2020-02-05T19:06:13.000Z
babybuddy/settings/render.py
bugbountyguy/babybuddy
7178bf9fa4b05ca8db2c31ac5285d651b46a905d
[ "BSD-2-Clause" ]
109
2017-10-26T14:00:30.000Z
2020-02-05T23:37:11.000Z
babybuddy/settings/render.py
bugbountyguy/babybuddy
7178bf9fa4b05ca8db2c31ac5285d651b46a905d
[ "BSD-2-Clause" ]
87
2017-10-26T13:15:54.000Z
2020-01-25T12:49:46.000Z
import dj_database_url from .base import * RENDER_EXTERNAL_HOSTNAME = os.environ.get("RENDER_EXTERNAL_HOSTNAME") if RENDER_EXTERNAL_HOSTNAME: ALLOWED_HOSTS.append(RENDER_EXTERNAL_HOSTNAME) CSRF_TRUSTED_ORIGINS.append("".join(["https://", RENDER_EXTERNAL_HOSTNAME])) # Database # https://docs.djangoproject.co...
25.8
80
0.75
63
516
5.84127
0.650794
0.190217
0.298913
0
0
0
0
0
0
0
0
0.019912
0.124031
516
19
81
27.157895
0.794248
0.133721
0
0
0
0
0.21219
0.17833
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d4af50d1149430ea68ea36f41107c4a402057603
600
py
Python
georef_ar_etl/excluding_terms.py
datosgobar/georef
7202acedcebe4705dccf1fde622e9b3b35d92cb5
[ "MIT" ]
5
2018-10-03T18:36:50.000Z
2022-01-05T20:59:07.000Z
georef_ar_etl/excluding_terms.py
datosgobar/georef-ar-etl
7202acedcebe4705dccf1fde622e9b3b35d92cb5
[ "MIT" ]
34
2018-10-03T18:13:46.000Z
2019-05-31T18:54:49.000Z
georef_ar_etl/excluding_terms.py
datosgobar/georef
7202acedcebe4705dccf1fde622e9b3b35d92cb5
[ "MIT" ]
2
2019-12-09T16:39:45.000Z
2020-10-30T02:10:19.000Z
import os from .process import Process from . import constants, utils def create_process(config): filename = 'terminos-excluyentes-nombres.txt' def get_excluding_terms_file_path(_): return os.path.abspath(os.path.join(constants.DATA_DIR, filename)) return Process(constants.EXCLUDING_TERMS, [ ...
31.578947
74
0.65
67
600
5.537313
0.507463
0.150943
0.137466
0.169811
0.202156
0
0
0
0
0
0
0
0.26
600
18
75
33.333333
0.835586
0
0
0
0
0
0.133333
0.101667
0
0
0
0
0
1
0.142857
false
0
0.214286
0.071429
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d4af6b49f1120098d2cad602c06c24981ad61d95
6,429
py
Python
src/config/api-server/vnc_cfg_api_server/tests/test_subnet_ip_count.py
pawelzny/contrail-controller
4950d3144cb8c422264ddb2a926cf4fe9e40b14d
[ "Apache-2.0" ]
null
null
null
src/config/api-server/vnc_cfg_api_server/tests/test_subnet_ip_count.py
pawelzny/contrail-controller
4950d3144cb8c422264ddb2a926cf4fe9e40b14d
[ "Apache-2.0" ]
null
null
null
src/config/api-server/vnc_cfg_api_server/tests/test_subnet_ip_count.py
pawelzny/contrail-controller
4950d3144cb8c422264ddb2a926cf4fe9e40b14d
[ "Apache-2.0" ]
null
null
null
# # Copyright (c) 2013,2014 Juniper Networks, Inc. All rights reserved. # import os import sys import socket import errno import uuid import logging import testtools from testtools.matchers import Equals, MismatchError, Not, Contains from testtools import content, content_type, ExpectedException import unittest import...
36.948276
80
0.694198
893
6,429
4.671893
0.198208
0.050336
0.071908
0.069271
0.495925
0.404602
0.271093
0.251438
0.20302
0.143097
0
0.028425
0.212008
6,429
173
81
37.16185
0.795105
0.035775
0
0.102941
0
0.007353
0.110968
0
0
0
0
0
0
0
null
null
0
0.176471
null
null
0.154412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d4b601479632439cb6864db9c16079c51a17250e
3,468
py
Python
tests/lib/test_hash.py
marpme/electrumx
c3f5b93e5b81e7d2fad81852a207912b64680cdc
[ "MIT" ]
8
2017-06-23T10:11:34.000Z
2020-09-18T14:13:52.000Z
tests/lib/test_hash.py
marpme/electrumx
c3f5b93e5b81e7d2fad81852a207912b64680cdc
[ "MIT" ]
5
2018-11-16T14:06:30.000Z
2019-08-30T14:05:08.000Z
tests/lib/test_hash.py
marpme/electrumx
c3f5b93e5b81e7d2fad81852a207912b64680cdc
[ "MIT" ]
9
2020-06-28T08:14:48.000Z
2021-11-16T11:38:34.000Z
# # Tests of lib/hash.py # from functools import partial import pytest import electrumx.lib.hash as lib_hash def test_sha256(): assert lib_hash.sha256(b'sha256') == b'][\t\xf6\xdc\xb2\xd5:_\xff\xc6\x0cJ\xc0\xd5_\xab\xdfU`i\xd6c\x15E\xf4*\xa6\xe3P\x0f.' with pytest.raises(TypeError): lib_hash.sha256(...
40.325581
221
0.707612
512
3,468
4.578125
0.322266
0.104522
0.094283
0.085324
0.406143
0.320392
0.206058
0.206058
0.110495
0.090444
0
0.122428
0.14504
3,468
85
222
40.8
0.668128
0.005767
0
0.215385
0
0.092308
0.275842
0.20935
0
0
0
0
0.261538
1
0.215385
false
0
0.046154
0
0.261538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d4b84a288872c9f69aa80f8889ba5630e4e29ee7
6,222
py
Python
spotify_dl/youtube.py
tonyd33/spotify-dl
f453ad8e9ab3de45064045bfb8e7ae46434e31eb
[ "MIT" ]
1
2021-03-30T06:29:18.000Z
2021-03-30T06:29:18.000Z
spotify_dl/youtube.py
tonyd33/spotify-dl
f453ad8e9ab3de45064045bfb8e7ae46434e31eb
[ "MIT" ]
null
null
null
spotify_dl/youtube.py
tonyd33/spotify-dl
f453ad8e9ab3de45064045bfb8e7ae46434e31eb
[ "MIT" ]
null
null
null
import urllib.request from os import path import re import youtube_dl from mutagen.easyid3 import EasyID3 from mutagen.id3 import APIC, ID3 from mutagen.mp3 import MP3 from mutagen import MutagenError from spotify_dl.scaffold import log from spotify_dl.utils import sanitize def validate_youtube_url(url): # TODO...
42.910345
123
0.546448
707
6,222
4.628006
0.24611
0.03423
0.023533
0.011002
0.206601
0.183985
0.1522
0.136919
0.117971
0.097188
0
0.011658
0.324494
6,222
144
124
43.208333
0.766833
0.089521
0
0.221311
0
0.016393
0.190222
0.020089
0
0
0
0.013889
0
1
0.02459
false
0
0.081967
0.008197
0.131148
0.02459
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d4b86205d934a42dc127ef43d8a4941c7190c780
718
py
Python
getconfig.py
mkseth4774/ine-guide-to-network-programmability-python-course-files
35c49dfcf8e8f1b69435987a00fb9a236b803d9f
[ "MIT" ]
null
null
null
getconfig.py
mkseth4774/ine-guide-to-network-programmability-python-course-files
35c49dfcf8e8f1b69435987a00fb9a236b803d9f
[ "MIT" ]
null
null
null
getconfig.py
mkseth4774/ine-guide-to-network-programmability-python-course-files
35c49dfcf8e8f1b69435987a00fb9a236b803d9f
[ "MIT" ]
null
null
null
## ## import getpass import pexpect import time username = input('Please enter your username: ') password = getpass.getpass('Enter your secret password: ') ip = input('Enter IP address of the device to which you wish to connect: ') ccr = input('Enter your CCR number: ') dateandtime = time.strftime('%m.%d.%Y_%H:%M:%S'...
25.642857
75
0.671309
99
718
4.808081
0.555556
0.092437
0.067227
0.10084
0
0
0
0
0
0
0
0.006504
0.143454
718
27
76
26.592593
0.76748
0.019499
0
0.157895
0
0
0.32518
0
0
0
0
0
0
1
0
false
0.210526
0.157895
0
0.157895
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d4b9ad2358ee2fa3c9c6131dba8aa5c7b33d3dc9
370
py
Python
scripts/show_images.py
iamgroot42/cleverhans
53da9cd6daf9d7457800831c3eaa75f729a39145
[ "MIT" ]
21
2019-06-07T17:05:30.000Z
2022-02-07T03:25:15.000Z
scripts/show_images.py
iamgroot42/cleverhans
53da9cd6daf9d7457800831c3eaa75f729a39145
[ "MIT" ]
1
2021-03-01T15:06:09.000Z
2021-03-01T15:06:09.000Z
scripts/show_images.py
iamgroot42/cleverhans
53da9cd6daf9d7457800831c3eaa75f729a39145
[ "MIT" ]
8
2019-06-11T03:06:29.000Z
2022-01-18T04:18:27.000Z
#!/usr/bin/env python3 """ Loads an ndarray containing a batch of images and displays it. Usage: show_images.py file.npy """ import sys import numpy as np from cleverhans.plot.image import show, make_grid # pylint has a bug here, thinks sys.argv is empty _, path = sys.argv # pylint: disable=E0632 image_batch = np.load...
20.555556
62
0.751351
63
370
4.31746
0.68254
0.058824
0
0
0
0
0
0
0
0
0
0.015924
0.151351
370
17
63
21.764706
0.850318
0.5
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d4b9d94d30d0926a0b4ca11c96cc69904b3c7322
2,469
py
Python
sms_base/models/verification_record.py
13611843966/odooExtModel
a4a5e6c22560604d1186fcfb0f1843c6e37f2792
[ "Apache-2.0" ]
null
null
null
sms_base/models/verification_record.py
13611843966/odooExtModel
a4a5e6c22560604d1186fcfb0f1843c6e37f2792
[ "Apache-2.0" ]
null
null
null
sms_base/models/verification_record.py
13611843966/odooExtModel
a4a5e6c22560604d1186fcfb0f1843c6e37f2792
[ "Apache-2.0" ]
1
2022-02-03T01:16:27.000Z
2022-02-03T01:16:27.000Z
# -*- coding: utf-8 -*- import logging from odoo import api, fields, models import datetime _logger = logging.getLogger(__name__) class SmsVerificationRecord(models.Model): _description = '验证码记录' _name = 'sms.verification.record' _rec_name = 'sid' _order = 'id' RECORDTYPE = [ ('login', ...
40.47541
113
0.678817
303
2,469
5.39934
0.336634
0.060513
0.08802
0.126528
0.416259
0.385697
0.367359
0.367359
0.367359
0.253667
0
0.005764
0.156744
2,469
60
114
41.15
0.780019
0.008505
0
0.125
0
0
0.154129
0.009403
0
0
0
0
0
1
0.020833
false
0.020833
0.0625
0
0.791667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1