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
b4377b7a5b7704e64ec90356aa1c9a1687329e0b
721
gyp
Python
binding.gyp
lideming/fuse-native
93da28075f6043396f8a506ee7e9ad9c6229e87c
[ "MIT" ]
181
2019-07-10T05:26:42.000Z
2022-02-28T17:55:17.000Z
binding.gyp
lideming/fuse-native
93da28075f6043396f8a506ee7e9ad9c6229e87c
[ "MIT" ]
30
2019-12-04T14:49:35.000Z
2021-11-04T13:56:18.000Z
binding.gyp
lideming/fuse-native
93da28075f6043396f8a506ee7e9ad9c6229e87c
[ "MIT" ]
21
2019-09-21T07:47:33.000Z
2022-03-22T12:36:04.000Z
{ "targets": [{ "target_name": "fuse", "include_dirs": [ "<!(node -e \"require('napi-macros')\")", "<!(node -e \"require('fuse-shared-library/include')\")", ], "libraries": [ "<!(node -e \"require('fuse-shared-library/lib')\")", ], "sources": [ "fuse-native.c" ], ...
20.027778
72
0.428571
60
721
5.066667
0.566667
0.065789
0.157895
0.157895
0.305921
0.305921
0.210526
0
0
0
0
0.003992
0.305132
721
35
73
20.6
0.602794
0
0
0.342857
0
0
0.460472
0.101248
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
b4384a71e989736a5aad832a2cad5ce866a8c0c2
700
py
Python
sequence_server_wrapper/examples/example_threading_client.py
vstadnytskyi/sequence-server-wrapper
1ee23638752a969f51b11a65a3b7652874efe8c5
[ "BSD-3-Clause" ]
null
null
null
sequence_server_wrapper/examples/example_threading_client.py
vstadnytskyi/sequence-server-wrapper
1ee23638752a969f51b11a65a3b7652874efe8c5
[ "BSD-3-Clause" ]
null
null
null
sequence_server_wrapper/examples/example_threading_client.py
vstadnytskyi/sequence-server-wrapper
1ee23638752a969f51b11a65a3b7652874efe8c5
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 from caproto.threading.client import Context prefix = 'TEST:SERVER.' ctx = Context() CMD, = ctx.get_pvs(prefix+'seq.CMD') ACK, = ctx.get_pvs(prefix+'seq.ACK') message, = ctx.get_pvs(prefix+'seq.message') values, = ctx.get_pvs(prefix+'seq.values') example_pv, = ctx.get_pvs(prefix+'example_pv') VA...
33.333333
93
0.675714
95
700
4.810526
0.442105
0.078775
0.118162
0.196937
0.157549
0
0
0
0
0
0
0.001675
0.147143
700
20
94
35
0.763819
0.03
0
0
0
0
0.19469
0
0
0
0
0
0
1
0
false
0
0.235294
0
0.235294
0.058824
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
b43900da08dd1169d137dd3ea0951a44f551a91d
200
py
Python
testapp/post/templatetags/post_tags.py
FranciscodeMaussion/django-flag-app
1c556ddf3982bed337017085f755fb6e0bac3495
[ "MIT" ]
13
2020-11-11T09:22:55.000Z
2022-03-05T11:01:14.000Z
testapp/post/templatetags/post_tags.py
FranciscodeMaussion/django-flag-app
1c556ddf3982bed337017085f755fb6e0bac3495
[ "MIT" ]
24
2021-03-09T03:34:41.000Z
2021-10-14T12:25:37.000Z
testapp/post/templatetags/post_tags.py
FranciscodeMaussion/django-flag-app
1c556ddf3982bed337017085f755fb6e0bac3495
[ "MIT" ]
8
2021-01-05T14:03:23.000Z
2022-02-28T20:00:32.000Z
from django import template register = template.Library() @register.simple_tag(name='render_field') def render_field(field, **kwargs): field.field.widget.attrs.update(kwargs) return field
18.181818
43
0.755
26
200
5.692308
0.653846
0.148649
0
0
0
0
0
0
0
0
0
0
0.13
200
10
44
20
0.850575
0
0
0
0
0
0.06
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b4394e20f7e1c5eb61676971c0a60fdda166224e
368
py
Python
setup.py
tehmaze/capture
54f046499e416980b19ad7b4547a70531ff98449
[ "MIT" ]
1
2017-05-04T09:33:07.000Z
2017-05-04T09:33:07.000Z
setup.py
tehmaze/capture
54f046499e416980b19ad7b4547a70531ff98449
[ "MIT" ]
null
null
null
setup.py
tehmaze/capture
54f046499e416980b19ad7b4547a70531ff98449
[ "MIT" ]
null
null
null
from distutils.core import setup, Extension setup( name = 'capture', version = '0.1', author = 'Wijnand Modderman', author_email = 'maze@pyth0n.org', description = 'Capture stdout and/or stderr', license = 'MIT', keywords = 'capture stdout stderr write read', ...
23
54
0.557065
36
368
5.666667
0.805556
0.127451
0
0
0
0
0
0
0
0
0
0.012097
0.326087
368
15
55
24.533333
0.810484
0
0
0
0
0
0.305177
0
0
0
0
0
0
1
0
true
0
0.076923
0
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
1
0
0
0
0
0
0
1
b43b685f1e01b39ab3fcca9bdfb82b81391fd294
703
py
Python
ensaio/__init__.py
fatiando/ensaio
399c397d22cc22f7ce7167ae28fb3beec34777d3
[ "BSD-3-Clause" ]
2
2022-01-24T06:10:24.000Z
2022-03-30T00:30:20.000Z
ensaio/__init__.py
fatiando/ensaio
399c397d22cc22f7ce7167ae28fb3beec34777d3
[ "BSD-3-Clause" ]
10
2021-12-15T10:18:24.000Z
2022-03-29T05:14:54.000Z
ensaio/__init__.py
fatiando/ensaio
399c397d22cc22f7ce7167ae28fb3beec34777d3
[ "BSD-3-Clause" ]
1
2022-03-30T00:30:28.000Z
2022-03-30T00:30:28.000Z
# Copyright (c) 2021 The Ensaio Developers. # Distributed under the terms of the BSD 3-Clause License. # SPDX-License-Identifier: BSD-3-Clause # # This code is part of the Fatiando a Terra project (https://www.fatiando.org) # # Import functions/classes to make the public API from ._fetchers import ( fetch_alps_gps,...
29.291667
78
0.775249
92
703
5.554348
0.630435
0.07045
0.039139
0
0
0
0
0
0
0
0
0.010221
0.165007
703
23
79
30.565217
0.860307
0.371266
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
b44337d880d1f4b1fc92e980ef7b80e34101929c
608
py
Python
crafter/__init__.py
footoredo/crafter
918c77a188f9fca397f631d5fe43a7406dcf1f43
[ "MIT" ]
null
null
null
crafter/__init__.py
footoredo/crafter
918c77a188f9fca397f631d5fe43a7406dcf1f43
[ "MIT" ]
null
null
null
crafter/__init__.py
footoredo/crafter
918c77a188f9fca397f631d5fe43a7406dcf1f43
[ "MIT" ]
null
null
null
from .env import Env from .recorder import Recorder try: import gym gym.register( id='CrafterReward-v1', entry_point='crafter:Env', max_episode_steps=10000, kwargs={'reward': True}) gym.register( id='CrafterNoReward-v1', entry_point='crafter:Env', ma...
25.333333
72
0.629934
66
608
5.636364
0.454545
0.08871
0.104839
0.153226
0.456989
0.456989
0.456989
0.456989
0.456989
0.456989
0
0.039474
0.25
608
23
73
26.434783
0.776316
0
0
0.428571
0
0
0.238487
0.046053
0
0
0
0
0
1
0
true
0.047619
0.190476
0
0.190476
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
b443cd1da57bcf5f85dcfd6c638445de83c62587
1,382
py
Python
alipay/aop/api/response/AlipayOverseasTravelShopSyncResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
213
2018-08-27T16:49:32.000Z
2021-12-29T04:34:12.000Z
alipay/aop/api/response/AlipayOverseasTravelShopSyncResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
29
2018-09-29T06:43:00.000Z
2021-09-02T03:27:32.000Z
alipay/aop/api/response/AlipayOverseasTravelShopSyncResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
59
2018-08-27T16:59:26.000Z
2022-03-25T10:08:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AlipayOverseasTravelShopSyncResponse(AlipayResponse): def __init__(self): super(AlipayOverseasTravelShopSyncResponse, self).__init__() self._shop_biz_status = None ...
30.043478
109
0.69754
169
1,382
5.301775
0.213018
0.070313
0.13058
0.075893
0.084821
0
0
0
0
0
0
0.000929
0.220695
1,382
45
110
30.711111
0.831012
0.030391
0
0.088235
0
0
0.058296
0
0
0
0
0
0
1
0.235294
false
0
0.058824
0.088235
0.411765
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
b44415f995d0b08b98c6327446fd95bcb58f19f5
902
py
Python
Problem/Problem.py
yudun/kanalearner
2013d95949be95c3254a172cc1da884f7bf6a6a0
[ "MIT" ]
1
2019-05-05T06:27:56.000Z
2019-05-05T06:27:56.000Z
Problem/Problem.py
yudun/kanalearner
2013d95949be95c3254a172cc1da884f7bf6a6a0
[ "MIT" ]
null
null
null
Problem/Problem.py
yudun/kanalearner
2013d95949be95c3254a172cc1da884f7bf6a6a0
[ "MIT" ]
null
null
null
from enum import Enum class ProblemType(Enum): HIRAGANA_TO_KATAKANA = 1 KATAKANA_TO_HIRAGANA = 2 PROUNCIATION_TO_HIRAGANA = 3 PROUNCIATION_TO_KATAKANA = 4 TO_PROUNCIATION = 5 class Problem(object): PROMPT_TEMPLATE_MAP = { ProblemType.TO_PROUNCIATION: 'Say {}:', ProblemType.KA...
29.096774
80
0.691796
103
902
5.699029
0.330097
0.068143
0.061329
0.074957
0.207836
0.122658
0
0
0
0
0
0.007102
0.219512
902
30
81
30.066667
0.826705
0
0
0
0
0
0.100887
0
0
0
0
0
0
1
0.130435
false
0.043478
0.043478
0.043478
0.565217
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b448125a3d1e45c9f58f68058c144e039ab3b1bd
2,484
py
Python
openstack/tests/unit/block_storage/v3/test_type_encryption.py
anton-sidelnikov/openstacksdk
98f0c67120b65814c3bd1663415e302551a14536
[ "Apache-2.0" ]
null
null
null
openstack/tests/unit/block_storage/v3/test_type_encryption.py
anton-sidelnikov/openstacksdk
98f0c67120b65814c3bd1663415e302551a14536
[ "Apache-2.0" ]
null
null
null
openstack/tests/unit/block_storage/v3/test_type_encryption.py
anton-sidelnikov/openstacksdk
98f0c67120b65814c3bd1663415e302551a14536
[ "Apache-2.0" ]
null
null
null
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
40.064516
79
0.71256
337
2,484
5.077151
0.409496
0.122735
0.111046
0.12858
0.132087
0.054939
0.054939
0.054939
0
0
0
0.044046
0.168277
2,484
61
80
40.721311
0.784124
0.210145
0
0.047619
0
0
0.230256
0.103077
0
0
0
0
0.452381
1
0.071429
false
0
0.047619
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
b44b7c529a018e0fd65b31f41a023b52f9954dc7
5,200
py
Python
scripts/calculateKappa.py
NockLabHarvard/Valinor
14977db3c6d07139b5c2c76691ddf6fd2d33b06e
[ "Unlicense" ]
null
null
null
scripts/calculateKappa.py
NockLabHarvard/Valinor
14977db3c6d07139b5c2c76691ddf6fd2d33b06e
[ "Unlicense" ]
null
null
null
scripts/calculateKappa.py
NockLabHarvard/Valinor
14977db3c6d07139b5c2c76691ddf6fd2d33b06e
[ "Unlicense" ]
null
null
null
# Script to accept as input two .xlsx files and # calculate the inter-rater kappa agreement values # # The input files should have only 1 sheet # The code column should be named 'Code' # The instance number column should be labeled 'Segment' # # author: Karthik Dinakar # affliation: MIT Media Lab & Nock Lab, Harvard ...
39.097744
461
0.678654
736
5,200
4.76087
0.351902
0.025114
0.005137
0.005708
0.086187
0.07363
0.07363
0.058219
0.058219
0.058219
0
0.007925
0.199231
5,200
132
462
39.393939
0.833573
0.300385
0
0.076923
0
0
0.142581
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.028846
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
b44e4a9efad93584805eaa76456e04fcce925c9d
1,061
py
Python
comment_reply.py
imml3457/RedditReplyBot
4050ebef882d2dd85c8f1f3496cedfc56fe35331
[ "MIT" ]
null
null
null
comment_reply.py
imml3457/RedditReplyBot
4050ebef882d2dd85c8f1f3496cedfc56fe35331
[ "MIT" ]
null
null
null
comment_reply.py
imml3457/RedditReplyBot
4050ebef882d2dd85c8f1f3496cedfc56fe35331
[ "MIT" ]
null
null
null
#!/usr/bin/python import praw import pdb import re import os from datetime import date today = str(date.today()) today2 = "The current date is: " + today reddit = praw.Reddit('bot1') if not os.path.isfile("comments_replied_to.txt"): comments_replied_to = [] else: with open("comments_replied_...
25.878049
76
0.578699
134
1,061
4.38806
0.425373
0.183673
0.289116
0.068027
0
0
0
0
0
0
0
0.004115
0.312912
1,061
40
77
26.525
0.802469
0.01508
0
0
0
0
0.133466
0.045817
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.04
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
b451487f15ab6120eb0d8548df4f0621080d7fdf
2,936
py
Python
python/coursera_python/MICHIGAN/WEB/week6/json_1.py
SayanGhoshBDA/code-backup
8b6135facc0e598e9686b2e8eb2d69dd68198b80
[ "MIT" ]
16
2018-11-26T08:39:42.000Z
2019-05-08T10:09:52.000Z
python/coursera_python/MICHIGAN/WEB/week6/json_1.py
SayanGhoshBDA/code-backup
8b6135facc0e598e9686b2e8eb2d69dd68198b80
[ "MIT" ]
8
2020-05-04T06:29:26.000Z
2022-02-12T05:33:16.000Z
python/coursera_python/MICHIGAN/WEB/week6/json_1.py
SayanGhoshBDA/code-backup
8b6135facc0e598e9686b2e8eb2d69dd68198b80
[ "MIT" ]
5
2020-02-11T16:02:21.000Z
2021-02-05T07:48:30.000Z
import json data = ''' [ { "name":"Sister", "count":95 }, { "name":"Sidharth", "count":94 }, { "name":"Ilona", "count":93 }, { "name":"Ruairidh", "count":93 }, { "name":"Virginie", "count":92 }, { "name":"Alan...
13.048889
32
0.347752
242
2,936
4.219008
0.454545
0.020568
0.032321
0
0
0
0
0
0
0
0
0.061091
0.425749
2,936
224
33
13.107143
0.544484
0
0
0.069444
0
0
0.927378
0
0
0
0
0
0
1
0
false
0
0.00463
0
0.00463
0.023148
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b452f1120d5a58ed7a1396df3a08bd9345fc3276
4,817
py
Python
examples/seq2seq/input_pipeline.py
NeilGirdhar/flax
34790f549717104a2bafb87e847959687e4e4de2
[ "Apache-2.0" ]
null
null
null
examples/seq2seq/input_pipeline.py
NeilGirdhar/flax
34790f549717104a2bafb87e847959687e4e4de2
[ "Apache-2.0" ]
null
null
null
examples/seq2seq/input_pipeline.py
NeilGirdhar/flax
34790f549717104a2bafb87e847959687e4e4de2
[ "Apache-2.0" ]
null
null
null
# Copyright 2022 The Flax Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
33.22069
81
0.684451
716
4,817
4.427374
0.28352
0.024606
0.02429
0.035331
0.100315
0.082019
0.082019
0.066877
0.04795
0.027129
0
0.011658
0.198671
4,817
144
82
33.451389
0.809585
0.31119
0
0.08046
0
0
0.022257
0.008037
0
0
0
0.006944
0
1
0.206897
false
0
0.045977
0.045977
0.448276
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
b453a2eabbe82083d01eba5963243ed7a966473e
3,082
py
Python
data/test.py
hablix/unilinks
3b4f71de07f8da6644d82a7ba0104f15689cf40e
[ "Unlicense" ]
null
null
null
data/test.py
hablix/unilinks
3b4f71de07f8da6644d82a7ba0104f15689cf40e
[ "Unlicense" ]
null
null
null
data/test.py
hablix/unilinks
3b4f71de07f8da6644d82a7ba0104f15689cf40e
[ "Unlicense" ]
null
null
null
#!/usr/bin/python3 import unittest import json from jsonschema import validate indexschema = { "title":"JSon schema for index file.", "type":"array", "items":{ "type":"object", "properties":{ ...
37.13253
83
0.26379
165
3,082
4.872727
0.393939
0.062189
0.052239
0.067164
0.126866
0.126866
0
0
0
0
0
0.00362
0.641467
3,082
82
84
37.585366
0.723982
0.005516
0
0.25
0
0
0.11064
0
0
0
0
0
0.013889
1
0.069444
false
0
0.041667
0
0.138889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b456e3f78256e8cbf6ae54bbd611bac261bd2b8e
97,970
py
Python
g.py
ChaoYue/pylsce
35c444e5bd49512a52b910f16eaa821672ffa25b
[ "BSD-3-Clause" ]
2
2015-01-26T20:25:25.000Z
2018-12-05T11:07:14.000Z
g.py
ChaoYue/pylsce
35c444e5bd49512a52b910f16eaa821672ffa25b
[ "BSD-3-Clause" ]
1
2015-01-26T21:06:08.000Z
2015-01-26T21:09:57.000Z
g.py
ChaoYue/pylsce
35c444e5bd49512a52b910f16eaa821672ffa25b
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import matplotlib import matplotlib as mat import matplotlib.pyplot as plt import numpy as np import pandas as pa import pickle as pk import mathex as mathex import os as os import re as re import scipy as sp import mpl_toolkits.basemap as bmp from mpl_toolkits.basemap import cm import pdb import...
37.378863
232
0.617352
14,005
97,970
4.213924
0.110104
0.004134
0.003101
0.002643
0.434391
0.378999
0.343449
0.313254
0.289803
0.276349
0
0.067763
0.243983
97,970
2,620
233
37.39313
0.729029
0.060233
0
0.304552
0
0.001339
0.093619
0.002139
0
0
0
0
0
0
null
null
0.018072
0.013387
null
null
0.006024
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
b4595ea5d5fabdadd7bf09740fd4dbb041a92c71
1,500
py
Python
twitter-stanza/stanza/utils/default_paths.py
social-machines/TweebankNLP
350dc972b994899dee7b8689f4f9d065d587610a
[ "Apache-2.0" ]
75
2022-01-18T18:57:44.000Z
2022-03-30T02:36:29.000Z
twitter-stanza/stanza/utils/default_paths.py
social-machines/TweebankNLP
350dc972b994899dee7b8689f4f9d065d587610a
[ "Apache-2.0" ]
null
null
null
twitter-stanza/stanza/utils/default_paths.py
social-machines/TweebankNLP
350dc972b994899dee7b8689f4f9d065d587610a
[ "Apache-2.0" ]
4
2022-01-19T03:46:37.000Z
2022-02-17T13:47:06.000Z
import os def get_default_paths(): """ Gets base paths for the data directories If DATA_ROOT is set in the environment, use that as the root otherwise use "./data" individual paths can also be set in the environment """ DATA_ROOT = os.environ.get("DATA_ROOT", "data") defaults = { ...
34.090909
72
0.628
196
1,500
4.586735
0.428571
0.133482
0.110122
0.150167
0
0
0
0
0
0
0
0.000898
0.257333
1,500
43
73
34.883721
0.806104
0.33
0
0
0
0
0.366255
0.056584
0
0
0
0.023256
0
1
0.043478
false
0
0.043478
0
0.130435
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
b459acd9974984e6fe9383d351e8ffcf81cb5630
779
py
Python
Level1/Lessons42576/minari-42576.py
StudyForCoding/ProgrammersLevel
dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25
[ "MIT" ]
null
null
null
Level1/Lessons42576/minari-42576.py
StudyForCoding/ProgrammersLevel
dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25
[ "MIT" ]
null
null
null
Level1/Lessons42576/minari-42576.py
StudyForCoding/ProgrammersLevel
dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25
[ "MIT" ]
1
2021-04-05T07:35:59.000Z
2021-04-05T07:35:59.000Z
```python #마라톤에 참여한 선수 : participant , 완주한 선수 : completion #한 명만! 완주를 하지 못했더 한명만! #1.participant 정렬하고 completion 정렬하고 두개가 같다면 빼면 안돼? #2.return : 완주x 선수이름 ( participant - completion ) def solution(participant,completion): participant.sort() completion.sort() for i in range(len(completion)): #range(len(comple...
51.933333
162
0.70475
123
779
4.463415
0.617886
0.10929
0.098361
0
0
0
0
0
0
0
0
0.00624
0.17715
779
15
163
51.933333
0.850234
0.595635
0
0
0
0
0.061489
0
0
0
0
0
0
0
null
null
0
0
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
b45c3d71b99eac4d49cd35e3271388d067f9205e
2,195
py
Python
tests/grammar.py
formerly-a-trickster/peg-leg
492e7653ba47af907566ebbc9ec8066764c1b96a
[ "Unlicense" ]
null
null
null
tests/grammar.py
formerly-a-trickster/peg-leg
492e7653ba47af907566ebbc9ec8066764c1b96a
[ "Unlicense" ]
null
null
null
tests/grammar.py
formerly-a-trickster/peg-leg
492e7653ba47af907566ebbc9ec8066764c1b96a
[ "Unlicense" ]
null
null
null
from unittest import TestCase from peg_leg.parser import Parser class GrammarTestCase(TestCase): def test_java_primary(self): grammar = """ primary <- primary-no-new-array ; primary-no-new-array <- object-creation | method-invocation ...
34.84127
66
0.44328
209
2,195
4.636364
0.215311
0.074303
0.115583
0.20227
0.358101
0.28483
0.28483
0.28483
0.282766
0
0
0
0.357175
2,195
63
67
34.84127
0.686747
0
0
0.137255
0
0
0.506831
0.031421
0
0
0
0
0.156863
1
0.019608
false
0
0.039216
0
0.078431
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
b4631a3de09695b2482fadc0cd976f0aec8be103
3,049
py
Python
json2marc21/json2marcxml.py
titabo2k/pymarc2jsonl
993e5dec5ca198a5a3f4bed3493bcfa7569539a2
[ "Apache-2.0" ]
null
null
null
json2marc21/json2marcxml.py
titabo2k/pymarc2jsonl
993e5dec5ca198a5a3f4bed3493bcfa7569539a2
[ "Apache-2.0" ]
null
null
null
json2marc21/json2marcxml.py
titabo2k/pymarc2jsonl
993e5dec5ca198a5a3f4bed3493bcfa7569539a2
[ "Apache-2.0" ]
1
2021-04-09T22:08:24.000Z
2021-04-09T22:08:24.000Z
#!/usr/bin/env python3 # -*- coding:utf-8 -*- # import json import sys from pymarc import Record, Field, marcxml, MARC8ToUnicode from lxml import etree as ET from json2marc21.json2marc21 import transpose_to_marc21 from es2json import isint XSI_NS = "http://www.w3.org/2001/XMLSchema-instance" MARC_XML_NS = "http://w...
35.870588
121
0.639226
403
3,049
4.73201
0.354839
0.029366
0.031463
0.040902
0.185632
0.165705
0.114316
0.050341
0.050341
0
0
0.026843
0.230239
3,049
84
122
36.297619
0.785684
0.207281
0
0.092593
0
0.018519
0.183691
0
0
0
0
0.011905
0
1
0.055556
false
0
0.111111
0
0.222222
0.037037
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
b4652b8ea9a8d4f98f83c45f18efe66270357435
411
py
Python
eth/beacon/state_machines/configs.py
cryptomental/py-evm
cb0a2bbbdbc651d5d3dbb3317ea6ec78761b1a0f
[ "MIT" ]
null
null
null
eth/beacon/state_machines/configs.py
cryptomental/py-evm
cb0a2bbbdbc651d5d3dbb3317ea6ec78761b1a0f
[ "MIT" ]
null
null
null
eth/beacon/state_machines/configs.py
cryptomental/py-evm
cb0a2bbbdbc651d5d3dbb3317ea6ec78761b1a0f
[ "MIT" ]
null
null
null
from typing import ( NamedTuple, ) BeaconConfig = NamedTuple( 'BeaconConfig', ( ('BASE_REWARD_QUOTIENT', int), ('DEFAULT_END_DYNASTY', int), ('DEPOSIT_SIZE', int), ('CYCLE_LENGTH', int), ('MIN_COMMITTEE_SIZE', int), ('MIN_DYNASTY_LENGTH', int), ('SHAR...
21.631579
38
0.549878
40
411
5.275
0.65
0.208531
0
0
0
0
0
0
0
0
0
0
0.291971
411
18
39
22.833333
0.725086
0
0
0
0
0
0.367397
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
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
b46ef60725af32b5328c20c1b9b2fa6507663733
1,403
py
Python
setup.py
AdamBalint/colorgram.py
e793fb44d2a188377117c84922ce4887eb1e1f9a
[ "MIT" ]
null
null
null
setup.py
AdamBalint/colorgram.py
e793fb44d2a188377117c84922ce4887eb1e1f9a
[ "MIT" ]
null
null
null
setup.py
AdamBalint/colorgram.py
e793fb44d2a188377117c84922ce4887eb1e1f9a
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup VERSION = '1.1.1' REQUIREMENTS = [ "pillow >= 3.3.1" "numpy==1.15.1" ] with open("readme.rst", 'r') as f: long_description = f.read() setup( name="colorgram.py", version=VERSION, install_requires=REQUIREMENTS, pa...
31.177778
99
0.626515
157
1,403
5.56051
0.56051
0.152348
0.200458
0.148912
0.139748
0.077892
0.077892
0
0
0
0
0.021179
0.225944
1,403
44
100
31.886364
0.782689
0.029936
0
0
0
0
0.569536
0
0
0
0
0
0
1
0
false
0
0.027027
0
0.027027
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
b46f72f273d3ffd57049e5d8d11a2ae70cc79b43
2,027
py
Python
dsr_control2/launch/dsr_control2.launch.py
Pandinosaurus/doosan-robot2
71f5abee2694d5f3ef7415d3d72285837b3cd066
[ "Apache-2.0", "BSD-3-Clause" ]
33
2020-11-02T09:59:07.000Z
2022-03-27T14:27:55.000Z
dsr_control2/launch/dsr_control2.launch.py
Limseongjin/doosan-robot2
d3e7ae800157e96c863405a8a1d3f1d7edc36b56
[ "Apache-2.0", "BSD-3-Clause" ]
18
2020-11-16T06:15:16.000Z
2022-02-16T10:10:57.000Z
dsr_control2/launch/dsr_control2.launch.py
Limseongjin/doosan-robot2
d3e7ae800157e96c863405a8a1d3f1d7edc36b56
[ "Apache-2.0", "BSD-3-Clause" ]
20
2020-11-02T09:59:31.000Z
2022-03-27T14:40:42.000Z
import os from ament_index_python.packages import get_package_share_directory from launch import LaunchDescription from launch.actions import IncludeLaunchDescription from launch.launch_description_sources import PythonLaunchDescriptionSource from launch.substitutions import ThisLaunchFileDir from launch.action...
35.561404
109
0.617662
197
2,027
6.126904
0.461929
0.08285
0.074565
0.059652
0.102734
0.102734
0.102734
0.102734
0.102734
0.102734
0
0.020322
0.296004
2,027
56
110
36.196429
0.825508
0.123335
0
0.093023
0
0
0.092398
0
0
0
0
0
0
1
0.023256
false
0
0.348837
0
0.395349
0.023256
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
b47657dd5edcb3fd908b30390d05069b76b2e378
1,777
py
Python
authors/apps/profiles/serializers.py
andela/ah-backend-targaryen
5ce5b82e4658ec5bd1a5fea5b17cc19b857905c1
[ "BSD-3-Clause" ]
3
2018-09-21T09:28:48.000Z
2021-03-03T06:26:40.000Z
authors/apps/profiles/serializers.py
andela/ah-backend-targaryen
5ce5b82e4658ec5bd1a5fea5b17cc19b857905c1
[ "BSD-3-Clause" ]
40
2018-09-25T13:38:51.000Z
2021-06-10T20:49:02.000Z
authors/apps/profiles/serializers.py
andela/ah-backend-targaryen
5ce5b82e4658ec5bd1a5fea5b17cc19b857905c1
[ "BSD-3-Clause" ]
2
2018-09-24T00:45:52.000Z
2019-09-22T04:49:54.000Z
from rest_framework import serializers from .models import Profile class ProfileSerializer(serializers.ModelSerializer): username = serializers.CharField(source='user.username') bio = serializers.CharField(allow_blank=True, required=False) avatar = serializers.SerializerMethodField() following = seri...
32.907407
83
0.66798
181
1,777
6.497238
0.303867
0.068027
0.05102
0.076531
0.637755
0.590136
0.590136
0.590136
0.590136
0.590136
0
0.010101
0.220034
1,777
53
84
33.528302
0.838384
0
0
0.512821
0
0
0.151379
0
0
0
0
0
0
1
0.128205
false
0
0.051282
0.051282
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b476fceee15ebd7356d1933fdd2881db51ccbae5
5,933
py
Python
app/ui/uicommons.py
tschmidt01/DemonEditor
f6352b0a77e34b053aaad7a78747734f7957e3c6
[ "MIT" ]
66
2018-01-07T11:52:00.000Z
2022-03-23T12:46:07.000Z
app/ui/uicommons.py
tschmidt01/DemonEditor
f6352b0a77e34b053aaad7a78747734f7957e3c6
[ "MIT" ]
54
2018-12-25T11:19:53.000Z
2022-03-26T09:18:52.000Z
app/ui/uicommons.py
tschmidt01/DemonEditor
f6352b0a77e34b053aaad7a78747734f7957e3c6
[ "MIT" ]
304
2018-10-06T19:52:11.000Z
2022-03-24T04:19:43.000Z
import locale import os from enum import Enum, IntEnum from functools import lru_cache import gi gi.require_version("Gtk", "3.0") gi.require_version("Gdk", "3.0") gi.require_version("Notify", "0.7") from gi.repository import Gtk, Gdk, Notify from app.settings import Settings, SettingsException, IS_DARWIN # Init not...
26.605381
120
0.661048
894
5,933
4.168904
0.324385
0.012879
0.038369
0.021465
0.198551
0.079957
0.049906
0
0
0
0
0.047609
0.231755
5,933
222
121
26.725225
0.770075
0.117984
0
0.012195
0
0
0.085931
0.015199
0
0
0
0
0
1
0.02439
false
0.012195
0.04878
0.006098
0.682927
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
b4779d405738674a4424b24c07af0339bcee17fd
484
py
Python
programs/pgm15_18.py
danielsunzhongyuan/python_practice
79bc88db1c52ee2f5607f6f9fec1bbacea2804ff
[ "Apache-2.0" ]
null
null
null
programs/pgm15_18.py
danielsunzhongyuan/python_practice
79bc88db1c52ee2f5607f6f9fec1bbacea2804ff
[ "Apache-2.0" ]
null
null
null
programs/pgm15_18.py
danielsunzhongyuan/python_practice
79bc88db1c52ee2f5607f6f9fec1bbacea2804ff
[ "Apache-2.0" ]
null
null
null
# # This file contains the Python code from Program 15.18 of # "Data Structures and Algorithms # with Object-Oriented Design Patterns in Python" # by Bruno R. Preiss. # # Copyright (c) 2003 by Bruno R. Preiss, P.Eng. All rights reserved. # # http://www.brpreiss.com/books/opus7/programs/pgm15_18.txt # class RadixSorter...
22
69
0.63843
72
484
4.194444
0.763889
0.046358
0.05298
0.092715
0
0
0
0
0
0
0
0.04878
0.237603
484
21
70
23.047619
0.769648
0.590909
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.714286
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
b477bda620a05abb6cc60d5d6b9456b6611085c4
5,558
py
Python
multiagent/backup/network.py
hepengli/multiagent-particle-envs
8c8da62be162c813632c1736f57bfaa75d7e107e
[ "MIT" ]
1
2021-05-31T12:57:13.000Z
2021-05-31T12:57:13.000Z
multiagent/backup/network.py
hepengli/multiagent-particle-envs
8c8da62be162c813632c1736f57bfaa75d7e107e
[ "MIT" ]
null
null
null
multiagent/backup/network.py
hepengli/multiagent-particle-envs
8c8da62be162c813632c1736f57bfaa75d7e107e
[ "MIT" ]
null
null
null
import tensorflow as tf from tensorflow.keras.layers import Dense, Flatten, BatchNormalization from tensorflow.keras import Model class PolicyNetwork(Model): def __init__(self, input_shape, n_hidden, n_output, n_friend, n_batch=None, dtype=tf.float32): super(PolicyNetwork, self).__init__() assert ...
39.7
151
0.589061
800
5,558
3.91
0.23
0.028772
0.019182
0.012468
0.125639
0.11413
0.06202
0.055307
0.035166
0.0211
0
0.008668
0.27348
5,558
139
152
39.985612
0.765973
0.809644
0
0
0
0
0.004184
0
0
0
0
0
0.055556
1
0.111111
false
0
0.166667
0
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b478c181e1bc8b3f1b1c336207c3659627bf5f42
7,753
py
Python
cs15211/StampingTheSequence.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
1
2021-07-05T01:53:30.000Z
2021-07-05T01:53:30.000Z
cs15211/StampingTheSequence.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
null
null
null
cs15211/StampingTheSequence.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
1
2018-01-08T07:14:08.000Z
2018-01-08T07:14:08.000Z
__source__ = 'https://leetcode.com/problems/stamping-the-sequence/' # Time: O(N(N-M) # Space: O(N(N-M) # # Description: Leetcode # 936. Stamping The Sequence # # You want to form a target string of lowercase letters. # # At the beginning, your sequence is target.length '?' marks. # You also have a stamp of lowercase l...
31.90535
100
0.493486
1,002
7,753
3.805389
0.225549
0.028849
0.009179
0.01049
0.266457
0.207973
0.20771
0.16942
0.14844
0.118542
0
0.014312
0.378176
7,753
242
101
32.03719
0.776602
0.258739
0
0.025316
0
0.025316
0.720836
0.017171
0
0
0
0.004132
0.006329
1
0.012658
false
0
0.012658
0
0.06962
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b47d47075e9c12fe31e12dead231951a37c8fe61
3,724
py
Python
src/service_stellar_signer/migrations/0006_auto_20211006_1019.py
rehive/multisig-stellar-signer
e5b7ba293fda333c289f77ef10bf1a455b5bb5a7
[ "MIT" ]
null
null
null
src/service_stellar_signer/migrations/0006_auto_20211006_1019.py
rehive/multisig-stellar-signer
e5b7ba293fda333c289f77ef10bf1a455b5bb5a7
[ "MIT" ]
2
2022-03-29T12:17:00.000Z
2022-03-29T12:18:23.000Z
src/service_stellar_signer/migrations/0006_auto_20211006_1019.py
rehive/multisig-stellar-signer
e5b7ba293fda333c289f77ef10bf1a455b5bb5a7
[ "MIT" ]
1
2022-02-10T10:56:31.000Z
2022-02-10T10:56:31.000Z
# Generated by Django 3.1.7 on 2021-10-06 10:19 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('service_stel...
45.414634
161
0.601772
383
3,724
5.663185
0.240209
0.029507
0.045182
0.071
0.697556
0.697556
0.630244
0.585062
0.585062
0.530659
0
0.015013
0.266649
3,724
81
162
45.975309
0.779202
0.012084
0
0.533333
1
0
0.133261
0.053032
0
0
0
0
0
1
0
false
0
0.053333
0
0.093333
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
b48048b40fd13df768000e8d663e8ba4a775600a
398
py
Python
libraries/JSONDB/Enums.py
nint8835/NintbotForDiscord
c6fa7717dcf28bae5d3d23d3a82817c1cb1fc61d
[ "MIT" ]
3
2015-12-24T18:17:44.000Z
2016-05-20T07:19:29.000Z
libraries/JSONDB/Enums.py
nint8835/NintbotForDiscord
c6fa7717dcf28bae5d3d23d3a82817c1cb1fc61d
[ "MIT" ]
null
null
null
libraries/JSONDB/Enums.py
nint8835/NintbotForDiscord
c6fa7717dcf28bae5d3d23d3a82817c1cb1fc61d
[ "MIT" ]
1
2020-01-20T11:30:18.000Z
2020-01-20T11:30:18.000Z
from enum import Enum __author__ = 'Riley Flynn (nint8835)' class SelectionMode(Enum): """An enum containing all of the possible selection modes""" VALUE_GREATER_THAN = ">" VALUE_LESS_THAN = "<" VALUE_EQUALS = "=" VALUE_GREATER_THAN_OR_EQUAL = ">=" VALUE_LESS_THAN_OR_EQUAL = "<=" VALUE_NO...
23.411765
64
0.645729
49
398
4.795918
0.591837
0.12766
0.13617
0.13617
0
0
0
0
0
0
0
0.012987
0.226131
398
16
65
24.875
0.75
0.135678
0
0
0
0
0.12426
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.916667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b4887b1bdad6d27468e9fd5d5ba336d245711b92
2,635
py
Python
examples/SMA_crossover_backtest.py
johncky/NiuNiuAlgo
92a6d72927c73445ee4507e7e7a8ee45032cc8cd
[ "MIT" ]
null
null
null
examples/SMA_crossover_backtest.py
johncky/NiuNiuAlgo
92a6d72927c73445ee4507e7e7a8ee45032cc8cd
[ "MIT" ]
null
null
null
examples/SMA_crossover_backtest.py
johncky/NiuNiuAlgo
92a6d72927c73445ee4507e7e7a8ee45032cc8cd
[ "MIT" ]
null
null
null
from Algo import Backtest import datetime import talib import os os.environ['PYTHONASYNCIODEBUG'] = '1' class SMACrossover(Backtest): def __init__(self, short, long): super().__init__(name='SMA Crossover ({}, {})'.format(short, long), bars_no=long+5) self.short = short self.long = long ...
41.825397
113
0.581404
370
2,635
3.859459
0.294595
0.067227
0.042017
0.056022
0.383053
0.359944
0.268908
0.232493
0.196078
0.196078
0
0.035366
0.259583
2,635
63
114
41.825397
0.696566
0.073624
0
0.108696
0
0
0.105781
0
0
0
0
0
0
1
0.021739
false
0.108696
0.086957
0
0.130435
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
b489a64108f0fb5eff4e9c280a9aeda2deaafccd
1,622
py
Python
tfx/orchestration/portable/system_node_handler.py
avelez93/tfx
75fbb6a7d50e99138609be3ca4c3a204a13a2195
[ "Apache-2.0" ]
1,813
2019-02-04T17:17:30.000Z
2022-03-29T13:39:30.000Z
tfx/orchestration/portable/system_node_handler.py
avelez93/tfx
75fbb6a7d50e99138609be3ca4c3a204a13a2195
[ "Apache-2.0" ]
2,710
2019-02-14T00:41:00.000Z
2022-03-31T07:23:00.000Z
tfx/orchestration/portable/system_node_handler.py
avelez93/tfx
75fbb6a7d50e99138609be3ca4c3a204a13a2195
[ "Apache-2.0" ]
731
2019-02-04T17:59:18.000Z
2022-03-31T06:45:51.000Z
# Copyright 2020 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
33.791667
78
0.747842
224
1,622
5.330357
0.482143
0.050251
0.021776
0.026801
0.108878
0.108878
0.070352
0.070352
0.070352
0
0
0.010663
0.190506
1,622
47
79
34.510638
0.898705
0.651048
0
0
0
0
0
0
0
0
0
0
0
1
0.071429
false
0.071429
0.285714
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
1
0
0
0
0
0
1
b48c202cbb9daa11ff89f89dbae95f88fe3dd313
178
py
Python
test.py
shaded-enmity/alleviate
3c6ad9a3ed4f3f630227c5d7e3b337584b7d53f0
[ "MIT" ]
null
null
null
test.py
shaded-enmity/alleviate
3c6ad9a3ed4f3f630227c5d7e3b337584b7d53f0
[ "MIT" ]
null
null
null
test.py
shaded-enmity/alleviate
3c6ad9a3ed4f3f630227c5d7e3b337584b7d53f0
[ "MIT" ]
null
null
null
import alleviate mode = 'r' def main(): try: open('text.py', mode) except Exception as e: alleviate.exception(e)#, output=alleviate.Output.JSON) main()
16.181818
62
0.617978
23
178
4.782609
0.695652
0
0
0
0
0
0
0
0
0
0
0
0.241573
178
10
63
17.8
0.814815
0.174157
0
0
0
0
0.054795
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.25
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
b48d130bad58e9b20f7edb82e2bc9fd94a7ec9d9
582
py
Python
awx/main/management/commands/check_migrations.py
bhyunki/awx
ce588a6af5a5c7f71a5b176ffe53eda5ebc3492c
[ "Apache-2.0" ]
2
2020-03-19T20:49:37.000Z
2020-05-04T14:36:11.000Z
awx/main/management/commands/check_migrations.py
bhyunki/awx
ce588a6af5a5c7f71a5b176ffe53eda5ebc3492c
[ "Apache-2.0" ]
35
2021-03-01T06:34:26.000Z
2022-03-01T01:18:42.000Z
awx/main/management/commands/check_migrations.py
bhyunki/awx
ce588a6af5a5c7f71a5b176ffe53eda5ebc3492c
[ "Apache-2.0" ]
null
null
null
from django.db import connections from django.db.backends.sqlite3.base import DatabaseWrapper from django.core.management.commands.makemigrations import Command as MakeMigrations class Command(MakeMigrations): def execute(self, *args, **options): settings = connections['default'].settings_dict.copy() ...
41.571429
84
0.719931
60
582
6.933333
0.533333
0.072115
0.057692
0
0
0
0
0
0
0
0
0.004115
0.164948
582
13
85
44.769231
0.851852
0
0
0
0
0
0.12543
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b48d615ca6eb019c0d0e040519db6f0cc01a6b0c
701
py
Python
h2o-bindings/bin/custom/R/gen_generic.py
LongerVision/h2o-3
e19a1e27cb46714e102e86fbc2421ddb551a1932
[ "Apache-2.0" ]
1
2022-03-15T06:08:14.000Z
2022-03-15T06:08:14.000Z
h2o-bindings/bin/custom/R/gen_generic.py
LongerVision/h2o-3
e19a1e27cb46714e102e86fbc2421ddb551a1932
[ "Apache-2.0" ]
null
null
null
h2o-bindings/bin/custom/R/gen_generic.py
LongerVision/h2o-3
e19a1e27cb46714e102e86fbc2421ddb551a1932
[ "Apache-2.0" ]
null
null
null
extensions = dict( required_params=[], # empty to override defaults in gen_defaults validate_required_params=""" # Required args: either model_key or path if (is.null(model_key) && is.null(path)) stop("argument 'model_key' or 'path' must be provided") """, set_required_params="", ) doc = dict( preamb...
29.208333
96
0.71184
99
701
4.909091
0.59596
0.08642
0.041152
0.057613
0
0
0
0
0
0
0
0.010152
0.156919
701
23
97
30.478261
0.812183
0.059914
0
0.1
0
0.1
0.74277
0.105023
0
0
0
0
0
1
0
false
0
0.1
0
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
81f646d2fdd2f1100abc31f25f90ab5697029496
9,142
py
Python
test/test_extra.py
rizwanniazigroupdocs/aspose-slides-cloud-python
f692a7082387350f80f0b389c1914e33b800a76f
[ "MIT" ]
null
null
null
test/test_extra.py
rizwanniazigroupdocs/aspose-slides-cloud-python
f692a7082387350f80f0b389c1914e33b800a76f
[ "MIT" ]
null
null
null
test/test_extra.py
rizwanniazigroupdocs/aspose-slides-cloud-python
f692a7082387350f80f0b389c1914e33b800a76f
[ "MIT" ]
null
null
null
# coding: utf-8 """ Aspose.Slides for Cloud API Reference No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 1.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import abs...
39.921397
164
0.699081
1,075
9,142
5.696744
0.179535
0.03968
0.066133
0.03919
0.472567
0.445297
0.433214
0.37002
0.331156
0.331156
0
0.011694
0.214286
9,142
228
165
40.096491
0.840874
0.040363
0
0.349727
1
0
0.047068
0.01065
0
0
0
0
0.060109
1
0.060109
false
0.038251
0.114754
0
0.185792
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
81faf757ff4854bd272720e4e4af72b0c25d2467
3,534
py
Python
examples/hybrid_parallelism/pretraining_args.py
gentelyang/FleetX
249c4c0cef9881c904c9d20c57639e5a91375c7b
[ "Apache-2.0" ]
1
2021-06-08T12:03:38.000Z
2021-06-08T12:03:38.000Z
examples/hybrid_parallelism/pretraining_args.py
gentelyang/FleetX
249c4c0cef9881c904c9d20c57639e5a91375c7b
[ "Apache-2.0" ]
null
null
null
examples/hybrid_parallelism/pretraining_args.py
gentelyang/FleetX
249c4c0cef9881c904c9d20c57639e5a91375c7b
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
45.896104
94
0.726089
497
3,534
4.961771
0.338028
0.127737
0.241281
0.056772
0.294404
0.274939
0.274939
0.115572
0
0
0
0.022157
0.131579
3,534
76
95
46.5
0.781362
0.177985
0
0
0
0
0.204506
0.019757
0
0
0
0
0
1
0.020408
false
0
0.142857
0
0.183673
0.061224
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
c3050922c968f812f8f9ff3190c54df4a572bd74
2,275
py
Python
app/core/utils.py
fxavier/xbusness
10e6455243a8b66775df6f3a11eec6e8a8bea3f7
[ "MIT" ]
null
null
null
app/core/utils.py
fxavier/xbusness
10e6455243a8b66775df6f3a11eec6e8a8bea3f7
[ "MIT" ]
null
null
null
app/core/utils.py
fxavier/xbusness
10e6455243a8b66775df6f3a11eec6e8a8bea3f7
[ "MIT" ]
null
null
null
import os import uuid import random import string from django.utils.text import slugify def product_image_file_path(instance, filename): """Generate file path for new product image""" ext = filename.split('.')[-1] filename = f'{uuid.uuid4()}.{ext}' return os.path.join('uploads/product/', filename) ...
28.4375
83
0.675604
305
2,275
4.829508
0.255738
0.032587
0.057026
0.07332
0.545146
0.541073
0.479294
0.479294
0.389681
0.389681
0
0.007263
0.213187
2,275
80
84
28.4375
0.815642
0.152088
0
0.291667
1
0
0.068633
0
0
0
0
0
0
1
0.145833
false
0
0.104167
0.020833
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c306db1e4184112405595a151bdf7d8683ca4d91
1,230
py
Python
Sipros/Scripts/split_db.py
xyz1396/Projects
943ddb37039c13e2878a1d39a2d4d97c937f183a
[ "MIT" ]
null
null
null
Sipros/Scripts/split_db.py
xyz1396/Projects
943ddb37039c13e2878a1d39a2d4d97c937f183a
[ "MIT" ]
null
null
null
Sipros/Scripts/split_db.py
xyz1396/Projects
943ddb37039c13e2878a1d39a2d4d97c937f183a
[ "MIT" ]
null
null
null
import getopt, sys from urllib import urlencode import cookielib, urllib2, os, re, copy, string, operator OriginalFastaFileName = sys.argv[1] outputpath = sys.argv[2] filenum = int (sys.argv[3]) FastaSubFiles = [] for i in range (filenum) : #os.popen("mkdir "+outputpath+str(i)) ...
30.75
130
0.714634
139
1,230
6.28777
0.467626
0.04119
0.01373
0.025172
0.155606
0.114416
0.114416
0
0
0
0
0.007797
0.165854
1,230
40
131
30.75
0.844055
0.039024
0
0.193548
0
0
0.014395
0
0
0
0
0
0
0
null
null
0
0.096774
null
null
0.032258
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
c312a5da333ee2428a96ffebc753c430cff85bb0
1,673
py
Python
vulnerability_modules/javascript/json_stringify.py
kevjin/generic-vulnerability-scanner
a7eebd2129f93d99459b7bddccd9f4789221351b
[ "MIT" ]
null
null
null
vulnerability_modules/javascript/json_stringify.py
kevjin/generic-vulnerability-scanner
a7eebd2129f93d99459b7bddccd9f4789221351b
[ "MIT" ]
null
null
null
vulnerability_modules/javascript/json_stringify.py
kevjin/generic-vulnerability-scanner
a7eebd2129f93d99459b7bddccd9f4789221351b
[ "MIT" ]
null
null
null
from colorama import Fore, Style from vulnerability_tool.framework.resources.types import ResourceType TEST_NAME = "Generate Document Variable from JSON.Stringify()" TEST_DESCRIPTION = """ This test checks that JSON.stringify is not called from within a <script> tag. Doing so can make your program prone to cross...
44.026316
114
0.671249
211
1,673
5.151659
0.454976
0.095676
0.087397
0.031279
0.093836
0.093836
0.093836
0.093836
0.093836
0.093836
0
0.01182
0.241482
1,673
38
115
44.026316
0.84476
0.002391
0
0.060606
1
0.030303
0.351931
0
0
0
0
0
0
1
0.030303
false
0.030303
0.060606
0
0.151515
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
c315aa5bbfa00430f4bdb4f2c72410634bd716fd
10,151
py
Python
transmogrifier/sources/dspace_mets.py
MITLibraries/transmogrifier
aa9544645b255c68c1239feac51f59e1b016d8aa
[ "Apache-2.0" ]
null
null
null
transmogrifier/sources/dspace_mets.py
MITLibraries/transmogrifier
aa9544645b255c68c1239feac51f59e1b016d8aa
[ "Apache-2.0" ]
null
null
null
transmogrifier/sources/dspace_mets.py
MITLibraries/transmogrifier
aa9544645b255c68c1239feac51f59e1b016d8aa
[ "Apache-2.0" ]
null
null
null
"""DSpace METS XML transform module.""" import logging from typing import Iterator from bs4 import Tag import transmogrifier.models as timdex from transmogrifier.helpers import generate_citation logger = logging.getLogger(__name__) class DspaceMets: """DSpace METS transform class.""" def __init__( ...
37.596296
88
0.594621
1,147
10,151
5.141238
0.205754
0.016619
0.020519
0.023741
0.145328
0.093946
0.073258
0.073258
0.065796
0
0
0.00087
0.320264
10,151
269
89
37.736059
0.853768
0.267067
0
0.062893
1
0
0.147421
0.014383
0
0
0
0
0
1
0.025157
false
0
0.031447
0
0.081761
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
c3171f009cdea8e056088e5f54b252380136f8de
253
py
Python
src/ghutil/cli/release/list.py
jwodder/ghutil
f0b903a76177cd49f5d48ac9890609f4da9071d9
[ "MIT" ]
6
2017-05-29T19:29:44.000Z
2020-04-05T00:01:02.000Z
src/ghutil/cli/release/list.py
jwodder/ghutil
f0b903a76177cd49f5d48ac9890609f4da9071d9
[ "MIT" ]
2
2017-06-29T09:39:32.000Z
2020-01-07T22:48:02.000Z
src/ghutil/cli/release/list.py
jwodder/ghutil
f0b903a76177cd49f5d48ac9890609f4da9071d9
[ "MIT" ]
1
2017-06-11T16:43:47.000Z
2017-06-11T16:43:47.000Z
import click from ghutil.types import Repository @click.command() @Repository.argument('repo') @click.pass_obj def cli(gh, repo): """ List releases for a repository """ for rel in repo.releases.get(): click.echo(str(gh.release(rel)))
23
42
0.687747
36
253
4.805556
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.16996
253
10
43
25.3
0.82381
0.118577
0
0
0
0
0.018605
0
0
0
0
0
0
1
0.125
false
0.125
0.25
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
1
0
0
0
0
0
1
c3195c505f453981ba28b6c47464ca467d3e25a6
1,264
py
Python
core/handlers/user.py
dengmin/crontab.py
5762091193c527ae2dd15c1578b311cc044b4091
[ "Apache-2.0" ]
21
2017-11-04T14:17:04.000Z
2021-02-08T07:12:49.000Z
core/handlers/user.py
dengmin/crontab.py
5762091193c527ae2dd15c1578b311cc044b4091
[ "Apache-2.0" ]
3
2018-04-02T15:22:07.000Z
2020-10-15T08:16:49.000Z
core/handlers/user.py
dengmin/crontab.py
5762091193c527ae2dd15c1578b311cc044b4091
[ "Apache-2.0" ]
7
2017-09-27T09:54:48.000Z
2020-11-12T02:26:24.000Z
#!/usr/bin/env python from flask import session, g, flash from core.model import User from flask_peewee.utils import check_password class UserHandler(object): def authenticate(self, username, password): active = User.select().where(User.active == True) try: user = active.where(User.use...
30.095238
64
0.552215
146
1,264
4.691781
0.376712
0.046715
0.043796
0.055474
0.084672
0.084672
0
0
0
0
0
0
0.343354
1,264
42
65
30.095238
0.825301
0.015823
0
0.171429
0
0
0.076367
0
0
0
0
0
0
1
0.114286
false
0.114286
0.085714
0
0.371429
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
c31d36458e4eb4311b4357bec9f40994905c2533
345
py
Python
setup.py
nishantsinghdev/mshow
f2f1c810a1ba30d2823843ef78812bea4d59ea4f
[ "MIT" ]
null
null
null
setup.py
nishantsinghdev/mshow
f2f1c810a1ba30d2823843ef78812bea4d59ea4f
[ "MIT" ]
null
null
null
setup.py
nishantsinghdev/mshow
f2f1c810a1ba30d2823843ef78812bea4d59ea4f
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='mshow', version = '7.0', __version__='7.0', description='Sample Message Showing Library', url='https://github.com/nishantsinghdev/mshow', author='Nishant Singh', author_email='nishant@example.com', license='MIT', packages=['mshow'...
26.538462
53
0.634783
39
345
5.461538
0.769231
0.075117
0.084507
0
0
0
0
0
0
0
0
0.014815
0.217391
345
12
54
28.75
0.774074
0
0
0
0
0
0.350725
0
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
c32077db60cc80d9d1b800c140e3cd10bed05c4c
2,600
py
Python
gameai/utils/utils.py
martinballa/malmo
d6f3961842a07b9c402530678b8db58ce19265fa
[ "MIT" ]
20
2020-12-09T21:43:58.000Z
2022-02-02T19:47:52.000Z
gameai/utils/utils.py
GAIGResearch/malmo
b4c2f028e97caf1073f3f085046a63f054730881
[ "MIT" ]
null
null
null
gameai/utils/utils.py
GAIGResearch/malmo
b4c2f028e97caf1073f3f085046a63f054730881
[ "MIT" ]
4
2021-02-19T03:19:51.000Z
2021-02-28T09:37:25.000Z
import argparse, os import malmoenv from pathlib import Path from gameai.utils.wrappers import DownsampleObs def parse_args(): parser = argparse.ArgumentParser(description='malmoenv arguments') parser.add_argument('--mission', type=str, default='../MalmoEnv/missions/mobchase_single_agent.xml', ...
54.166667
113
0.666154
349
2,600
4.902579
0.378224
0.063121
0.119229
0.043834
0.126826
0.061952
0.036236
0.036236
0
0
0
0.016908
0.203846
2,600
48
114
54.166667
0.809662
0.147308
0
0
0
0
0.286748
0.020805
0
0
0
0.020833
0
1
0.052632
false
0
0.105263
0
0.210526
0.026316
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
c328212854406153aba2f50a3b3d6db353f5820d
1,617
py
Python
hard-gists/6327611/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
21
2019-07-08T08:26:45.000Z
2022-01-24T23:53:25.000Z
hard-gists/6327611/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
5
2019-06-15T14:47:47.000Z
2022-02-26T05:02:56.000Z
hard-gists/6327611/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
17
2019-05-16T03:50:34.000Z
2021-01-14T14:35:12.000Z
#! /usr/bin/python import Image #Created by vvdr12 #Fully open license. Have fun. #change threshold value in 'def contrastpoints' for higher/lower line density. #put a 'test.jpg' file in the same folder as the code. #_functions______________________________________________ def contrastpoints(x,j,img): threshold=20...
13.70339
78
0.623995
297
1,617
2.89899
0.309764
0.060395
0.023229
0.066202
0.109175
0.109175
0.092915
0.092915
0
0
0
0.077744
0.188621
1,617
117
79
13.820513
0.578506
0.298701
0
0.174603
0
0
0.021878
0
0
0
0
0
0
0
null
null
0
0.015873
null
null
0.079365
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
c32ac72a55adc382207145a1694877067ab00de4
273
py
Python
2._Learning_Python/A._Basic_-_no_OOP/7._Functions_and_Modules/3._Modules_and_Packages/8._Commonly_used_modules/5._time/datecalc.py
sanjarcode/python3_notes
b844515a021c2b75a4066b6d4cad239fdd13e3a7
[ "MIT" ]
null
null
null
2._Learning_Python/A._Basic_-_no_OOP/7._Functions_and_Modules/3._Modules_and_Packages/8._Commonly_used_modules/5._time/datecalc.py
sanjarcode/python3_notes
b844515a021c2b75a4066b6d4cad239fdd13e3a7
[ "MIT" ]
null
null
null
2._Learning_Python/A._Basic_-_no_OOP/7._Functions_and_Modules/3._Modules_and_Packages/8._Commonly_used_modules/5._time/datecalc.py
sanjarcode/python3_notes
b844515a021c2b75a4066b6d4cad239fdd13e3a7
[ "MIT" ]
null
null
null
import time, datetime from collections import namedtuple clock_name = 'perf_counter' # Get the information on # the specified clock name clock_info = time.get_clock_info(clock_name) # Print the information print("\nInformation on '% s':" % clock_name) print(clock_info)
21
45
0.78022
39
273
5.25641
0.487179
0.17561
0.136585
0
0
0
0
0
0
0
0
0
0.135531
273
12
46
22.75
0.868644
0.252747
0
0
0
0
0.175
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
c32c04521539078330574801aaa4399dc0298a38
406
py
Python
tests/unit/test_device_battery.py
spin83/libetrv
3d1fead6ffaa02bf571d8416405bb6df41beef16
[ "Apache-2.0" ]
36
2019-06-20T09:00:19.000Z
2022-01-26T23:36:46.000Z
tests/unit/test_device_battery.py
spin83/libetrv
3d1fead6ffaa02bf571d8416405bb6df41beef16
[ "Apache-2.0" ]
23
2019-05-10T09:47:05.000Z
2021-09-28T22:19:31.000Z
tests/unit/test_device_battery.py
spin83/libetrv
3d1fead6ffaa02bf571d8416405bb6df41beef16
[ "Apache-2.0" ]
14
2019-10-28T01:29:29.000Z
2021-02-10T19:54:35.000Z
import pytest from tests.utils.device_mock import DeviceMock @pytest.fixture() def device(): dev = DeviceMock({ 0x10: bytes.fromhex('59') }) return dev class TestEncryptionTemperature: def test_read_battery(self, device): assert device.battery == 89 def test_write_battery(self,...
19.333333
46
0.669951
46
406
5.804348
0.630435
0.052434
0.127341
0
0
0
0
0
0
0
0
0.029032
0.236453
406
20
47
20.3
0.832258
0
0
0
0
0
0.004926
0
0
0
0.009852
0
0.071429
1
0.214286
false
0
0.142857
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
1
0
0
0
0
0
0
0
1
c32f20dcb0d4728fd1986a972f13b7a713c97cce
865
py
Python
test_package/conanfile.py
karasusan/conan-gtest-example
27439f24c84dd295ee1f62d5b7a72a93b458e56d
[ "MIT" ]
null
null
null
test_package/conanfile.py
karasusan/conan-gtest-example
27439f24c84dd295ee1f62d5b7a72a93b458e56d
[ "MIT" ]
null
null
null
test_package/conanfile.py
karasusan/conan-gtest-example
27439f24c84dd295ee1f62d5b7a72a93b458e56d
[ "MIT" ]
null
null
null
from conans.model.conan_file import ConanFile from conans import CMake class TestConanGTestExample(ConanFile): name = "TestConanGTestExample" version = "0.1.0" author = "lasote" url = "https://github.com/karasusan/conan-gtest-example" license = "MIT" settings = "os", "compiler", "arch", "build...
28.833333
78
0.619653
105
865
5.047619
0.552381
0.067925
0.049057
0
0
0
0
0
0
0
0
0.008942
0.224277
865
29
79
29.827586
0.780924
0
0
0
0
0
0.246243
0.05896
0
0
0
0
0
1
0.125
false
0
0.125
0
0.708333
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
c3329c594f18285d9e63e85cd1f0599f7df7213e
642
py
Python
May LeetCoding Challenge/ransom note.py
parikshitgupta1/leetcode
eba6c11740dc7597204af127c0f4c2163376294f
[ "MIT" ]
null
null
null
May LeetCoding Challenge/ransom note.py
parikshitgupta1/leetcode
eba6c11740dc7597204af127c0f4c2163376294f
[ "MIT" ]
null
null
null
May LeetCoding Challenge/ransom note.py
parikshitgupta1/leetcode
eba6c11740dc7597204af127c0f4c2163376294f
[ "MIT" ]
null
null
null
class Solution: def canConstruct(self, ransomNote: str, magazine: str) -> bool: count_r={} for c in ransomNote: if c not in count_r: count_r[c]=1 else: count_r[c]+=1 print(count_r) for cr in magazine: if cr n...
24.692308
67
0.41433
75
642
3.413333
0.373333
0.234375
0.070313
0.085938
0
0
0
0
0
0
0
0.021807
0.5
642
25
68
25.68
0.775701
0.024922
0
0.238095
0
0
0
0
0
0
0
0
0
1
0.047619
false
0
0
0
0.190476
0.142857
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
c33336005a3f6423c40148f78a3be8532628533a
4,714
py
Python
sdk/python/pulumi_digitalocean/get_account.py
mikealgj/pulumi-digitalocean
77c109ab364eb69b7668b007c29413f5d2c95209
[ "ECL-2.0", "Apache-2.0" ]
53
2019-04-25T14:43:12.000Z
2022-03-14T15:51:44.000Z
sdk/python/pulumi_digitalocean/get_account.py
mikealgj/pulumi-digitalocean
77c109ab364eb69b7668b007c29413f5d2c95209
[ "ECL-2.0", "Apache-2.0" ]
158
2019-04-15T21:47:18.000Z
2022-03-29T21:21:57.000Z
sdk/python/pulumi_digitalocean/get_account.py
mikealgj/pulumi-digitalocean
77c109ab364eb69b7668b007c29413f5d2c95209
[ "ECL-2.0", "Apache-2.0" ]
10
2019-04-15T20:16:11.000Z
2021-05-28T19:08:32.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
33.913669
158
0.66398
558
4,714
5.322581
0.216846
0.048485
0.060606
0.080808
0.262963
0.168687
0.099327
0.03569
0
0
0
0.000278
0.236317
4,714
138
159
34.15942
0.824722
0.108613
0
0.122449
1
0
0.152295
0.015788
0
0
0
0
0
1
0.112245
false
0
0.05102
0.071429
0.285714
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
c33674834b4eec6adb778b42b94ea4ea3f213cec
301
py
Python
morris_config.py
govtmirror/PriceHistoryGUI
21ae45aa7777e88a3c429f7df214b75633c9c4bd
[ "CC0-1.0" ]
1
2020-07-23T01:58:13.000Z
2020-07-23T01:58:13.000Z
morris_config.py
RobertLRead/ELA_GUI
2a2ba545daa1ca8a5784268c1162603c75e7d722
[ "Unlicense" ]
null
null
null
morris_config.py
RobertLRead/ELA_GUI
2a2ba545daa1ca8a5784268c1162603c75e7d722
[ "Unlicense" ]
7
2016-12-17T21:53:32.000Z
2021-02-18T11:04:44.000Z
BOTTLE_CONTENT_MANAGER_API_PORT = 8081 BOTTLE_DEORATOR_PORTFOLIOS_API_PORT = 8082 BOTTLE_DEORATOR_TAGS_API_PORT = 8083 BOTTLE_DEORATOR_VOTES_API_PORT = 8084 USE_SOLR_AS_PERSISTENCE = True SOLR_URL = 'http://localhost:8983/solr' DECORATION_SOLR_FIELD_0 = 'portfolios' DECORATION_SOLR_FIELD_1 = 'tags'
30.1
42
0.853821
45
301
5.133333
0.577778
0.121212
0.164502
0
0
0
0
0
0
0
0
0.07971
0.083056
301
9
43
33.444444
0.757246
0
0
0
0
0
0.13289
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
c33b38e851939ba2e6385cb2133c5c5f3853ae67
24,627
py
Python
Dungeons.py
StructuralMike/ALttPDoorRandomizer
b1083985450fbeb282efc27f0d900abdc4210398
[ "MIT" ]
null
null
null
Dungeons.py
StructuralMike/ALttPDoorRandomizer
b1083985450fbeb282efc27f0d900abdc4210398
[ "MIT" ]
null
null
null
Dungeons.py
StructuralMike/ALttPDoorRandomizer
b1083985450fbeb282efc27f0d900abdc4210398
[ "MIT" ]
null
null
null
import random from BaseClasses import Dungeon from Bosses import BossFactory from Fill import fill_restrictive from Items import ItemFactory def create_dungeons(world, player): def make_dungeon(name, id, default_boss, dungeon_regions, big_key, small_keys, dungeon_items): dungeon = Dungeon(name, dungeon_r...
59.919708
275
0.652942
3,206
24,627
4.953525
0.152215
0.016624
0.017127
0.016624
0.178704
0.108872
0.0823
0.077388
0.057553
0.045463
0
0.010805
0.214561
24,627
410
276
60.065854
0.810216
0.032079
0
0.026627
0
0
0.524835
0
0
0
0.007348
0
0
1
0.014793
false
0.071006
0.014793
0.002959
0.035503
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
c343597df36fe842b6aada2c1d0081dcf5dbb84c
693
py
Python
pset_4/__main__.py
GabrielBG010/PSET4
b71528c730ea407495a2bb8a3020d91518e1edad
[ "CECILL-B" ]
null
null
null
pset_4/__main__.py
GabrielBG010/PSET4
b71528c730ea407495a2bb8a3020d91518e1edad
[ "CECILL-B" ]
null
null
null
pset_4/__main__.py
GabrielBG010/PSET4
b71528c730ea407495a2bb8a3020d91518e1edad
[ "CECILL-B" ]
null
null
null
# import hashlib import argparse import luigi from pset_4.cli import main from pset_4.tasks.stylize import Stylize if __name__ == "__main__": parser = argparse.ArgumentParser(description='Process some integers.') parser.add_argument("-i", "--image", default='luigi.jpg' , action="store_true") parser.add_...
30.130435
83
0.683983
83
693
5.493976
0.506024
0.052632
0.098684
0.087719
0
0
0
0
0
0
0
0.003466
0.167388
693
22
84
31.5
0.786828
0.233766
0
0
0
0
0.16
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
c343d3ec9fd95d6c35ba9cbb0a2959d06c1135a6
221
py
Python
openfile.py
NurseQ/Programming-and-Scripting
27e1187e615b34c7a08f1bbd824cf6a3adad0c8c
[ "Apache-2.0" ]
null
null
null
openfile.py
NurseQ/Programming-and-Scripting
27e1187e615b34c7a08f1bbd824cf6a3adad0c8c
[ "Apache-2.0" ]
null
null
null
openfile.py
NurseQ/Programming-and-Scripting
27e1187e615b34c7a08f1bbd824cf6a3adad0c8c
[ "Apache-2.0" ]
null
null
null
#f = open("datum/iris.csv") #print (f.read()) #f.close() #closing file is good practice #Using ff code will make closing file unnecessary with open("datum/iris.csv") as f: contents = (f.read()) print(contents)
20.090909
49
0.669683
35
221
4.228571
0.628571
0.121622
0.175676
0.216216
0
0
0
0
0
0
0
0
0.171946
221
11
50
20.090909
0.808743
0.58371
0
0
0
0
0.159091
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c34b3d05ec88057bbdf356a9d8f05070567b0198
700
py
Python
habr-api/core/behaviors.py
artinnok/habr-api
07b92b86878dde2eaf8ba94aa4a55367ef8da283
[ "MIT" ]
1
2016-11-02T00:11:52.000Z
2016-11-02T00:11:52.000Z
habr-api/core/behaviors.py
artinnok/habr-api
07b92b86878dde2eaf8ba94aa4a55367ef8da283
[ "MIT" ]
null
null
null
habr-api/core/behaviors.py
artinnok/habr-api
07b92b86878dde2eaf8ba94aa4a55367ef8da283
[ "MIT" ]
null
null
null
from django.db import models class Titleable(models.Model): title = models.CharField( verbose_name='Название', max_length=200, blank=True ) class Meta: abstract = True class Textable(models.Model): text = models.TextField( verbose_name='Текст', blank...
16.27907
42
0.605714
73
700
5.726027
0.465753
0.107656
0.162679
0.200957
0.229665
0.167464
0.167464
0
0
0
0
0.010309
0.307143
700
42
43
16.666667
0.851546
0
0
0.344828
0
0
0.068571
0
0
0
0
0
0
1
0
false
0
0.034483
0
0.448276
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
c34b977b60755e39c83f90acf6e3856c620edae2
738
py
Python
cfgov/sheerlike/helpers.py
Mario-Kart-Felix/cfgov-refresh
7978fedeb7aaf4d96a87720e6545567085e056a9
[ "CC0-1.0" ]
1
2019-12-29T17:50:07.000Z
2019-12-29T17:50:07.000Z
cfgov/sheerlike/helpers.py
ascott1/cfgov-refresh
9c916aaed3a48110a199eb4675474290a51f815d
[ "CC0-1.0" ]
1
2021-04-22T01:09:52.000Z
2021-04-22T01:09:52.000Z
cfgov/sheerlike/helpers.py
ascott1/cfgov-refresh
9c916aaed3a48110a199eb4675474290a51f815d
[ "CC0-1.0" ]
1
2021-02-02T08:59:38.000Z
2021-02-02T08:59:38.000Z
from elasticsearch import Elasticsearch from sheerlike.query import QueryHit class IndexHelper(object): # See "The borg singleton" in "Learning Python Design Patterns" _shared_state = {} def __new__(cls, *args, **kwargs): obj = super(IndexHelper, cls).__new__(cls, *args, **kwargs) obj.__...
32.086957
74
0.657182
89
738
5.179775
0.494382
0.039046
0.084599
0.069414
0.08243
0
0
0
0
0
0
0
0.238482
738
22
75
33.545455
0.820285
0.082656
0
0
0
0
0.026667
0
0
0
0
0
0
1
0.2
false
0
0.133333
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c3535cc4e989a0359023a3aadaa5825097d68c1d
1,163
py
Python
scripts/ss_get_ingest.py
h4l/storage-service
05524e25dfc55f4fe6e2101e1be2850bec691564
[ "MIT" ]
12
2020-02-06T13:08:28.000Z
2022-03-05T08:02:27.000Z
scripts/ss_get_ingest.py
h4l/storage-service
05524e25dfc55f4fe6e2101e1be2850bec691564
[ "MIT" ]
98
2020-02-13T09:36:39.000Z
2022-03-31T07:02:30.000Z
scripts/ss_get_ingest.py
wellcometrust/storage
e53dbc1ec8761f78605c65028f75b697fe06d695
[ "MIT" ]
4
2020-03-12T15:42:23.000Z
2021-07-20T06:23:35.000Z
#!/usr/bin/env python3 """ Get a response from the ingests API. Usage: python ss_get_ingest.py <INGEST_ID> The script will attempt to find the ingest ID in both the prod and staging APIs. For most use cases, you can use the web inspector: https://wellcome-ingest-inspector.glitch.me/ This script is useful if yo...
26.431818
80
0.704213
177
1,163
4.440678
0.531073
0.081425
0.053435
0.043257
0
0
0
0
0
0
0
0.003243
0.204643
1,163
43
81
27.046512
0.846486
0.415305
0
0.111111
0
0
0.129657
0
0
0
0
0
0
1
0.055556
false
0.055556
0.166667
0
0.277778
0.055556
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
c3544b73afd468c87081b6d6ad9dd5f4b068c960
2,570
py
Python
setup.py
ExternalRepositories/gitlint
b4729e0e7945475504c0c1664ea577e826d07ff5
[ "MIT" ]
null
null
null
setup.py
ExternalRepositories/gitlint
b4729e0e7945475504c0c1664ea577e826d07ff5
[ "MIT" ]
17
2021-08-09T07:21:00.000Z
2022-03-30T07:20:27.000Z
setup.py
ExternalRepositories/gitlint
b4729e0e7945475504c0c1664ea577e826d07ff5
[ "MIT" ]
null
null
null
#!/usr/bin/env python from __future__ import print_function from setuptools import setup description = "Git commit message linter written in python, checks your commit messages for style." long_description = """ Great for use as a commit-msg git hook or as part of your gating script in a CI pipeline (e.g. jenkins, git...
40.793651
120
0.691829
312
2,570
5.625
0.541667
0.08661
0.11396
0.076923
0.111111
0
0
0
0
0
0
0.016098
0.17821
2,570
62
121
41.451613
0.814867
0.007782
0
0.037037
0
0.092593
0.750098
0.063554
0
0
0
0
0
1
0
false
0
0.037037
0
0.037037
0.018519
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c35922b1a0568098626f088765583ca41bc75080
2,288
py
Python
test/selenium/src/tests/test_admin_dashboard_page.py
sbilly/ggrc-core
59a6825c6a8e15e42ebdb9e08d079cefd1800120
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
test/selenium/src/tests/test_admin_dashboard_page.py
sbilly/ggrc-core
59a6825c6a8e15e42ebdb9e08d079cefd1800120
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
test/selenium/src/tests/test_admin_dashboard_page.py
sbilly/ggrc-core
59a6825c6a8e15e42ebdb9e08d079cefd1800120
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# Copyright (C) 2016 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> """Admin dashboard page smoke tests""" # pylint: disable=no-self-use # pylint: disable=invalid-name # pylint: disable=too-few-public-methods import pytest # pylint: disable=import-error from lib import b...
40.857143
78
0.760052
290
2,288
5.662069
0.272414
0.120585
0.165652
0.214373
0.554811
0.379415
0.184531
0.184531
0.184531
0.184531
0
0.003625
0.156031
2,288
55
79
41.6
0.846712
0.156469
0
0.125
0
0
0
0
0
0
0
0
0.4
1
0.025
false
0
0.1
0
0.175
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
c35b37655b4aeb0b31341e5e5248b31ebcda4244
1,195
py
Python
old/core/migrations/0005_client.py
rngallen/django_ninja
60f6a1a60df2762177ae55d46629bcb27eeaebce
[ "MIT" ]
null
null
null
old/core/migrations/0005_client.py
rngallen/django_ninja
60f6a1a60df2762177ae55d46629bcb27eeaebce
[ "MIT" ]
null
null
null
old/core/migrations/0005_client.py
rngallen/django_ninja
60f6a1a60df2762177ae55d46629bcb27eeaebce
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-03-21 15:06 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("core", "0004_department_...
29.146341
85
0.458577
96
1,195
5.53125
0.59375
0.045198
0.052731
0.082863
0
0
0
0
0
0
0
0.032012
0.451046
1,195
40
86
29.875
0.777439
0.037657
0
0.147059
1
0
0.059233
0.020906
0
0
0
0
0
1
0
false
0
0.088235
0
0.176471
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
c35cdd020498a565891a47fe6f2eea678eccf4d1
2,963
py
Python
dfs/graph.py
GeorgEncinas/backtraking
2f5dea16bb8ec4ccd951101d5a69d64d93f1e941
[ "MIT" ]
null
null
null
dfs/graph.py
GeorgEncinas/backtraking
2f5dea16bb8ec4ccd951101d5a69d64d93f1e941
[ "MIT" ]
null
null
null
dfs/graph.py
GeorgEncinas/backtraking
2f5dea16bb8ec4ccd951101d5a69d64d93f1e941
[ "MIT" ]
null
null
null
from vertex import Vertex from edge import Edge import numpy as np class Graph: def __init__(self, list_ver=[], list_edg=[]): #self.dict_vertex = {} self.list_vertex = list_ver self.list_previsit = [] self.list_edge = list_edg self.states_node = [] self.pos_actual_v...
34.453488
83
0.589943
370
2,963
4.421622
0.189189
0.136919
0.111247
0.07335
0.325183
0.147922
0.147922
0.105134
0.105134
0.105134
0
0.006027
0.328046
2,963
85
84
34.858824
0.815671
0.037462
0
0.205882
0
0
0.003862
0
0
0
0
0
0
0
null
null
0
0.044118
null
null
0.044118
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
c363074ed6a1f856936113190e63deb68326e8ad
467
py
Python
tests/conftest.py
Pascal-Bliem/tox-block-api
31bde9a018a6efdd7c887bfd5ef5f04f0a14fd8f
[ "MIT" ]
null
null
null
tests/conftest.py
Pascal-Bliem/tox-block-api
31bde9a018a6efdd7c887bfd5ef5f04f0a14fd8f
[ "MIT" ]
null
null
null
tests/conftest.py
Pascal-Bliem/tox-block-api
31bde9a018a6efdd7c887bfd5ef5f04f0a14fd8f
[ "MIT" ]
null
null
null
# set python path import sys import os path = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, path + '/../') import pytest from tox_block_api.app import create_app from tox_block_api.config import TestingConfig @pytest.fixture def app(): app = create_app(config_object=TestingConfig) with app.a...
19.458333
49
0.734475
70
467
4.657143
0.428571
0.122699
0.07362
0.092025
0
0
0
0
0
0
0
0.002571
0.167024
467
23
50
20.304348
0.835476
0.03212
0
0.125
0
0
0.008889
0
0
0
0
0
0
1
0.125
false
0
0.3125
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
0
0
0
1
0
0
0
0
1
c3684add3301eaf005feb203a142057ca5a06b16
11,102
py
Python
bokeh/models/widgets/tables.py
DuCorey/bokeh
a88e24f34d40499a4608d01da8d706123350b4e6
[ "BSD-3-Clause" ]
null
null
null
bokeh/models/widgets/tables.py
DuCorey/bokeh
a88e24f34d40499a4608d01da8d706123350b4e6
[ "BSD-3-Clause" ]
null
null
null
bokeh/models/widgets/tables.py
DuCorey/bokeh
a88e24f34d40499a4608d01da8d706123350b4e6
[ "BSD-3-Clause" ]
null
null
null
''' Various kinds of data table (data grid) widgets. ''' from __future__ import absolute_import from ...core.enums import DateFormat, FontStyle, NumeralLanguage, TextAlign, RoundingFunction from ...core.has_props import abstract from ...core.properties import Bool, Color, Either, Enum, Float, Instance, Int, List, Ove...
27.894472
148
0.567375
1,319
11,102
4.75815
0.320698
0.01673
0.011472
0.00956
0.061185
0.050829
0.035214
0.023582
0.012428
0
0
0.057833
0.272654
11,102
397
149
27.964736
0.719381
0.160692
0
0.2375
0
0
0.698216
0.003939
0
0
0
0
0
1
0.004167
false
0.004167
0.029167
0
0.241667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c369d9f55ec1add18f112566e43e5d1593cb89d7
1,291
py
Python
linux-distro/package/nuxleus/Source/Vendor/Microsoft/IronPython-2.0/Samples/DynamicWebServiceHelpers/stocks.py
mdavid/nuxleus
653f1310d8bf08eaa5a7e3326c2349e56a6abdc2
[ "BSD-3-Clause" ]
1
2017-03-28T06:41:51.000Z
2017-03-28T06:41:51.000Z
linux-distro/package/nuxleus/Source/Vendor/Microsoft/IronPython-2.0/Samples/DynamicWebServiceHelpers/stocks.py
mdavid/nuxleus
653f1310d8bf08eaa5a7e3326c2349e56a6abdc2
[ "BSD-3-Clause" ]
null
null
null
linux-distro/package/nuxleus/Source/Vendor/Microsoft/IronPython-2.0/Samples/DynamicWebServiceHelpers/stocks.py
mdavid/nuxleus
653f1310d8bf08eaa5a7e3326c2349e56a6abdc2
[ "BSD-3-Clause" ]
1
2016-12-13T21:08:58.000Z
2016-12-13T21:08:58.000Z
##################################################################################### # # Copyright (c) Microsoft Corporation. All rights reserved. # # This source code is subject to terms and conditions of the Microsoft Public License. A # copy of the license can be found in the License.html file at the root of...
41.645161
101
0.63749
168
1,291
4.89881
0.589286
0.018226
0.065614
0.09113
0.065614
0
0
0
0
0
0
0
0.160341
1,291
30
102
43.033333
0.759225
0.436871
0
0
0
0
0.412109
0.054688
0
0
0
0
0
0
null
null
0
0.2
null
null
0.4
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
c36d0232989da7f245bbb285d27dc0d6c2d21a28
3,973
py
Python
yfrake/client/return_types/base_response.py
aspenforest/yfrake
61c1e1109d4f6860c1c7abeb37238c39480c6eaf
[ "MIT" ]
3
2022-02-21T13:18:15.000Z
2022-03-22T05:30:51.000Z
yfrake/client/return_types/base_response.py
aspenforest/yfrake
61c1e1109d4f6860c1c7abeb37238c39480c6eaf
[ "MIT" ]
1
2022-03-29T17:59:51.000Z
2022-03-30T15:22:33.000Z
yfrake/client/return_types/base_response.py
aspenforest/yfrake
61c1e1109d4f6860c1c7abeb37238c39480c6eaf
[ "MIT" ]
1
2022-03-28T02:48:19.000Z
2022-03-28T02:48:19.000Z
# ==================================================================================== # # base_response.py - This file is part of the YFrake package. # # ------------------------------------------------------------------------------------ # # ...
47.86747
92
0.393657
308
3,973
4.974026
0.425325
0.057441
0.046997
0.06658
0.163185
0.134465
0.134465
0
0
0
0
0.001624
0.380065
3,973
82
93
48.45122
0.620382
0.700982
0
0.25
0
0
0.056859
0
0
0
0
0
0
1
0.305556
false
0
0
0.083333
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c370837f46d4cee1a95bd2164fef84e20e02cad2
210
py
Python
src/bpp/templatetags/just_single_quotes.py
iplweb/django-bpp
85f183a99d8d5027ae4772efac1e4a9f21675849
[ "BSD-3-Clause" ]
1
2017-04-27T19:50:02.000Z
2017-04-27T19:50:02.000Z
src/bpp/templatetags/just_single_quotes.py
mpasternak/django-bpp
434338821d5ad1aaee598f6327151aba0af66f5e
[ "BSD-3-Clause" ]
41
2019-11-07T00:07:02.000Z
2022-02-27T22:09:39.000Z
src/bpp/templatetags/just_single_quotes.py
iplweb/bpp
f027415cc3faf1ca79082bf7bacd4be35b1a6fdf
[ "BSD-3-Clause" ]
null
null
null
# -*- encoding: utf-8 -*- from django import template register = template.Library() @register.filter def just_single_quotes(value): if value: return value.replace("'", "&#39;") return value
16.153846
42
0.652381
25
210
5.4
0.76
0.162963
0
0
0
0
0
0
0
0
0
0.017857
0.2
210
13
43
16.153846
0.785714
0.109524
0
0
0
0
0.032258
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c3770bd946b5bf08dcc49a3094b7af1efbb974b6
12,208
py
Python
py-scripts/test_l3_scenario_throughput.py
yadavnikita/lanforge-scripts
067e75b71cd5c756d87da2fc4856b67e24260cab
[ "BSD-2-Clause-FreeBSD", "BSD-3-Clause" ]
1
2021-09-27T08:45:56.000Z
2021-09-27T08:45:56.000Z
py-scripts/test_l3_scenario_throughput.py
shivamcandela/lanforge-scripts
285c91d7d414567f9c6a136f1556ab9fe7546efb
[ "BSD-2-Clause-FreeBSD", "BSD-3-Clause" ]
null
null
null
py-scripts/test_l3_scenario_throughput.py
shivamcandela/lanforge-scripts
285c91d7d414567f9c6a136f1556ab9fe7546efb
[ "BSD-2-Clause-FreeBSD", "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 ''' This Script Loads the Existing Scenario and Run the Simultaenous Throughput over time and Generate Report and Plot the Graph This Scrip has three classes : 1. LoadScenario : It will load the existing saved scenario to the Lanforge (Here used for Loading Bridged VAP) 2...
36.333333
232
0.672264
1,759
12,208
4.492325
0.20921
0.023032
0.009871
0.004556
0.208302
0.172868
0.140597
0.129461
0.099215
0.088585
0
0.023295
0.21232
12,208
335
233
36.441791
0.798461
0.206504
0
0.12093
1
0.051163
0.130801
0
0
0
0
0
0
1
0.055814
false
0.009302
0.088372
0.009302
0.181395
0.051163
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
c3795b1817f16d514c728ee70c80b5b5f421830f
437
py
Python
components/location.py
botamochi0x12/Python-Roguelike-Framework
230101fb076e3d2a8009ce3320d25cf197192328
[ "MIT" ]
25
2016-12-08T14:31:16.000Z
2021-12-16T11:04:57.000Z
components/location.py
botamochi0x12/Python-Roguelike-Framework
230101fb076e3d2a8009ce3320d25cf197192328
[ "MIT" ]
4
2015-01-10T23:37:02.000Z
2016-08-07T16:23:39.000Z
components/location.py
botamochi0x12/Python-Roguelike-Framework
230101fb076e3d2a8009ce3320d25cf197192328
[ "MIT" ]
11
2016-10-01T20:09:24.000Z
2021-08-15T20:46:14.000Z
from .component import Component class Location(Component): NAME = "location" def __init__(self): super().__init__() # TODO THIS HOLDS ALL THE INFORMATION NEEDED TO LOCATE SOMETHING self.local_x = 0 self.local_y = 0 self.global_x = 0 self.global_y = 0 s...
23
72
0.615561
58
437
4.362069
0.534483
0.142292
0.079051
0
0
0
0
0
0
0
0
0.013201
0.306636
437
18
73
24.277778
0.821782
0.141876
0
0
0
0
0.021448
0
0
0
0
0.055556
0
1
0.153846
false
0
0.076923
0.076923
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
1
0
0
0
0
0
0
0
0
0
0
1
c37a83aba0694804a0c968bc54e7860f14d74ff2
8,266
py
Python
tests/scanner/test_data/fake_groups_scanner_data.py
johnrevans6/forseti-security
d4b907a076ef4caaea9d3232c8fd0ad5822cd2d6
[ "Apache-2.0" ]
null
null
null
tests/scanner/test_data/fake_groups_scanner_data.py
johnrevans6/forseti-security
d4b907a076ef4caaea9d3232c8fd0ad5822cd2d6
[ "Apache-2.0" ]
null
null
null
tests/scanner/test_data/fake_groups_scanner_data.py
johnrevans6/forseti-security
d4b907a076ef4caaea9d3232c8fd0ad5822cd2d6
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 The Forseti Security Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the 'License'); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ap...
54.741722
176
0.670941
1,052
8,266
5.148289
0.131179
0.161743
0.10469
0.099705
0.692947
0.656758
0.634601
0.623892
0.623892
0.605059
0
0.001127
0.141302
8,266
150
177
55.106667
0.761905
0.086257
0
0.125
0
0
0.285714
0.059289
0
0
0
0
0
1
0.041667
false
0
0.020833
0
0.104167
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
c37a92342c2dd8ad255a1af84b21e84c29e09148
1,999
py
Python
pyatv/protocols/mrp/protobuf/SendButtonEventMessage_pb2.py
crxporter/pyatv
e694a210b3810c64044116bf40e7b75420b5fe75
[ "MIT" ]
null
null
null
pyatv/protocols/mrp/protobuf/SendButtonEventMessage_pb2.py
crxporter/pyatv
e694a210b3810c64044116bf40e7b75420b5fe75
[ "MIT" ]
null
null
null
pyatv/protocols/mrp/protobuf/SendButtonEventMessage_pb2.py
crxporter/pyatv
e694a210b3810c64044116bf40e7b75420b5fe75
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: pyatv/protocols/mrp/protobuf/SendButtonEventMessage.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.p...
51.25641
421
0.844422
225
1,999
7.177778
0.386667
0.052012
0.06192
0.074303
0.200619
0.068111
0.068111
0.068111
0.068111
0.068111
0
0.03537
0.066533
1,999
38
422
52.605263
0.830118
0.155578
0
0
1
0.047619
0.298151
0.28384
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
c381accb8165068b177022a11a7fc263210eded6
1,781
py
Python
scripts_v1/22_Save_Proximity_model.py
onebacha/recipe_rec
b72fc68d0b32a54d890af9598d1c3c226a61b004
[ "MIT" ]
null
null
null
scripts_v1/22_Save_Proximity_model.py
onebacha/recipe_rec
b72fc68d0b32a54d890af9598d1c3c226a61b004
[ "MIT" ]
null
null
null
scripts_v1/22_Save_Proximity_model.py
onebacha/recipe_rec
b72fc68d0b32a54d890af9598d1c3c226a61b004
[ "MIT" ]
null
null
null
# %% Packages import os os.chdir('/Users/czarrar/Dropbox/Circle/Jerb/recipe_rec/scripts') import recipe_rec import importlib recipe_rec = importlib.reload(recipe_rec) # %% Read in ingredients recipe_file = '../data/30_ingredients+ave_ratings.csv' recs = recipe_rec.RecipeRec() recs.load_from_csv(recipe_file, index_col...
40.477273
302
0.768108
258
1,781
5.205426
0.581395
0.040208
0.015637
0.01787
0
0
0
0
0
0
0
0.004505
0.127456
1,781
43
303
41.418605
0.859717
0.081415
0
0
0
0.148148
0.664005
0.055897
0
0
0
0
0
1
0
false
0
0.185185
0
0.185185
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5eda3d56585e42f265322b87be05d6cfed2948c4
743
py
Python
web/route.py
icharm/cninfo-sdk
dff3f7fe3044c203d7d9a8c758392053c8b26ee5
[ "MIT" ]
1
2019-04-14T05:37:56.000Z
2019-04-14T05:37:56.000Z
web/route.py
icharm/quantc
dff3f7fe3044c203d7d9a8c758392053c8b26ee5
[ "MIT" ]
null
null
null
web/route.py
icharm/quantc
dff3f7fe3044c203d7d9a8c758392053c8b26ee5
[ "MIT" ]
1
2018-10-18T06:43:43.000Z
2018-10-18T06:43:43.000Z
# -*- coding: UTF-8 -*- """ the url structure of website """ from .handler.index import IndexHandler, ShapeStatisticsHandler from .handler.shape import ShapeDailyHandler, ShapeWeeklyHandler from .handler.stock_data import DailyLineHandler, WeeklyLineHandler from .handler.stock_data import QuotesHandler, CompanyInfoHand...
35.380952
67
0.722746
80
743
6.6375
0.45
0.103578
0.090395
0.112994
0.146893
0
0
0
0
0
0
0.001541
0.126514
743
21
68
35.380952
0.816641
0.068641
0
0
0
0
0.153285
0
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
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
5edc23f7069e6103ae8c52d1cfd959b3be429dac
480
py
Python
cpp_09.py
sitdh/59.com-prog
24f536a72b0467ff3ee1615f515ecff9fbf36bb3
[ "MIT" ]
1
2021-04-25T14:46:12.000Z
2021-04-25T14:46:12.000Z
cpp_09.py
sitdh/com-prog
24f536a72b0467ff3ee1615f515ecff9fbf36bb3
[ "MIT" ]
null
null
null
cpp_09.py
sitdh/com-prog
24f536a72b0467ff3ee1615f515ecff9fbf36bb3
[ "MIT" ]
null
null
null
first_number = int(input()) prime_count = 0 while True: if 1>= first_number: break running_number = first_number divider = first_number // 2 if ( 0 == first_number % 2 ) else ( first_number // 2 ) + 1; count = 0 while divider != 1: if 0 == running_number % divider: c...
17.142857
92
0.55625
63
480
4.031746
0.269841
0.346457
0.141732
0.110236
0.149606
0
0
0
0
0
0
0.050633
0.341667
480
27
93
17.777778
0.753165
0
0
0.111111
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.055556
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
5ee31fb710a0bd129a9758c44413a7279486336f
1,902
py
Python
apis/HelloAPI.py
opengamedata/opengamedata-server
985a4d54d2d7bcc463ad43f4f74a6551cbc7092c
[ "MIT" ]
null
null
null
apis/HelloAPI.py
opengamedata/opengamedata-server
985a4d54d2d7bcc463ad43f4f74a6551cbc7092c
[ "MIT" ]
null
null
null
apis/HelloAPI.py
opengamedata/opengamedata-server
985a4d54d2d7bcc463ad43f4f74a6551cbc7092c
[ "MIT" ]
null
null
null
# Global imports import json from flask import Flask from flask_restful import Resource, Api, reqparse # Local imports from config.config import settings class HelloAPI: @staticmethod def register(app:Flask): api = Api(app) api.add_resource(HelloAPI.Hello, '/hello') api.add_resource(Hel...
27.171429
64
0.444269
175
1,902
4.737143
0.24
0.086852
0.072376
0.224367
0.626055
0.588661
0.588661
0.383595
0.272618
0.272618
0
0
0.435857
1,902
69
65
27.565217
0.7726
0.014721
0
0.5
0
0
0.206307
0
0
0
0
0
0
1
0.116667
false
0
0.066667
0
0.333333
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
5ee43f8eaaf3537fbd2d9245ab6f11073eeeccf4
1,491
py
Python
recipes/bitmagic/all/conanfile.py
dvirtz/conan-center-index
2e7a6337804325616f8d97e3a5b6f66cc72699cb
[ "MIT" ]
1
2021-10-17T19:00:17.000Z
2021-10-17T19:00:17.000Z
recipes/bitmagic/all/conanfile.py
dvirtz/conan-center-index
2e7a6337804325616f8d97e3a5b6f66cc72699cb
[ "MIT" ]
3
2019-11-18T18:42:06.000Z
2021-08-16T14:34:05.000Z
recipes/bitmagic/all/conanfile.py
dvirtz/conan-center-index
2e7a6337804325616f8d97e3a5b6f66cc72699cb
[ "MIT" ]
4
2021-09-04T20:03:40.000Z
2022-02-08T19:15:52.000Z
from conans import ConanFile, tools import os required_conan_version = ">=1.33.0" class BitmagicConan(ConanFile): name = "bitmagic" description = "BitMagic Library helps to develop high-throughput intelligent search systems, " \ "promote combination of hardware optimizations and on the fly ...
38.230769
110
0.661301
174
1,491
5.551724
0.632184
0.07764
0.059006
0
0
0
0
0
0
0
0
0.006814
0.212609
1,491
38
111
39.236842
0.816014
0
0
0
0
0
0.381623
0.014085
0
0
0
0
0
1
0.166667
false
0
0.066667
0.033333
0.566667
0.033333
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
5eeadea6a0ff96d143cd3511438c7b4b702d8246
473
py
Python
shopping_cart_example.py
JonatasFontele/Algorithms_Structured-and-OOP-Exercises
338f1c2f0bd14d52b183dd2572e2ac59bad13d17
[ "MIT" ]
null
null
null
shopping_cart_example.py
JonatasFontele/Algorithms_Structured-and-OOP-Exercises
338f1c2f0bd14d52b183dd2572e2ac59bad13d17
[ "MIT" ]
null
null
null
shopping_cart_example.py
JonatasFontele/Algorithms_Structured-and-OOP-Exercises
338f1c2f0bd14d52b183dd2572e2ac59bad13d17
[ "MIT" ]
null
null
null
from collections import Counter def main(): prices = {"course": 97.99, "book": 54.99, "wallpaper": 4.99} cart = Counter(course=1, book=3, wallpaper=2) total = 0.0 for product, units in cart.items(): subtotal = units * prices[product] price = prices[product] total) +...
24.894737
74
0.55814
60
473
4.283333
0.583333
0.101167
0
0
0
0
0
0
0
0
0
0.061765
0.281184
473
18
75
26.277778
0.691176
0
0
0
0
0.076923
0.18022
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.153846
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
5eed8fe31f55d4ab61ed6132e152cbbd398cd3b7
595
py
Python
crack/hashing/passwdtest.py
wittrup/crap
a77474588fd54a5a998e24df7b1e6e2ab473ded1
[ "MIT" ]
1
2017-12-12T13:58:08.000Z
2017-12-12T13:58:08.000Z
crack/hashing/passwdtest.py
wittrup/crap
a77474588fd54a5a998e24df7b1e6e2ab473ded1
[ "MIT" ]
null
null
null
crack/hashing/passwdtest.py
wittrup/crap
a77474588fd54a5a998e24df7b1e6e2ab473ded1
[ "MIT" ]
1
2019-11-03T10:16:35.000Z
2019-11-03T10:16:35.000Z
import re from passwdformats import FILE_FORMAT # FILE_FORMAT['smbpasswd'] = ['name', 'uid', 'LM_hash', 'NTLM_hash', 'Account Flags', 'Last Change Time'] file = 'target.passwd' file_format = 'custom' userlist = {} pattern = r'(.*)(:)(.*)(:)(.*)(:)(.*)(:)(.*)(:)' f = open(file) for line in f: match = re.match(patt...
29.75
143
0.603361
79
595
4.455696
0.56962
0.142045
0.079545
0.113636
0
0
0
0
0
0
0
0.008114
0.171429
595
19
144
31.315789
0.705882
0.196639
0
0
0
0
0.126316
0.073684
0
0
0
0
0
1
0
false
0.125
0.125
0
0.125
0.1875
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
5ef760ef33212fa2e1b92c05278d7d04e7e5c3ae
9,343
py
Python
Code/Light.py
kergalym/RenderPipeline-version_1_release
3c78b79d44c33781374e870dd8aad03aa6ce1268
[ "WTFPL" ]
null
null
null
Code/Light.py
kergalym/RenderPipeline-version_1_release
3c78b79d44c33781374e870dd8aad03aa6ce1268
[ "WTFPL" ]
null
null
null
Code/Light.py
kergalym/RenderPipeline-version_1_release
3c78b79d44c33781374e870dd8aad03aa6ce1268
[ "WTFPL" ]
null
null
null
from panda3d.core import Vec3, NodePath, LineSegs, Vec4, Shader from panda3d.core import OmniBoundingVolume, Mat4 from panda3d.core import PTAInt from Code.LightType import LightType from Code.DebugObject import DebugObject from Code.ShaderStructArray import ShaderStructElement class Light(ShaderStructElement): ...
32.32872
94
0.613614
1,020
9,343
5.592157
0.283333
0.026648
0.014727
0.021914
0.110273
0.042076
0.042076
0.024895
0.016129
0
0
0.009324
0.299797
9,343
288
95
32.440972
0.86258
0.281066
0
0.198864
0
0
0.0389
0
0
0
0
0
0
1
0.210227
false
0.005682
0.034091
0
0.346591
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
5efc544b2fb766ba7acdba4acff1858b30b35354
432
py
Python
movies/migrations/0012_auto_20190217_1109.py
karol83/MovieDataBase
53a06c069fccc478dc8b19114fb332bd68512579
[ "MIT" ]
null
null
null
movies/migrations/0012_auto_20190217_1109.py
karol83/MovieDataBase
53a06c069fccc478dc8b19114fb332bd68512579
[ "MIT" ]
null
null
null
movies/migrations/0012_auto_20190217_1109.py
karol83/MovieDataBase
53a06c069fccc478dc8b19114fb332bd68512579
[ "MIT" ]
null
null
null
# Generated by Django 2.1.7 on 2019-02-17 10:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('movies', '0011_auto_20190217_1057'), ] operations = [ migrations.AlterField( model_name='movie', name='Poster', ...
22.736842
98
0.615741
50
432
5.2
0.84
0
0
0
0
0
0
0
0
0
0
0.107595
0.268519
432
18
99
24
0.71519
0.104167
0
0
1
0
0.150649
0.05974
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
6f029fec93f43736555f1f1ca31025defbfbbbb5
566
py
Python
sauna/consumers/__init__.py
bubu11e/sauna
d3740d705bc1f44a7a04c0ae1f2391f834c9d0d6
[ "BSD-2-Clause" ]
21
2016-02-22T08:52:07.000Z
2022-03-31T19:40:18.000Z
sauna/consumers/__init__.py
bubu11e/sauna
d3740d705bc1f44a7a04c0ae1f2391f834c9d0d6
[ "BSD-2-Clause" ]
38
2016-02-25T16:02:14.000Z
2021-08-16T18:42:12.000Z
sauna/consumers/__init__.py
bubu11e/sauna
d3740d705bc1f44a7a04c0ae1f2391f834c9d0d6
[ "BSD-2-Clause" ]
14
2016-02-22T19:20:38.000Z
2021-07-02T04:41:53.000Z
class ConsumerRegister: all_consumers = {} def __init__(self, name): self.name = name self.consumer_class = None def consumer(self): def decorator(plugin_cls): self.consumer_class = plugin_cls self.all_consumers[self.name] = { 'consumer_cls':...
24.608696
51
0.572438
58
566
5.327586
0.327586
0.116505
0.165049
0.12945
0
0
0
0
0
0
0
0
0.355124
566
22
52
25.727273
0.846575
0
0
0
0
0
0.021201
0
0
0
0
0
0
1
0.210526
false
0
0
0
0.526316
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
6f0714ef081d1364e5c592e749869e3bb0a86f28
1,710
py
Python
simple_NER/rules/neural.py
OpenJarbas/simple_NER
fcd31cb8759514ae7053f37461fffc9fe66c2eb3
[ "MIT" ]
25
2019-12-26T14:10:47.000Z
2022-03-16T02:17:16.000Z
simple_NER/rules/neural.py
OpenJarbas/simple_NER
fcd31cb8759514ae7053f37461fffc9fe66c2eb3
[ "MIT" ]
null
null
null
simple_NER/rules/neural.py
OpenJarbas/simple_NER
fcd31cb8759514ae7053f37461fffc9fe66c2eb3
[ "MIT" ]
5
2020-08-16T16:38:09.000Z
2022-03-21T16:59:16.000Z
from simple_NER.utils.log import LOG from simple_NER.rules import RuleNER from simple_NER import Entity from os.path import expanduser, isdir, join from os import makedirs try: from padatious import IntentContainer except ImportError: LOG.error("padatious not found, run") LOG.error("pip install fann2==1.0....
34.2
76
0.597076
214
1,710
4.588785
0.364486
0.03666
0.039715
0.03666
0.228106
0.228106
0.179226
0.179226
0.179226
0.179226
0
0.005809
0.295322
1,710
49
77
34.897959
0.809129
0.004678
0
0.097561
0
0
0.121765
0
0
0
0
0.020408
0
1
0.04878
false
0
0.195122
0
0.268293
0.121951
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
6f0a5a00204262e86f9c8ad5982fb4e12986a843
590
py
Python
setup.py
bantalon/csvhandler
9db1a8073de953992f5914e60f9f5304c364bbfd
[ "MIT" ]
null
null
null
setup.py
bantalon/csvhandler
9db1a8073de953992f5914e60f9f5304c364bbfd
[ "MIT" ]
null
null
null
setup.py
bantalon/csvhandler
9db1a8073de953992f5914e60f9f5304c364bbfd
[ "MIT" ]
null
null
null
#!/usr/bin/env python from setuptools import setup, find_packages from csvhandler import VERSION setup(name='csvhandler', version=VERSION, url='https://github.com/bantalon/csvhandler', author="Alon Herbst", author_email="bantalon@gmail.com", description="A command-line utility and Python...
36.875
166
0.701695
76
590
5.394737
0.736842
0.058537
0
0
0
0
0
0
0
0
0
0
0.172881
590
15
167
39.333333
0.840164
0.033898
0
0
0
0.083333
0.448155
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
6f0b0c158eb33c4cbd2d5631cd3c820cb3623070
15,399
py
Python
elevenclock/lang/lang_it.py
npsand/ElevenClock
1663a0be7c1f2cb0bafc5d1e1a71083ac6348c80
[ "Apache-2.0" ]
null
null
null
elevenclock/lang/lang_it.py
npsand/ElevenClock
1663a0be7c1f2cb0bafc5d1e1a71083ac6348c80
[ "Apache-2.0" ]
null
null
null
elevenclock/lang/lang_it.py
npsand/ElevenClock
1663a0be7c1f2cb0bafc5d1e1a71083ac6348c80
[ "Apache-2.0" ]
null
null
null
# INSTRUCTIONS # Translate the text and write it between the " # EXAMPLE: original -> "This text is in english: value {0}" # translation -> "Aquest text està en anglès: valor {0}" # If you see sth like {0}, {1}, maintain it on the translated sentence # Meke special attention to elements like ":...
54.800712
226
0.697188
2,086
15,399
5.113615
0.338926
0.020249
0.006187
0.005625
0.089341
0.06581
0.041436
0.018749
0.006
0
0
0.011206
0.194493
15,399
280
227
54.996429
0.848517
0.048315
0
0.008333
0
0.05
0.792005
0.00369
0
0
0
0
0
1
0
false
0.008333
0.008333
0
0.008333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6f135fd1e3eef124246f417053bdd85216728f7f
19,918
py
Python
coil_geom.py
wjbg/eppy
62f0030111153a13a49e34e64f1783dbc3bf485e
[ "MIT" ]
null
null
null
coil_geom.py
wjbg/eppy
62f0030111153a13a49e34e64f1783dbc3bf485e
[ "MIT" ]
null
null
null
coil_geom.py
wjbg/eppy
62f0030111153a13a49e34e64f1783dbc3bf485e
[ "MIT" ]
null
null
null
"""Generate coil geometries. This module provides functions to generate various coil geometries that can be used in conjuction with the eppy module to calculate eddy currents in flat plates. """ import numpy as np import numpy.typing as npt # ---------------------------------------------------------------------- #...
32.545752
79
0.578221
2,955
19,918
3.861591
0.09577
0.037858
0.077469
0.09114
0.59355
0.534221
0.475944
0.424678
0.397774
0.326878
0
0.029665
0.287479
19,918
611
80
32.599018
0.77438
0.467266
0
0.209302
1
0
0.009996
0
0
0
0
0
0
1
0.065116
false
0
0.009302
0
0.139535
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
6f1864f9a7d51200bc1de9f71e6aecd2b3461c8a
327
py
Python
exe.curso em video/def 43.py
Lorenzo-Lopes/Python-Estudo
7ee623ce29b6a0e9fac48189fbd9c641be84d418
[ "MIT" ]
null
null
null
exe.curso em video/def 43.py
Lorenzo-Lopes/Python-Estudo
7ee623ce29b6a0e9fac48189fbd9c641be84d418
[ "MIT" ]
null
null
null
exe.curso em video/def 43.py
Lorenzo-Lopes/Python-Estudo
7ee623ce29b6a0e9fac48189fbd9c641be84d418
[ "MIT" ]
null
null
null
p = float(input('Digite seu peso: ')) a = float(input('Digite sua altuta: ')) imc =p / (a**2) print('Seu IMC é {:.2f}'.format(imc)) if imc< 18.5: print('Abaixo do peso') elif imc < 25: print('Peso ideal') elif imc < 30: print('sobre peso') elif imc < 40: print('Obesidade') else: print('obesidade mo...
21.8
39
0.605505
52
327
3.807692
0.557692
0.106061
0.161616
0
0
0
0
0
0
0
0
0.042146
0.201835
327
15
40
21.8
0.716475
0
0
0
0
0
0.341463
0
0
0
0
0
0
1
0
false
0
0
0
0
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
6f2059ce0e799bb642ecf3c9c46a6b2a310009c6
623
py
Python
analysis_scripts/check_direction.py
LambdaDigamma/muonic
cc242582168101f1ab444ffdc915f8a007078bc4
[ "Naumen", "Condor-1.1", "MS-PL" ]
3
2015-05-12T14:11:08.000Z
2015-08-09T17:57:59.000Z
analysis_scripts/check_direction.py
LambdaDigamma/muonic
cc242582168101f1ab444ffdc915f8a007078bc4
[ "Naumen", "Condor-1.1", "MS-PL" ]
60
2015-05-12T14:07:25.000Z
2021-12-08T10:17:39.000Z
analysis_scripts/check_direction.py
LambdaDigamma/muonic
cc242582168101f1ab444ffdc915f8a007078bc4
[ "Naumen", "Condor-1.1", "MS-PL" ]
5
2015-06-10T08:34:20.000Z
2021-02-22T21:41:08.000Z
#! /usr/bin/env python """ Calculating the fraction of upgoing events CAUTION: Assuming chan0 is the uppermost and chan1 is below chan0 """ import numpy as n import pylab as p import sys f = open(sys.argv[1]) directions = [] for line in f.readlines(): try: line = line.split() directi...
15.974359
70
0.613162
93
623
4.107527
0.537634
0.102094
0.089005
0.120419
0
0
0
0
0
0
0
0.032538
0.260032
623
38
71
16.394737
0.796095
0.033708
0
0
0
0
0.124211
0
0
0
0
0
0
0
null
null
0.047619
0.142857
null
null
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
1
0
0
0
0
0
0
0
0
1
6f3443d75204239b22ce0568b688999ef9216685
2,385
py
Python
rtb-data/setup.py
jskinn/robotics-toolbox-python
963bb4b8e807259c7aebef45d289dca454b3f4ef
[ "MIT" ]
2
2021-05-26T14:08:35.000Z
2021-11-24T15:55:16.000Z
rtb-data/setup.py
jskinn/robotics-toolbox-python
963bb4b8e807259c7aebef45d289dca454b3f4ef
[ "MIT" ]
null
null
null
rtb-data/setup.py
jskinn/robotics-toolbox-python
963bb4b8e807259c7aebef45d289dca454b3f4ef
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages import pkg_resources import os import sys here = os.path.abspath(os.path.dirname(__file__)) # Get the long description from the README file with open(os.path.join(here, 'README.md'), encoding='utf-8') as f: long_description = f.read() release = "0.9.1" # list all data...
27.413793
118
0.671279
300
2,385
5.226667
0.53
0.047832
0.012755
0.029337
0.091837
0.057398
0
0
0
0
0
0.010005
0.203774
2,385
86
119
27.732558
0.815692
0.327883
0
0
0
0
0.27399
0
0
0
0
0.011628
0
1
0.023256
false
0
0.093023
0
0.139535
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
1
0
0
0
0
0
0
0
0
0
0
1
6f39b9903cac61b446c0ced89168d7cd330216c7
447
py
Python
bin/sqlite_db.py
vczoika/steelprofiles_api
6955197e79f5f8fe16af35d4e6e0a80b19aca157
[ "MIT" ]
3
2021-04-20T21:17:19.000Z
2021-10-02T18:04:13.000Z
bin/sqlite_db.py
vczoika/steelprofiles_api
6955197e79f5f8fe16af35d4e6e0a80b19aca157
[ "MIT" ]
8
2021-10-01T03:26:31.000Z
2021-11-12T12:00:59.000Z
bin/sqlite_db.py
vczoika/steelprofiles_api
6955197e79f5f8fe16af35d4e6e0a80b19aca157
[ "MIT" ]
5
2021-10-01T12:37:43.000Z
2021-10-30T17:54:29.000Z
"""Script for creating a SQLite database from csv files.""" # Standard library imports import sqlite3 from pathlib import Path from glob import glob # Third party imports import pandas as pd conn = sqlite3.connect("steelprofiles.db") assets = Path(__file__).parent.parent / "assets" for f in glob(f"{str(assets)}/*.c...
22.35
59
0.720358
69
447
4.536232
0.623188
0.083067
0
0
0
0
0
0
0
0
0
0.005305
0.1566
447
19
60
23.526316
0.824934
0.221477
0
0
0
0
0.140762
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
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
6f3b134839d76e48ee51a63faffb6261e6e15365
243
py
Python
APIs/Speech-to-Text/test.py
RonnieGandhi/OLIVIA
c075a93893d64d8965ed2d1c278750b8bd819ee9
[ "MIT" ]
null
null
null
APIs/Speech-to-Text/test.py
RonnieGandhi/OLIVIA
c075a93893d64d8965ed2d1c278750b8bd819ee9
[ "MIT" ]
null
null
null
APIs/Speech-to-Text/test.py
RonnieGandhi/OLIVIA
c075a93893d64d8965ed2d1c278750b8bd819ee9
[ "MIT" ]
null
null
null
import requests from scipy.io.wavfile import read,write import io import json import numpy as np base="http://127.0.0.1:5000/" payload={'file':open('test.wav','rb')} r = requests.post(base, files=payload) print(json.loads(r.text)['text'][0])
22.090909
39
0.720165
43
243
4.069767
0.697674
0
0
0
0
0
0
0
0
0
0
0.049774
0.090535
243
11
40
22.090909
0.742081
0
0
0
0
0
0.163934
0
0
0
0
0
0
1
0
false
0
0.555556
0
0.555556
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
6f4092b1e7ab8d30bb38af99560b357837590cad
366
py
Python
tests/tagifai/test_train.py
AntMorais/artclass
bb3b82b4aae15b100ab4d4fe499d1d4168e6ada5
[ "MIT" ]
null
null
null
tests/tagifai/test_train.py
AntMorais/artclass
bb3b82b4aae15b100ab4d4fe499d1d4168e6ada5
[ "MIT" ]
null
null
null
tests/tagifai/test_train.py
AntMorais/artclass
bb3b82b4aae15b100ab4d4fe499d1d4168e6ada5
[ "MIT" ]
null
null
null
# tests/artclass/test_train.py # Test artclass/train.py unit components. import numpy as np from artclass import train def test_find_best_threshold(): y_true = np.array([[1, 0], [0, 1], [0, 0], [1, 1]]) y_prob = np.array([[0.75, 0.25], [0.25, 0.75], [0.25, 0.25], [0.75, 0.75]]) assert train.find_best_th...
28.153846
79
0.650273
71
366
3.183099
0.352113
0.066372
0.070796
0.159292
0.292035
0.097345
0.097345
0.097345
0.097345
0
0
0.113636
0.15847
366
12
80
30.5
0.62013
0.185792
0
0
0
0
0
0
0
0
0
0
0.166667
1
0.166667
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
6f40f65c8b380f7b50cb9669e89f60986fe1a5b8
344
py
Python
runner/app.py
WrathfulSpatula/quantum-benchmarks
ca93438b5f2a5f308109552c1d8b2022a45fe94e
[ "MIT" ]
79
2019-07-03T01:54:30.000Z
2021-04-19T12:28:08.000Z
runner/app.py
WrathfulSpatula/quantum-benchmarks
ca93438b5f2a5f308109552c1d8b2022a45fe94e
[ "MIT" ]
28
2019-07-16T21:03:49.000Z
2021-02-14T14:59:45.000Z
runner/app.py
WrathfulSpatula/quantum-benchmarks
ca93438b5f2a5f308109552c1d8b2022a45fe94e
[ "MIT" ]
21
2019-07-04T05:21:53.000Z
2021-02-22T18:59:47.000Z
#!/usr/bin/env python3 from aws_cdk import core from runner.runner_stack import RunnerStack import os app = core.App() region = os.environ.get("AWS_REGION", "us-west-1") account_id = os.environ.get("AWS_ACCOUNT_ID","566086065616") env = core.Environment(region=region, account=account_id) RunnerStack(app, "runner"...
19.111111
60
0.75
53
344
4.735849
0.471698
0.10757
0.095618
0.119522
0
0
0
0
0
0
0
0.045603
0.107558
344
17
61
20.235294
0.771987
0.061047
0
0
0
0
0.158385
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
6f49d2c274e2e9791de43023187de89e7eb57d45
498
py
Python
setup.py
micha31r/sneaktime
16d9bd47e857e779ef518cf9dde3e61208db3050
[ "MIT" ]
null
null
null
setup.py
micha31r/sneaktime
16d9bd47e857e779ef518cf9dde3e61208db3050
[ "MIT" ]
null
null
null
setup.py
micha31r/sneaktime
16d9bd47e857e779ef518cf9dde3e61208db3050
[ "MIT" ]
null
null
null
""" This is a setup.py script generated by py2applet Usage: python setup.py py2app """ import os from setuptools import setup from glob import glob APP = ['src/main.py'] DATA_FILES = [('resources', glob('src/resources/*', recursive=True))] OPTIONS = { 'argv_emulation': False, } setup( name="sneaktime", ...
19.153846
71
0.650602
67
498
4.746269
0.552239
0.084906
0.056604
0
0
0
0
0
0
0
0
0.009756
0.176707
498
25
72
19.92
0.765854
0.166667
0
0
1
0
0.216216
0
0
0
0
0
0
1
0
false
0
0.1875
0
0.1875
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
6f4ac4a9fe7822571216f1ee64a7e3bd52bbf8ef
895
py
Python
kymatio/phaseexp1d/pyscatwave/build/lib/scatwave/__init__.py
sixin-zh/kymatio_wph
237c0d2009766cf83b2145420a14d3c6e90dc983
[ "BSD-3-Clause" ]
null
null
null
kymatio/phaseexp1d/pyscatwave/build/lib/scatwave/__init__.py
sixin-zh/kymatio_wph
237c0d2009766cf83b2145420a14d3c6e90dc983
[ "BSD-3-Clause" ]
null
null
null
kymatio/phaseexp1d/pyscatwave/build/lib/scatwave/__init__.py
sixin-zh/kymatio_wph
237c0d2009766cf83b2145420a14d3c6e90dc983
[ "BSD-3-Clause" ]
null
null
null
__all__ = [ 'Scattering2D', 'Scattering', 'Scattering1D' ] from .scattering2d.scattering2d import Scattering2D from .scattering1d import Scattering1D from .datasets import fetch_fsdd from .caching import get_cache_dir # Make sure that DeprecationWarning within this p...
28.870968
75
0.663687
96
895
5.927083
0.614583
0.056239
0.010545
0.02109
0.031634
0
0
0
0
0
0
0.017778
0.24581
895
30
76
29.833333
0.825185
0.136313
0
0
0
0
0.155963
0
0
0
0
0
0
1
0.052632
false
0
0.315789
0
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
0
0
0
1
0
0
0
0
1
6f4dc3383af12870ce42938ba31d1b56861bc6f0
8,539
py
Python
utils/update.py
digitalgods1/oasis-grow
9e36d94e76779c72f90a9f3f2eab7fe95383c946
[ "CC0-1.0" ]
8
2021-04-20T20:08:54.000Z
2021-04-24T06:02:32.000Z
utils/update.py
digitalgods1/oasis-grow
9e36d94e76779c72f90a9f3f2eab7fe95383c946
[ "CC0-1.0" ]
12
2021-06-07T16:54:13.000Z
2021-07-18T17:59:24.000Z
utils/update.py
digitalgods1/oasis-grow
9e36d94e76779c72f90a9f3f2eab7fe95383c946
[ "CC0-1.0" ]
3
2021-06-07T15:34:41.000Z
2021-09-01T00:34:48.000Z
#import modules import os import os.path import sys import json import requests from subprocess import Popen import reset_model #set proper path for modules sys.path.append('/home/pi/oasis-grow') sys.path.append('/usr/lib/python37.zip') sys.path.append('/usr/lib/python3.7') sys.path.append('/usr/lib/python3.7/lib-dynl...
44.706806
161
0.630402
1,121
8,539
4.67083
0.223907
0.03094
0.054622
0.074484
0.427044
0.382162
0.353514
0.317991
0.254202
0.254202
0
0.006497
0.26092
8,539
190
162
44.942105
0.823166
0.239021
0
0.27907
0
0
0.308922
0.23398
0
0
0
0
0
0
null
null
0.015504
0.054264
null
null
0.062016
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
6f51059aed32242360a399f9be4a3313a0a8b1fa
428
py
Python
venv/Scripts/wcslint-script.py
temelkirci/Motion_Editor
a8b8d4c4d2dcc9be28385600f56066cef92a38ad
[ "MIT" ]
1
2022-03-02T17:07:20.000Z
2022-03-02T17:07:20.000Z
venv/Scripts/wcslint-script.py
temelkirci/RealTime_6DOF_Motion_Editor
a8b8d4c4d2dcc9be28385600f56066cef92a38ad
[ "MIT" ]
null
null
null
venv/Scripts/wcslint-script.py
temelkirci/RealTime_6DOF_Motion_Editor
a8b8d4c4d2dcc9be28385600f56066cef92a38ad
[ "MIT" ]
null
null
null
#!C:\Users\DOF\Desktop\DOF_Motion_Editor\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'astropy==3.0.5','console_scripts','wcslint' __requires__ = 'astropy==3.0.5' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', ...
32.923077
74
0.682243
65
428
4.169231
0.569231
0.088561
0.099631
0.110701
0.228782
0.228782
0.228782
0
0
0
0
0.029101
0.116822
428
12
75
35.666667
0.687831
0.315421
0
0
0
0
0.278351
0.079038
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
6f53dca51d1f98949ab422d93195aa2c8ea0a756
531
py
Python
plotaPandas.py
heltonbiker/Ecostat
a6e65031f3238691a27bb854d603cc4fee4568a4
[ "MIT" ]
1
2022-03-10T18:33:25.000Z
2022-03-10T18:33:25.000Z
plotaPandas.py
heltonbiker/Ecostat
a6e65031f3238691a27bb854d603cc4fee4568a4
[ "MIT" ]
null
null
null
plotaPandas.py
heltonbiker/Ecostat
a6e65031f3238691a27bb854d603cc4fee4568a4
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np from datetime import datetime import pandas as pd import tkinter as tk from tkinter import filedialog root = tk.Tk() root.withdraw() fname = filedialog.askopenfilename() sampleType = np.dtype([('timestamp', np.uint32), ('temperature', 'f4')]) log = np.fromfile(fna...
19.666667
72
0.730697
81
531
4.765432
0.530864
0.072539
0
0
0
0
0
0
0
0
0
0.02766
0.114878
531
26
73
20.423077
0.793617
0
0
0
0
0
0.094162
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
6f564e59c1cdb6159f9b8bbb8e0b356e12ea4388
765
py
Python
DQMOffline/Trigger/python/VBFSUSYMonitor_cff.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:24:46.000Z
2021-11-30T16:24:46.000Z
DQMOffline/Trigger/python/VBFSUSYMonitor_cff.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
4
2021-11-29T13:57:56.000Z
2022-03-29T06:28:36.000Z
DQMOffline/Trigger/python/VBFSUSYMonitor_cff.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:16:05.000Z
2021-11-30T16:16:05.000Z
import FWCore.ParameterSet.Config as cms from DQMOffline.Trigger.ObjMonitor_cfi import hltobjmonitoring # HLT_Mu8_TrkIsoVVL_DiPFJet40_DEta3p5_MJJ750_HTT300_PFMETNoMu60_v* and VBFSUSYmonitoring = hltobjmonitoring.clone( FolderName = 'HLT/SUSY/VBF/DiJet/', numGenericTriggerEventPSet = dict(hltInputTag = "Trigg...
36.428571
183
0.733333
82
765
6.536585
0.658537
0.100746
0.139925
0.173507
0.205224
0.205224
0.205224
0.205224
0.205224
0
0
0.080063
0.16732
765
20
184
38.25
0.761381
0.147712
0
0
0
0
0.327666
0.199382
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
6f58bb338c890719158406e102800d75ff5b0c31
4,130
py
Python
preprocessing/3.add_fips_code.py
Geneseo/Covid19
cb69e58e1a7aa3196045111f96a861dc7c8560dd
[ "MIT" ]
1
2020-12-20T05:04:02.000Z
2020-12-20T05:04:02.000Z
preprocessing/3.add_fips_code.py
Geneseo/Covid19
cb69e58e1a7aa3196045111f96a861dc7c8560dd
[ "MIT" ]
null
null
null
preprocessing/3.add_fips_code.py
Geneseo/Covid19
cb69e58e1a7aa3196045111f96a861dc7c8560dd
[ "MIT" ]
null
null
null
## Get Census_tract Fips_code import requests import urllib from tqdm import tqdm_notebook as tqdm from tqdm import trange def get_fips_code(x): try: #Sample latitude and longitudes latitude = x['latitude'] longtitude = x['longitude'] #Encode parameters params = urllib.parse.ur...
26.645161
103
0.557143
440
4,130
5.195455
0.443182
0.312773
0.027997
0.019248
0
0
0
0
0
0
0
0.041783
0.3046
4,130
154
104
26.818182
0.754178
0.061259
0
0
0
0
0.187371
0
0
0
0
0
0
1
0.015038
false
0
0.030075
0
0.075188
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
6f59006ff4902383becdf68545dea7760c350c5e
339
py
Python
src/smokeyfeet/minishop/templatetags/shop_extras.py
smokeyfeet/smokeyfeet-registration
6bd8e6bbab8cdbd678a9ec8fe66a1bb036479240
[ "MIT" ]
null
null
null
src/smokeyfeet/minishop/templatetags/shop_extras.py
smokeyfeet/smokeyfeet-registration
6bd8e6bbab8cdbd678a9ec8fe66a1bb036479240
[ "MIT" ]
5
2020-06-02T09:36:10.000Z
2021-06-10T20:05:03.000Z
src/smokeyfeet/minishop/templatetags/shop_extras.py
smokeyfeet/smokeyfeet-registration
6bd8e6bbab8cdbd678a9ec8fe66a1bb036479240
[ "MIT" ]
null
null
null
from django.template import Library from django.urls import resolve register = Library() @register.simple_tag def nav_active(request, url): """ In template: {% nav_active request "url_name_here" %} """ url_name = resolve(request.path).url_name if url_name == url: return "active" else:...
19.941176
57
0.657817
43
339
5
0.511628
0.130233
0.148837
0.176744
0
0
0
0
0
0
0
0
0.233038
339
16
58
21.1875
0.826923
0.156342
0
0
0
0
0.022222
0
0
0
0
0
0
1
0.1
false
0
0.2
0
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
6f5ff7db81f8dfeba1801aafe36adff4d2b28909
3,307
py
Python
tests/hubstorage/test_jobsmeta.py
pardo/python-scrapinghub
13915e3b9549c7e8773f4e9f0481399ca537d4fd
[ "BSD-3-Clause" ]
163
2015-01-23T12:27:14.000Z
2022-03-01T07:53:49.000Z
tests/hubstorage/test_jobsmeta.py
pardo/python-scrapinghub
13915e3b9549c7e8773f4e9f0481399ca537d4fd
[ "BSD-3-Clause" ]
132
2015-01-14T14:23:56.000Z
2022-03-18T14:21:30.000Z
tests/hubstorage/test_jobsmeta.py
pardo/python-scrapinghub
13915e3b9549c7e8773f4e9f0481399ca537d4fd
[ "BSD-3-Clause" ]
49
2015-01-14T13:48:38.000Z
2022-01-20T17:09:44.000Z
""" Test job metadata System tests for operations on stored job metadata """ from ..conftest import TEST_SPIDER_NAME from .conftest import start_job def _assertMetadata(meta1, meta2): def _clean(m): return dict((k, v) for k, v in m.items() if k != 'updated_time') meta1 = _clean(meta1) meta2 = _c...
30.063636
72
0.683399
456
3,307
4.83114
0.208333
0.179755
0.084884
0.043577
0.426691
0.379483
0.307762
0.307762
0.250567
0.20699
0
0.005287
0.199274
3,307
109
73
30.33945
0.826662
0.117327
0
0.4
0
0
0.049948
0
0
0
0
0
0.506667
1
0.093333
false
0
0.026667
0.013333
0.133333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1