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
d202a2fae23eb3abfae3aae3f106d6f9fc098bf2
9,694
py
Python
automl/google/cloud/automl_v1beta1/proto/operations_pb2.py
brianquinlan/google-cloud-python
f9a725c7ab761b5ce609e5d5bb857b360a523d13
[ "Apache-2.0" ]
null
null
null
automl/google/cloud/automl_v1beta1/proto/operations_pb2.py
brianquinlan/google-cloud-python
f9a725c7ab761b5ce609e5d5bb857b360a523d13
[ "Apache-2.0" ]
null
null
null
automl/google/cloud/automl_v1beta1/proto/operations_pb2.py
brianquinlan/google-cloud-python
f9a725c7ab761b5ce609e5d5bb857b360a523d13
[ "Apache-2.0" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/automl_v1beta1/proto/operations.proto import sys _b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from...
36.443609
962
0.694038
1,061
9,694
6.01131
0.211122
0.057071
0.067733
0.071496
0.542803
0.479931
0.417215
0.33349
0.264189
0.216996
0
0.034847
0.218486
9,694
265
963
36.581132
0.807022
0.037858
0
0.4875
1
0.008333
0.317275
0.192275
0
0
0
0
0
1
0
false
0
0.05
0
0.05
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
d202b98aaf19a1902e5d7b7b9457095857cccba3
1,779
py
Python
python/openassetio_mediacreation/trait/entity.py
TheFoundryVisionmongers/OpenAssetIO-MediaCreation
f37fea1d3f4af39898454e3f7613308c85e97743
[ "Apache-2.0" ]
2
2022-02-15T00:58:02.000Z
2022-02-15T01:23:44.000Z
python/openassetio_mediacreation/trait/entity.py
foundrytom/OpenAssetIO-MediaCreation
1e2251cff8b0835e39ba7f30b4eba815f6c199b3
[ "Apache-2.0" ]
null
null
null
python/openassetio_mediacreation/trait/entity.py
foundrytom/OpenAssetIO-MediaCreation
1e2251cff8b0835e39ba7f30b4eba815f6c199b3
[ "Apache-2.0" ]
1
2022-02-14T15:29:50.000Z
2022-02-14T15:29:50.000Z
# SPDX-License-Identifier: Apache-2.0 # Copyright 2013-2022 The Foundry Visionmongers Ltd """ Traits that can be composed within a specification to define characteristics of an entity for resolve or registration. """ from typing import Union from openassetio import Trait class LocatableContentTrait(Trait): """ ...
33.566038
97
0.681282
216
1,779
5.555556
0.509259
0.0275
0.0325
0.026667
0.065
0.065
0.065
0
0
0
0
0.007524
0.252951
1,779
52
98
34.211538
0.89541
0.445194
0
0.111111
0
0
0.134638
0.027618
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d203a0cfaf98170ffd4b5b74ba7cca0515246d36
9,983
py
Python
comix/cli.py
noaione/comix-neo
5e65159027c6ea9b7073afd4f64e92ea845d8fb8
[ "MIT" ]
null
null
null
comix/cli.py
noaione/comix-neo
5e65159027c6ea9b7073afd4f64e92ea845d8fb8
[ "MIT" ]
null
null
null
comix/cli.py
noaione/comix-neo
5e65159027c6ea9b7073afd4f64e92ea845d8fb8
[ "MIT" ]
null
null
null
""" MIT License Copyright (c) 2022-present noaione Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publis...
31.393082
111
0.676049
1,313
9,983
4.999238
0.207921
0.03961
0.036563
0.02925
0.546466
0.522852
0.517063
0.51234
0.488117
0.488117
0
0.001784
0.213763
9,983
317
112
31.492114
0.834501
0.126415
0
0.606557
0
0
0.258625
0.00521
0
0
0
0
0
1
0.028689
false
0.118852
0.057377
0
0.094262
0.008197
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
d205df78c087bae2f81e6eb4fd260aa5dcc9ece6
358
py
Python
roulette/migrations/0008_rename_chance_layout_weight.py
MajorXaker/HuntLototron
14fd635d5e189135a7d91d62f69d6b1efc6d8524
[ "Unlicense" ]
null
null
null
roulette/migrations/0008_rename_chance_layout_weight.py
MajorXaker/HuntLototron
14fd635d5e189135a7d91d62f69d6b1efc6d8524
[ "Unlicense" ]
null
null
null
roulette/migrations/0008_rename_chance_layout_weight.py
MajorXaker/HuntLototron
14fd635d5e189135a7d91d62f69d6b1efc6d8524
[ "Unlicense" ]
null
null
null
# Generated by Django 3.2.9 on 2021-12-09 07:08 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('roulette', '0007_slots_weight'), ] operations = [ migrations.RenameField( model_name='layout', old_name='chance', ...
18.842105
47
0.578212
38
358
5.315789
0.815789
0
0
0
0
0
0
0
0
0
0
0.076613
0.307263
358
18
48
19.888889
0.737903
0.125698
0
0
1
0
0.138264
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d2088f02c3f996a18d1b900f11dcc2a96790f230
562
py
Python
Python/Pandas/combineColumns.py
jbrdge/HelpfulShellScripts
7ab1d0843e2fad89105c4bc9bc7afbf1ed0a72e2
[ "MIT" ]
1
2020-09-17T18:40:09.000Z
2020-09-17T18:40:09.000Z
Python/Pandas/combineColumns.py
jbrdge/Recipes
7ab1d0843e2fad89105c4bc9bc7afbf1ed0a72e2
[ "MIT" ]
null
null
null
Python/Pandas/combineColumns.py
jbrdge/Recipes
7ab1d0843e2fad89105c4bc9bc7afbf1ed0a72e2
[ "MIT" ]
null
null
null
import pandas as pd import itertools cat_features = ['col1', 'co2', 'col3', 'col4', 'col5'] def combine_colums(df, cat_features) df_combine = pd.DataFrame(index=df.index) for colA, colB in itertools.combinations(cat_features, 2): new_col_name = '_'.join([colA, colB]) ...
37.466667
76
0.624555
69
562
4.869565
0.594203
0.098214
0.059524
0
0
0
0
0
0
0
0
0.014354
0.256228
562
15
77
37.466667
0.789474
0.053381
0
0
0
0
0.039548
0
0
0
0
0
0
0
null
null
0
0.2
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
d20b4aba8dd2cbb509525d2d5fb0d6e2029b671d
830
py
Python
pyarubaoss/auth.py
HPENetworking/pyarubaoss
0f7233d4fac9193395d4ac8ba34eada4a0757054
[ "Apache-2.0" ]
8
2017-05-12T09:29:01.000Z
2020-11-09T16:56:15.000Z
pyarubaoss/auth.py
HPENetworking/pyarubaoss
0f7233d4fac9193395d4ac8ba34eada4a0757054
[ "Apache-2.0" ]
2
2017-05-13T12:44:39.000Z
2018-11-19T19:57:31.000Z
pyarubaoss/auth.py
HPENetworking/pyarubaoss
0f7233d4fac9193395d4ac8ba34eada4a0757054
[ "Apache-2.0" ]
10
2017-05-12T09:29:02.000Z
2022-03-10T20:04:06.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import requests, json class AOSSAuth(): """ This class requests and stores an authentication cookie for the Aruba AOS Switch Software. """ def __init__(self, switchip, username, password, version="v3"): url_login = "http://" + switchip + "/rest...
29.642857
79
0.627711
99
830
5.151515
0.555556
0.062745
0.047059
0.07451
0
0
0
0
0
0
0
0.007825
0.23012
830
27
80
30.740741
0.790297
0.160241
0
0
0
0
0.13373
0.068351
0
0
0
0
0
1
0.142857
false
0.142857
0.071429
0
0.357143
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
d20bc3947f36ed0d55586b8bce8ccced0498149a
2,309
py
Python
test/test_cells_clear_object_api.py
aspose-cells-cloud/aspose-cells-cloud-python
0189236d38053dc67f7edc754b5101f17262cee8
[ "MIT" ]
3
2018-05-23T03:16:26.000Z
2020-11-07T11:42:41.000Z
test/test_cells_clear_object_api.py
aspose-cells-cloud/aspose-cells-cloud-python
0189236d38053dc67f7edc754b5101f17262cee8
[ "MIT" ]
null
null
null
test/test_cells_clear_object_api.py
aspose-cells-cloud/aspose-cells-cloud-python
0189236d38053dc67f7edc754b5101f17262cee8
[ "MIT" ]
4
2018-08-29T18:45:05.000Z
2021-03-25T07:59:56.000Z
# coding: utf-8 from __future__ import absolute_import import os import sys import unittest import warnings ABSPATH = os.path.abspath(os.path.realpath(os.path.dirname(__file__)) + "/..") sys.path.append(ABSPATH) import asposecellscloud from asposecellscloud.rest import ApiException from asposecellscloud.apis.lite_ce...
42.759259
153
0.685145
271
2,309
5.549816
0.236162
0.075798
0.083777
0.079787
0.595745
0.49734
0.49734
0.49734
0.49734
0.49734
0
0.009886
0.167605
2,309
53
154
43.566038
0.772633
0.017324
0
0.302326
0
0
0.154288
0
0
0
0
0
0
1
0.139535
false
0.116279
0.209302
0
0.372093
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
d20c9068d081d7b7ecfa6e1f7ce96338ac1044f1
585
py
Python
awx/main/migrations/0129_unifiedjob_installed_collections.py
bhyunki/awx
ce588a6af5a5c7f71a5b176ffe53eda5ebc3492c
[ "Apache-2.0" ]
11,396
2017-09-07T04:56:02.000Z
2022-03-31T13:56:17.000Z
awx/main/migrations/0129_unifiedjob_installed_collections.py
bhyunki/awx
ce588a6af5a5c7f71a5b176ffe53eda5ebc3492c
[ "Apache-2.0" ]
11,046
2017-09-07T09:30:46.000Z
2022-03-31T20:28:01.000Z
awx/main/migrations/0129_unifiedjob_installed_collections.py
TinLe/awx
73d8c12e3bf5b193305ed1202549331ea00088c1
[ "Apache-2.0" ]
3,592
2017-09-07T04:14:31.000Z
2022-03-31T23:53:09.000Z
# Generated by Django 2.2.16 on 2021-02-16 20:27 import awx.main.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('main', '0128_organiaztion_read_roles_ee_admin'), ] operations = [ migrations.AddField( model_name='unifiedjob', ...
26.590909
144
0.641026
65
585
5.646154
0.769231
0.038147
0.070845
0
0
0
0
0
0
0
0
0.046404
0.263248
585
21
145
27.857143
0.805104
0.078632
0
0.133333
1
0
0.271881
0.108007
0
0
0
0
0
1
0
false
0
0.133333
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
d20d7806b70e7911b94e3305bb0da16760a90a43
714
py
Python
src/box/token.py
p-ranav/box
9060343cd4960894da220c4f244535623a54ff98
[ "MIT" ]
91
2021-07-02T06:00:57.000Z
2022-03-04T02:51:05.000Z
src/box/token.py
p-ranav/box
9060343cd4960894da220c4f244535623a54ff98
[ "MIT" ]
1
2021-07-07T03:42:32.000Z
2021-07-07T13:45:00.000Z
src/box/token.py
p-ranav/box
9060343cd4960894da220c4f244535623a54ff98
[ "MIT" ]
2
2021-07-02T06:01:02.000Z
2021-11-16T21:10:38.000Z
class Token: TOP_LEFT = "┌" TOP_RIGHT = "┐" BOTTOM_LEFT = "└" BOTTOM_RIGHT = "┘" HORIZONTAL = "─" BOX_START = TOP_LEFT + HORIZONTAL VERTICAL = "│" INPUT_PORT = "┼" OUTPUT_PORT = "┼" FUNCTION = "ƒ" COMMENT = "/*...*/" SINGLE_QUOTE = "'" DOUBLE_QUOTE = '"' LEFT_PARE...
25.5
42
0.572829
83
714
4.698795
0.506024
0.035897
0
0
0
0
0
0
0
0
0
0
0.267507
714
27
43
26.444444
0.726577
0
0
0
0
0
0.128852
0
0
0
0
0
0
1
0
false
0
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
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d20da37e897d70b375caeeef44464cb6f9db4a43
12,532
py
Python
tests/clitests/runtests.py
yyx990803/casperjs
414f83d2508a39b962a78b23d98e94d973db7cb6
[ "MIT" ]
4
2015-11-08T20:39:19.000Z
2022-01-11T13:05:41.000Z
tests/clitests/runtests.py
yyx990803/casperjs
414f83d2508a39b962a78b23d98e94d973db7cb6
[ "MIT" ]
null
null
null
tests/clitests/runtests.py
yyx990803/casperjs
414f83d2508a39b962a78b23d98e94d973db7cb6
[ "MIT" ]
null
null
null
#!/usr/bin/env python import json import os import signal import subprocess import unittest TEST_ROOT = os.path.abspath(os.path.dirname(__file__)) CASPERJS_ROOT = os.path.abspath(os.path.join(TEST_ROOT, '..', '..')) CASPER_EXEC = os.path.join(CASPERJS_ROOT, 'bin', 'casperjs') PHANTOMJS_EXEC = os.environ['PHANTOMJS_EX...
33.508021
80
0.60142
1,361
12,532
5.349743
0.152829
0.052191
0.051092
0.068123
0.656641
0.616674
0.533443
0.514902
0.476446
0.421371
0
0.017822
0.279125
12,532
373
81
33.597855
0.788134
0.017794
0
0.524272
0
0
0.182084
0.016501
0
0
0
0
0.152104
1
0.148867
false
0.080906
0.016181
0
0.210356
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
d20da80f9439629a58f27658c8238a06788cc741
520
py
Python
setup.py
projectweekend/Pi-Broadcast-Service
7c03590dd4050f8c0e9662cbd44d349d4afa5b10
[ "MIT" ]
null
null
null
setup.py
projectweekend/Pi-Broadcast-Service
7c03590dd4050f8c0e9662cbd44d349d4afa5b10
[ "MIT" ]
null
null
null
setup.py
projectweekend/Pi-Broadcast-Service
7c03590dd4050f8c0e9662cbd44d349d4afa5b10
[ "MIT" ]
null
null
null
from distutils.core import setup setup( name='Pi-Broadcast-Service', version='0.0.3', author='Brian Hines', author_email='brian@projectweekend.net', packages=['pi_broadcast_service'], url='http://projectweekend.github.io/Pi-Broadcast-Service', license='LICENSE.txt', description='Broadca...
28.888889
78
0.655769
66
520
5.090909
0.666667
0.098214
0.160714
0
0
0
0
0
0
0
0
0.021127
0.180769
520
17
79
30.588235
0.767606
0
0
0
0
0
0.486538
0.046154
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
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
d21a538acf6a2f7e50f8b976a1601710d331839d
235
py
Python
examples/arnoldc_rockstar.py
johniek/meteor-rock
8a6eb3d0966f9a4717293d1d7ee9954aa340c304
[ "MIT" ]
1
2021-07-31T23:33:42.000Z
2021-07-31T23:33:42.000Z
examples/arnoldc_rockstar.py
gombirot/rockstar
3b8956bbe931a0ac12b6c435f490af524e59bcc4
[ "MIT" ]
1
2015-07-22T12:26:06.000Z
2015-07-22T12:26:06.000Z
examples/arnoldc_rockstar.py
johniek/meteor-rock
8a6eb3d0966f9a4717293d1d7ee9954aa340c304
[ "MIT" ]
null
null
null
from RockStar import RockStar arnoldc_code = """IT'S SHOWTIME TALK TO THE HAND "Hello World" YOU HAVE BEEN TERMINATED""" rock_it_bro = RockStar(days=400, file_name='hello.arnoldc', code=arnoldc_code) rock_it_bro.make_me_a_rockstar()
26.111111
78
0.787234
39
235
4.487179
0.692308
0.188571
0.102857
0
0
0
0
0
0
0
0
0.014354
0.110638
235
8
79
29.375
0.822967
0
0
0
0
0
0.348936
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
d21adc30afb14b071d627a69472a1ab61bd75fae
5,124
py
Python
scripts/obix/get_obix_history_config.py
rmay-intwine/volttron
a449f70e32f73ff0136a838d0feddb928ede6298
[ "Apache-2.0" ]
1
2019-03-07T22:22:30.000Z
2019-03-07T22:22:30.000Z
scripts/obix/get_obix_history_config.py
rmay-intwine/volttron
a449f70e32f73ff0136a838d0feddb928ede6298
[ "Apache-2.0" ]
null
null
null
scripts/obix/get_obix_history_config.py
rmay-intwine/volttron
a449f70e32f73ff0136a838d0feddb928ede6298
[ "Apache-2.0" ]
1
2019-04-04T17:13:46.000Z
2019-04-04T17:13:46.000Z
# Copyright (c) 2018, Battelle Memorial Institute # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, this # list of co...
38.818182
91
0.738681
688
5,124
5.469477
0.427326
0.02126
0.023917
0.026575
0.143768
0.123306
0.105767
0.090353
0.067499
0.067499
0
0.004977
0.17662
5,124
131
92
39.114504
0.88694
0.56694
0
0
0
0
0.242606
0.009704
0
0
0
0
0
1
0.018182
false
0.145455
0.127273
0
0.163636
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
d22648588a5f914fe2e164c22ca676919eed6a43
35,676
py
Python
src/index.py
darobin/critic
9d09f3ae45d0b37fb899c5323409c06e8622a2a1
[ "Apache-2.0", "MIT" ]
1
2020-12-04T18:43:10.000Z
2020-12-04T18:43:10.000Z
src/index.py
darobin/critic
9d09f3ae45d0b37fb899c5323409c06e8622a2a1
[ "Apache-2.0", "MIT" ]
null
null
null
src/index.py
darobin/critic
9d09f3ae45d0b37fb899c5323409c06e8622a2a1
[ "Apache-2.0", "MIT" ]
null
null
null
# -*- mode: python; encoding: utf-8 -*- # # Copyright 2012 Jens Lindström, Opera Software ASA # # 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...
40.67959
219
0.570131
3,969
35,676
5.047115
0.132779
0.024012
0.016124
0.020367
0.413538
0.347893
0.292133
0.255092
0.197734
0.16893
0
0.009856
0.340173
35,676
876
220
40.726027
0.841122
0.054546
0
0.388802
0
0.013997
0.279706
0.013921
0
0
0
0
0.004666
0
null
null
0.010886
0.03577
null
null
0.024883
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
d2298052707ff94071602c81febf8081fb31943c
1,036
py
Python
core/models.py
ljod-is/poetcave
6d7fbc5c1e2b376a5693b906b5513efc35d085f8
[ "MIT" ]
2
2021-11-16T16:08:05.000Z
2021-11-24T17:02:53.000Z
core/models.py
ljod-is/poetcave
6d7fbc5c1e2b376a5693b906b5513efc35d085f8
[ "MIT" ]
null
null
null
core/models.py
ljod-is/poetcave
6d7fbc5c1e2b376a5693b906b5513efc35d085f8
[ "MIT" ]
null
null
null
from django.contrib.auth.models import AbstractUser from django.db import models from django.urls import reverse class User(AbstractUser): # Fields beginning with `contact_` are only intende for use by # administrators, not for displaying on the web. contact_name = models.CharField(max_length=100) cont...
41.44
79
0.752896
141
1,036
5.397163
0.539007
0.098555
0.118265
0.157687
0.201051
0.134034
0.134034
0.134034
0.134034
0.134034
0
0.013714
0.155405
1,036
24
80
43.166667
0.856
0.221042
0
0
0
0
0.004994
0
0
0
0
0
0
1
0.071429
false
0
0.214286
0.071429
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d22d39b961df7ceef1e845bfe6f6d4f4bc567145
5,029
py
Python
gen/py/divider/v1/divider_pb2.py
sato-mh/distributed-calculator
8d044084a0f70effe5264f3a726962e3ac8da7f5
[ "MIT" ]
null
null
null
gen/py/divider/v1/divider_pb2.py
sato-mh/distributed-calculator
8d044084a0f70effe5264f3a726962e3ac8da7f5
[ "MIT" ]
null
null
null
gen/py/divider/v1/divider_pb2.py
sato-mh/distributed-calculator
8d044084a0f70effe5264f3a726962e3ac8da7f5
[ "MIT" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: divider/v1/divider.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflectio...
35.167832
597
0.764764
616
5,029
5.978896
0.272727
0.04643
0.105892
0.068422
0.46158
0.446375
0.382297
0.331252
0.331252
0.305186
0
0.03853
0.107178
5,029
142
598
35.415493
0.781737
0.065023
0
0.474138
1
0.025862
0.275612
0.237913
0
0
0
0
0
1
0
false
0
0.051724
0
0.051724
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
d22d57949970a5a8d384f6fc0dd53ffbdfa0645d
11,618
py
Python
analysis/cancer_analyses.py
jmschrei/discern
50b6f03d070604479c160569cca9ef7f031ff38d
[ "MIT" ]
1
2020-04-18T09:53:58.000Z
2020-04-18T09:53:58.000Z
analysis/cancer_analyses.py
jmschrei/discern
50b6f03d070604479c160569cca9ef7f031ff38d
[ "MIT" ]
null
null
null
analysis/cancer_analyses.py
jmschrei/discern
50b6f03d070604479c160569cca9ef7f031ff38d
[ "MIT" ]
null
null
null
import matplotlib matplotlib.use('pdf') from discern import * import time import sys from LNS import * from scipy.stats import fisher_exact, f_oneway as anova # I personally find these tests to be extremely poor indicators of LNS or DISCERN # effectiveness. DISCERN and LNS try to identify perturbations in the conditi...
41.198582
129
0.719573
1,808
11,618
4.49115
0.194137
0.02069
0.009975
0.016379
0.207882
0.17032
0.134975
0.117241
0.117241
0.096182
0
0.014229
0.153124
11,618
281
130
41.345196
0.811058
0.169392
0
0.100671
0
0
0.159969
0.05311
0
0
0
0
0.006711
0
null
null
0
0.060403
null
null
0.060403
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
d22ddf851820713d6e2d8e880b75448a08c3d45f
199
py
Python
ex066.py
danilodelucio/Exercicios_Curso_em_Video
d59e1b4efaf27dd0fc828a608201613c69ac333d
[ "MIT" ]
null
null
null
ex066.py
danilodelucio/Exercicios_Curso_em_Video
d59e1b4efaf27dd0fc828a608201613c69ac333d
[ "MIT" ]
null
null
null
ex066.py
danilodelucio/Exercicios_Curso_em_Video
d59e1b4efaf27dd0fc828a608201613c69ac333d
[ "MIT" ]
null
null
null
n = soma = cont = 0 while True: n = int(input('Digite um número: ')) if n == 999: break cont += 1 soma += n print(f'Foram digitados {cont} números, e a soma total é {soma}.')
24.875
66
0.552764
32
199
3.4375
0.75
0
0
0
0
0
0
0
0
0
0
0.035971
0.301508
199
8
66
24.875
0.755396
0
0
0
0
0
0.375
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
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
d22fd6a1cc5b180fad002c612f80be5f6cd343e8
2,895
py
Python
users/Class_Users.py
rafael-ds/App_Mercearia
1c04dc0a7d715ab2cc8aa3c41906b02b11854651
[ "MIT" ]
1
2021-11-04T10:47:12.000Z
2021-11-04T10:47:12.000Z
users/Class_Users.py
rafael-ds/App_Mercearia
1c04dc0a7d715ab2cc8aa3c41906b02b11854651
[ "MIT" ]
null
null
null
users/Class_Users.py
rafael-ds/App_Mercearia
1c04dc0a7d715ab2cc8aa3c41906b02b11854651
[ "MIT" ]
null
null
null
import csv # Objeto usuarios tanto ADM quanto OPR class Usuario: numero_id = 0 # Ao reiniciar o APP o contador volta a posição 1 def __init__(self, nome, senha, cargo): self.__id = Usuario.numero_id + 1 self.__nome = nome self.__senha = senha self.__cargo = cargo Usua...
26.081081
92
0.568221
366
2,895
4.393443
0.215847
0.029851
0.033582
0.070896
0.720771
0.675995
0.675995
0.675995
0.637438
0.637438
0
0.007285
0.288774
2,895
110
93
26.318182
0.773677
0.149568
0
0.523077
0
0
0.090232
0
0
0
0
0
0
1
0.169231
false
0
0.015385
0.061538
0.307692
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
d232de45cd3115da8d9c8dc6d4f42e49a5f5f5b6
14,492
py
Python
commands/network.py
prometheanfire/openstack-guest-agents-unix
6c5b7a67045d811cd1170cd816342d829a9cb8d2
[ "Apache-2.0" ]
1
2015-11-05T16:34:56.000Z
2015-11-05T16:34:56.000Z
commands/network.py
prometheanfire/openstack-guest-agents-unix
6c5b7a67045d811cd1170cd816342d829a9cb8d2
[ "Apache-2.0" ]
null
null
null
commands/network.py
prometheanfire/openstack-guest-agents-unix
6c5b7a67045d811cd1170cd816342d829a9cb8d2
[ "Apache-2.0" ]
null
null
null
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # # Copyright (c) 2011 Openstack, 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...
31.850549
88
0.550511
1,702
14,492
4.623972
0.233255
0.007624
0.004193
0.008895
0.152859
0.101652
0.060483
0.052097
0.04371
0.04371
0
0.047063
0.338739
14,492
454
89
31.920705
0.774183
0.14615
0
0.148649
0
0
0.13927
0
0
0
0
0.002203
0
0
null
null
0.003378
0.077703
null
null
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d23bca30ccaf65b685782a298dffaaa76d2ed693
976
py
Python
Projects/Online Workouts/w3resource/Basic - Part-I/program-79.py
ivenpoker/Python-Projects
2975e1bd687ec8dbcc7a4842c13466cb86292679
[ "MIT" ]
1
2019-09-23T15:51:45.000Z
2019-09-23T15:51:45.000Z
Projects/Online Workouts/w3resource/Basic - Part-I/program-79.py
ivenpoker/Python-Projects
2975e1bd687ec8dbcc7a4842c13466cb86292679
[ "MIT" ]
5
2021-02-08T20:47:19.000Z
2022-03-12T00:35:44.000Z
Projects/Online Workouts/w3resource/Basic - Part-I/program-79.py
ivenpoker/Python-Projects
2975e1bd687ec8dbcc7a4842c13466cb86292679
[ "MIT" ]
null
null
null
# !/usr/bin/env python3 ####################################################################################### # # # Program purpose: Get the size of an object in bytes. # # Program Author : Happi...
40.666667
87
0.331967
72
976
4.388889
0.569444
0.075949
0.113924
0.151899
0.202532
0.14557
0
0
0
0
0
0.027491
0.403689
976
23
88
42.434783
0.515464
0.32377
0
0.2
0
0
0.539359
0.227405
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.5
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
d23e15931888b3e3fe2d5f7d7a410e4ac856f3c8
16,243
py
Python
autotabular/metalearning/metalearning/create_datasets.py
jianzhnie/AutoTabular
fb407300adf97532a26d33f7442d2a606fa30512
[ "Apache-2.0" ]
48
2021-09-06T08:09:26.000Z
2022-03-28T13:02:54.000Z
autotabular/metalearning/metalearning/create_datasets.py
Fanxingye/Autotabular
d630c78290a52f8c73885afb16884e18135c34f6
[ "Apache-2.0" ]
null
null
null
autotabular/metalearning/metalearning/create_datasets.py
Fanxingye/Autotabular
d630c78290a52f8c73885afb16884e18135c34f6
[ "Apache-2.0" ]
7
2021-09-23T07:28:46.000Z
2021-10-02T21:15:18.000Z
import itertools import logging import numpy as np import pandas as pd import scipy.stats def create_regression_dataset(metafeatures, experiments): X = [] X_indices = [] Y = [] for dataset_name in experiments: experiment = experiments[dataset_name] mf = metafeatures.loc[dataset_name] ...
40.811558
91
0.617805
2,020
16,243
4.786634
0.158911
0.024822
0.013031
0.015514
0.550005
0.489192
0.435929
0.431896
0.4139
0.397456
0
0.01539
0.275934
16,243
397
92
40.914358
0.806734
0.051345
0
0.512658
0
0
0.064987
0
0
0
0
0.010076
0.063291
1
0.018987
false
0.006329
0.031646
0
0.06962
0.012658
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
d2418ca6d053fc024f01832fe2b575f801f0e74a
3,256
py
Python
bin/aggregate_wifi_monitor_data.py
educ-hack/wifi-data-viewer
37cbef12e891fdba1a86b382b3596e210f831b57
[ "MIT" ]
null
null
null
bin/aggregate_wifi_monitor_data.py
educ-hack/wifi-data-viewer
37cbef12e891fdba1a86b382b3596e210f831b57
[ "MIT" ]
null
null
null
bin/aggregate_wifi_monitor_data.py
educ-hack/wifi-data-viewer
37cbef12e891fdba1a86b382b3596e210f831b57
[ "MIT" ]
null
null
null
from clingon import clingon import subprocess import os import select #from: http://stackoverflow.com/questions/7729336/how-can-i-print-and-display-subprocess-stdout-and-stderr-output-without-distorti/7730201#7730201 import fcntl import errno import jsonpickle import datetime import re SNIFFER_ID = "antoine" def par...
25.84127
146
0.562654
398
3,256
4.494975
0.379397
0.030743
0.012297
0.016769
0.048072
0.027949
0
0
0
0
0
0.013222
0.303133
3,256
125
147
26.048
0.775231
0.04699
0
0.066667
0
0
0.070279
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.077778
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
d242a84dbaa725673ca6b8bc562ee7098ae2ed38
4,275
py
Python
plaso/parsers/jsonl_plugins/docker_container_log.py
rick-slin/plaso
8685bd1689cbbaea78ebf723881a842eeaf94c35
[ "Apache-2.0" ]
null
null
null
plaso/parsers/jsonl_plugins/docker_container_log.py
rick-slin/plaso
8685bd1689cbbaea78ebf723881a842eeaf94c35
[ "Apache-2.0" ]
null
null
null
plaso/parsers/jsonl_plugins/docker_container_log.py
rick-slin/plaso
8685bd1689cbbaea78ebf723881a842eeaf94c35
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """JSON-L parser plugin for Docker container log files.""" from dfdatetime import semantic_time as dfdatetime_semantic_time from dfdatetime import time_elements as dfdatetime_time_elements from plaso.containers import events from plaso.containers import time_events from plaso.lib import defini...
32.633588
80
0.736842
499
4,275
6.092184
0.284569
0.08125
0.047368
0.016776
0.234868
0.194737
0.194737
0.194737
0.194737
0.140132
0
0.004298
0.183626
4,275
130
81
32.884615
0.866762
0.292398
0
0.190476
0
0
0.065585
0.008975
0
0
0
0.015385
0
1
0.079365
false
0
0.111111
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
1
0
0
0
0
0
0
0
0
0
0
1
d242b8f65e59a893ded9c57b32d0df94ab950d7a
432
py
Python
Taller Funciones/Untitled-2.py
SantiVillarreal/Taller_Estructuras
577f2b50d0fc7210ca9e27670cbf64323ee79fcc
[ "MIT" ]
null
null
null
Taller Funciones/Untitled-2.py
SantiVillarreal/Taller_Estructuras
577f2b50d0fc7210ca9e27670cbf64323ee79fcc
[ "MIT" ]
null
null
null
Taller Funciones/Untitled-2.py
SantiVillarreal/Taller_Estructuras
577f2b50d0fc7210ca9e27670cbf64323ee79fcc
[ "MIT" ]
null
null
null
""" Entradas: lista-->list-->lista elemento->str-->elemento Salidas lista-->lista """ frutas = open('frutas.txt', 'r') lista_frutas = [] for i in frutas: lista_frutas.append(i) def eliminar_un_caracter(lista: list, elemento: str): auxilar = [] for i in lista: a = i.replace(elemento, "") auxilar.append(a...
20.571429
53
0.675926
59
432
4.694915
0.457627
0.158845
0.043321
0.166065
0
0
0
0
0
0
0
0
0.157407
432
21
54
20.571429
0.760989
0.178241
0
0
0
0
0.057637
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.153846
0.076923
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d249762c8bd0049a6bfd06c4cf2e6debd08c8bb7
4,752
py
Python
practice/prep3.py
hykilpikonna/CSC110
12a4f9361e0c79fe03cafa3c283eb96706359f46
[ "MIT" ]
null
null
null
practice/prep3.py
hykilpikonna/CSC110
12a4f9361e0c79fe03cafa3c283eb96706359f46
[ "MIT" ]
null
null
null
practice/prep3.py
hykilpikonna/CSC110
12a4f9361e0c79fe03cafa3c283eb96706359f46
[ "MIT" ]
null
null
null
"""CSC110 Fall 2020 Prep 3: Programming Exercises Instructions (READ THIS FIRST!) =============================== This Python module contains several function headers and descriptions. Your task is to complete this module by doing the following for EACH function below: 1. Write precondition expressions in each funct...
35.462687
88
0.694865
725
4,752
4.486897
0.348966
0.022133
0.02613
0.007378
0.071934
0.03443
0.03443
0
0
0
0
0.026365
0.209806
4,752
133
89
35.729323
0.839947
0.786827
0
0
0
0
0.081114
0
0
0
0
0.015038
0
1
0.142857
false
0
0.190476
0
0.47619
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
d250506bc7aa971ddc1ea61123f475aaa50c6fca
560
py
Python
examples/healthcare/mimic_architecture_search_test.py
TianhaoFu/MultiBench
b174a3187124d6f92be1ff3b487eef292f7883bb
[ "MIT" ]
null
null
null
examples/healthcare/mimic_architecture_search_test.py
TianhaoFu/MultiBench
b174a3187124d6f92be1ff3b487eef292f7883bb
[ "MIT" ]
null
null
null
examples/healthcare/mimic_architecture_search_test.py
TianhaoFu/MultiBench
b174a3187124d6f92be1ff3b487eef292f7883bb
[ "MIT" ]
null
null
null
import sys import os sys.path.append(os.getcwd()) from training_structures.architecture_search import train,test from fusions.common_fusions import Concat from datasets.mimic.get_data import get_dataloader from unimodals.common_models import LeNet,MLP,Constant from torch import nn import torch import utils.surrogate as...
32.941176
87
0.801786
84
560
5.25
0.595238
0.058957
0
0
0
0
0
0
0
0
0
0.00789
0.094643
560
16
88
35
0.861933
0.0875
0
0
0
0
0.076621
0
0
0
0
0
0
1
0
false
0
0.692308
0
0.692308
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
d2524f1792116f4afca54c89f4d9457db32e9527
8,680
py
Python
oi/interact/fillin_json.py
OliverS18/WiseBuyer
864641cf424ac10f4bb84589bc18affb9f1e2fbc
[ "MIT" ]
3
2019-11-30T15:46:19.000Z
2021-11-03T14:28:30.000Z
oi/interact/fillin_json.py
OliverS18/CouponCalculator
864641cf424ac10f4bb84589bc18affb9f1e2fbc
[ "MIT" ]
null
null
null
oi/interact/fillin_json.py
OliverS18/CouponCalculator
864641cf424ac10f4bb84589bc18affb9f1e2fbc
[ "MIT" ]
1
2020-01-09T02:29:18.000Z
2020-01-09T02:29:18.000Z
""" This scheme generates a json of default settings according to the parsed cart information and requires user to modify it according to his/her willing. """ import json import os from typing import * import time from ..config import cfg class UserOption: def __init__(self, arguments): self.preset = a...
43.61809
124
0.474539
941
8,680
4.324123
0.242295
0.067584
0.033178
0.029491
0.53797
0.526174
0.446301
0.407471
0.349472
0.306464
0
0.085495
0.413825
8,680
198
125
43.838384
0.71423
0.022926
0
0.503106
1
0.037267
0.260859
0.030689
0
0
0
0
0.074534
1
0.031056
false
0
0.031056
0
0.074534
0.111801
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
d25e9f309ada94923ec78f883d94a124afce13de
5,179
py
Python
cloudapi_digitalocean/digitaloceanobjects/snapshot.py
zorani/cloudapi_digitalocean
670da3b66fe343553194dd5f39a8209fd6012802
[ "MIT" ]
4
2022-01-25T12:26:53.000Z
2022-02-18T22:18:18.000Z
digitaloceanobjects/digitaloceanobject/snapshot.py
zorani/digitalocean_objects
ed4fbf60f27b413f1990be096660326dec471310
[ "MIT" ]
null
null
null
digitaloceanobjects/digitaloceanobject/snapshot.py
zorani/digitalocean_objects
ed4fbf60f27b413f1990be096660326dec471310
[ "MIT" ]
null
null
null
from __future__ import annotations from dataclasses import dataclass, field from ..common.cloudapiexceptions import * from ..digitaloceanapi.snapshots import Snapshots import json import threading import time import datetime class SnapshotManager: def __init__(self): self.snapshotapi = Snapshots() d...
34.993243
84
0.627727
539
5,179
5.823748
0.176252
0.03345
0.052565
0.05352
0.689073
0.655623
0.639694
0.617394
0.617394
0.601784
0
0.005131
0.284997
5,179
147
85
35.231293
0.84256
0.025874
0
0.584
0
0
0.033922
0
0
0
0
0
0
1
0.072
false
0.024
0.064
0
0.304
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
d25f23f06bbdc7f0e3c141b0359ceacddbb2a0f5
4,173
py
Python
src/mcedit2/synth/l_system_plugin.py
elcarrion06/mcedit2
4bb98da521447b6cf43d923cea9f00acf2f427e9
[ "BSD-3-Clause" ]
673
2015-01-02T02:08:13.000Z
2022-03-24T19:38:14.000Z
src/mcedit2/synth/l_system_plugin.py
ozzhates/mcedit2
4bb98da521447b6cf43d923cea9f00acf2f427e9
[ "BSD-3-Clause" ]
526
2015-01-01T02:10:53.000Z
2022-02-06T16:24:21.000Z
src/mcedit2/synth/l_system_plugin.py
ozzhates/mcedit2
4bb98da521447b6cf43d923cea9f00acf2f427e9
[ "BSD-3-Clause" ]
231
2015-01-01T16:47:30.000Z
2022-03-31T21:51:55.000Z
""" l_system_plugin """ from __future__ import absolute_import, division, print_function import logging from mcedit2.editortools.generate import GeneratePlugin from mcedit2.synth.l_system import renderBlocks, renderSceneNodes, applyReplacementsIterated from mcedit2.util.showprogress import showProgress from mcedit...
35.666667
99
0.705248
475
4,173
6.088421
0.391579
0.069156
0.012448
0.014523
0.053942
0.036653
0.036653
0.036653
0.036653
0.036653
0
0.003125
0.233166
4,173
116
100
35.974138
0.900625
0.342919
0
0.086207
1
0
0.032333
0
0
0
0
0
0
1
0.137931
false
0
0.103448
0.034483
0.413793
0.017241
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
d2695fb5ce4e5cd5d7f0bb648632566729b69bb3
9,857
py
Python
tools/mytools/aria_convert.py
fmareuil/Galaxy_test_pasteur
6f84fb0fc52e3e7dd358623b5da5354c66e16a5f
[ "CC-BY-3.0" ]
null
null
null
tools/mytools/aria_convert.py
fmareuil/Galaxy_test_pasteur
6f84fb0fc52e3e7dd358623b5da5354c66e16a5f
[ "CC-BY-3.0" ]
null
null
null
tools/mytools/aria_convert.py
fmareuil/Galaxy_test_pasteur
6f84fb0fc52e3e7dd358623b5da5354c66e16a5f
[ "CC-BY-3.0" ]
null
null
null
import sys, os TEMPLATE = \ """ <!DOCTYPE conversion SYSTEM "conversion1.0.dtd"> <!--===================== Conversion ================================== Template XML file for converting NMR data from various formats into ARIA XML format. Fill in the fields between the quotation marks "". Leave optional fields ...
35.203571
604
0.656792
1,294
9,857
4.866306
0.282844
0.026997
0.007146
0.006987
0.09973
0.046848
0.036843
0.026679
0.026679
0.026679
0
0.006692
0.211728
9,857
279
605
35.329749
0.803732
0.039769
0
0.070175
0
0.017544
0.353668
0.17027
0
0
0
0
0
0
null
null
0
0.087719
null
null
0.035088
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
d26bb9f0159ad6dc975a6f2cd7bdec0ad2302114
587
py
Python
checkEmail.py
mthbernardes/CheckEmail
f2dfcd87983552063089736e67893f64e636c9b2
[ "MIT" ]
4
2017-09-21T19:39:42.000Z
2020-03-26T16:46:30.000Z
checkEmail.py
mthbernardes/CheckEmail
f2dfcd87983552063089736e67893f64e636c9b2
[ "MIT" ]
null
null
null
checkEmail.py
mthbernardes/CheckEmail
f2dfcd87983552063089736e67893f64e636c9b2
[ "MIT" ]
4
2018-03-23T06:42:59.000Z
2020-03-26T16:46:31.000Z
import sys from utils import mailTool if len(sys.argv) < 2: print 'Usage:\n%s emails.txt' % sys.argv[0] sys.exit(1) mail = mailTool.tools() for email in open(sys.argv[1]): if email: domain = mail.split('@')[1].strip() email = email.strip() mxserver = mail.getMx(domain) prin...
26.681818
57
0.558773
79
587
4.151899
0.493671
0.064024
0
0
0
0
0
0
0
0
0
0.012048
0.293015
587
21
58
27.952381
0.778313
0
0
0
0
0
0.146508
0
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.263158
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
d27699443d4f984cc6e3d82bf376c345e261def5
450
py
Python
FasterRunner/pagination.py
liuguanglei123/FasterRunnerNew
d37ca7350846296853d791b76571332cf12ad60c
[ "MIT" ]
null
null
null
FasterRunner/pagination.py
liuguanglei123/FasterRunnerNew
d37ca7350846296853d791b76571332cf12ad60c
[ "MIT" ]
2
2020-02-11T23:38:06.000Z
2020-07-31T10:18:35.000Z
FasterRunner/pagination.py
liuguanglei123/FasterRunnerNew
d37ca7350846296853d791b76571332cf12ad60c
[ "MIT" ]
null
null
null
from rest_framework import pagination class MyCursorPagination(pagination.CursorPagination): """ Cursor 光标分页 性能高,安全 """ page_size = 9 ordering = '-update_time' page_size_query_param = "pages" max_page_size = 20 class MyPageNumberPagination(pagination.PageNumberPagination): """ 普通...
18.75
62
0.686667
50
450
5.86
0.56
0.163823
0.088737
0.122867
0
0
0
0
0
0
0
0.020115
0.226667
450
23
63
19.565217
0.821839
0.073333
0
0.181818
0
0
0.065104
0
0
0
0
0
0
1
0
false
0
0.090909
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d2807c22d2f07f1530d8dfe8513d8256b3a45909
392
py
Python
sopel_modules/SpiceBot_Core_Commands/Database.py
deathbybandaid/Sopel-SpiceBotSERV
816dddc88943b9194f3f0aa6558759eedd585343
[ "EFL-2.0" ]
2
2018-07-24T14:04:36.000Z
2019-01-11T21:41:50.000Z
sopel_modules/SpiceBot_Core_Commands/Database.py
deathbybandaid/Sopel-SpiceBotSERV
816dddc88943b9194f3f0aa6558759eedd585343
[ "EFL-2.0" ]
947
2018-07-24T01:50:29.000Z
2019-04-14T22:40:57.000Z
sopel_modules/SpiceBot_Core_Commands/Database.py
deathbybandaid/Sopel-SpiceBotSERV
816dddc88943b9194f3f0aa6558759eedd585343
[ "EFL-2.0" ]
6
2019-04-12T17:09:07.000Z
2019-09-30T05:56:15.000Z
# coding=utf8 from __future__ import unicode_literals, absolute_import, division, print_function """ This is the SpiceBot Database """ # sopel imports import sopel.module import sopel_modules.SpiceBot as SpiceBot @SpiceBot.prerun('nickname') @sopel.module.nickname_commands('database') def bot_command_database(bot, ...
23.058824
82
0.785714
51
392
5.803922
0.647059
0.074324
0
0
0
0
0
0
0
0
0
0.002874
0.112245
392
16
83
24.5
0.847701
0.063776
0
0
0
0
0.085627
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.571429
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9628499c3d8e4bb2adceda431fae58be4328f722
6,684
py
Python
third_party/py/googlestorage/publish_release.py
Kunkgg/selenium
1103cb7e9e35e8bd22a5aea9b5455445baa6fb85
[ "Apache-2.0" ]
1
2020-06-06T06:17:06.000Z
2020-06-06T06:17:06.000Z
third_party/py/googlestorage/publish_release.py
Kunkgg/selenium
1103cb7e9e35e8bd22a5aea9b5455445baa6fb85
[ "Apache-2.0" ]
1
2020-06-25T07:34:45.000Z
2020-06-25T07:34:45.000Z
third_party/py/googlestorage/publish_release.py
Kunkgg/selenium
1103cb7e9e35e8bd22a5aea9b5455445baa6fb85
[ "Apache-2.0" ]
1
2018-01-04T15:09:27.000Z
2018-01-04T15:09:27.000Z
"""Script for publishing new versions of Selenium to cloud storage. When you run this script, it will use OAuth 2.0 to authenticate with Google Cloud Storage before attempting to upload any files. This script will fail if the authenticated account does not have write access to the indicated bucket. By default, this s...
32.604878
98
0.665021
880
6,684
4.920455
0.263636
0.033025
0.009238
0.015704
0.196767
0.105081
0.080139
0.047344
0.047344
0.020323
0
0.009438
0.22322
6,684
204
99
32.764706
0.824538
0
0
0.156716
0
0
0.280105
0.012341
0
0
0
0
0
0
null
null
0
0.119403
null
null
0.022388
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
962c98a7b6fc9f1efc877a3d55c54db698747e10
1,300
py
Python
peeldb/migrations/0041_assessmentdata.py
ashwin31/opensource-job-portal
2885ea52f8660e893fe0531c986e3bee33d986a2
[ "MIT" ]
1
2021-09-27T05:01:39.000Z
2021-09-27T05:01:39.000Z
peeldb/migrations/0041_assessmentdata.py
kiran1415/opensource-job-portal
2885ea52f8660e893fe0531c986e3bee33d986a2
[ "MIT" ]
null
null
null
peeldb/migrations/0041_assessmentdata.py
kiran1415/opensource-job-portal
2885ea52f8660e893fe0531c986e3bee33d986a2
[ "MIT" ]
1
2022-01-05T09:02:32.000Z
2022-01-05T09:02:32.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-11-15 19:06 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('peeldb', '0040_auto_201711...
41.935484
156
0.646154
144
1,300
5.659722
0.472222
0.04908
0.068712
0.107975
0.235583
0.235583
0.235583
0.235583
0.235583
0.176687
0
0.032385
0.216154
1,300
30
157
43.333333
0.767419
0.052308
0
0
1
0
0.130187
0.018714
0
0
0
0
0
1
0
false
0
0.173913
0
0.304348
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
962d55bcd0f68ca4f697a63b2ad944a8c67eddd5
638
py
Python
src/the_tale/the_tale/game/places/conf.py
serhii73/the-tale
ee69b033f57fae5004c14afb51f4a6679b189410
[ "BSD-3-Clause" ]
null
null
null
src/the_tale/the_tale/game/places/conf.py
serhii73/the-tale
ee69b033f57fae5004c14afb51f4a6679b189410
[ "BSD-3-Clause" ]
1
2022-01-18T12:04:47.000Z
2022-01-18T12:04:47.000Z
src/the_tale/the_tale/game/places/conf.py
serhii73/the-tale
ee69b033f57fae5004c14afb51f4a6679b189410
[ "BSD-3-Clause" ]
null
null
null
import smart_imports smart_imports.all() settings = utils_app_settings.app_settings('PLACES', MAX_DESCRIPTION_LENGTH=1000, CHRONICLE_RECORDS_NUMBER=10, START_PLACE_SAFETY_PERCENTAGE=0.3...
31.9
104
0.432602
53
638
4.735849
0.754717
0.095618
0.119522
0
0
0
0
0
0
0
0
0.053968
0.50627
638
19
105
33.578947
0.742857
0
0
0
0
0
0.062794
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
962e1af2824a1950dc2fce9a82177da6df438802
497
py
Python
src/items/config.py
elipavlov/items
c935e3321284af251c3339e72531f26e9dd64802
[ "MIT" ]
null
null
null
src/items/config.py
elipavlov/items
c935e3321284af251c3339e72531f26e9dd64802
[ "MIT" ]
null
null
null
src/items/config.py
elipavlov/items
c935e3321284af251c3339e72531f26e9dd64802
[ "MIT" ]
null
null
null
# coding=utf-8 import os from flask import Flask app = Flask(__name__) conf = type('Config', (), {})() conf.DEBUG = True conf.SQLALCHEMY_DATABASE_URI = \ os.environ.get( 'SQLALCHEMY_DATABASE_URI', 'sqlite:///{}'.format(os.path.join(app.root_path, 'project.db'))) conf.SQLALCHEMY_TRACK_MODIFICAT...
17.75
73
0.690141
68
497
4.808824
0.558824
0.12844
0.192661
0.152905
0
0
0
0
0
0
0
0.01182
0.148893
497
27
74
18.407407
0.761229
0.150905
0
0
0
0
0.177885
0.055288
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
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
9631a3721d4123884478d29e43a7aac42d0129b4
3,597
py
Python
pykern/pkresource.py
radiasoft/pykern
bf5946e20d77d13ceab387c33ac75c59b6579de6
[ "Apache-2.0" ]
8
2016-10-26T13:23:44.000Z
2022-03-02T22:03:01.000Z
pykern/pkresource.py
radiasoft/pykern
bf5946e20d77d13ceab387c33ac75c59b6579de6
[ "Apache-2.0" ]
124
2016-03-01T15:32:54.000Z
2022-03-31T17:42:40.000Z
pykern/pkresource.py
radiasoft/pykern
bf5946e20d77d13ceab387c33ac75c59b6579de6
[ "Apache-2.0" ]
10
2015-05-09T14:17:36.000Z
2020-02-10T18:42:53.000Z
# -*- coding: utf-8 -*- u"""Where external resources are stored :copyright: Copyright (c) 2015 Bivio Software, Inc. All Rights Reserved. :license: http://www.apache.org/licenses/LICENSE-2.0.html """ from __future__ import absolute_import, division, print_function # Root module: Import only builtin packages so avoid ...
34.257143
102
0.678343
483
3,597
4.908903
0.331263
0.082244
0.037115
0.048925
0.374526
0.314635
0.269085
0.251371
0.251371
0.20582
0
0.004331
0.229636
3,597
104
103
34.586538
0.851317
0.432861
0
0.12
0
0
0.097294
0.016129
0
0
0
0.019231
0.02
1
0.1
false
0
0.2
0
0.36
0.02
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
96349bc4353506435def553a6968dd11370e459b
12,995
py
Python
fizzpy/core.py
zthurman/FizzPyX
e110d7dd1061b898ff31112686dfde929f850f92
[ "BSD-2-Clause-Patent" ]
null
null
null
fizzpy/core.py
zthurman/FizzPyX
e110d7dd1061b898ff31112686dfde929f850f92
[ "BSD-2-Clause-Patent" ]
5
2019-03-20T12:26:02.000Z
2019-04-03T19:33:10.000Z
fizzpy/core.py
zthurman/fizzpyx
e110d7dd1061b898ff31112686dfde929f850f92
[ "BSD-2-Clause-Patent" ]
null
null
null
import numpy as np import tensorflow as tf class Model: """Model class Used for storing methods that generalize to all models. """ def __init__( self, initial_conditions=None, model_parameters=None, final_time=None, time_steps=None): ...
32.815657
117
0.593305
1,705
12,995
4.368328
0.146041
0.183271
0.181122
0.029538
0.581096
0.526316
0.512084
0.471939
0.407089
0.355532
0
0.043104
0.293036
12,995
395
118
32.898734
0.767606
0.243863
0
0.495098
0
0
0
0
0
0
0
0
0
1
0.117647
false
0
0.009804
0
0.245098
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
96353d8d3ec1bd1dbbed6f63dac632675c8f3493
5,015
py
Python
python/server.py
NPclown/PNU_OpenSw_Compiler
d102b1c219aab19b5608aa29eb6e8cba051e63f3
[ "Unlicense", "MIT" ]
null
null
null
python/server.py
NPclown/PNU_OpenSw_Compiler
d102b1c219aab19b5608aa29eb6e8cba051e63f3
[ "Unlicense", "MIT" ]
3
2019-11-04T10:03:07.000Z
2021-09-02T02:39:20.000Z
python/server.py
NPclown/PNU_OpenSw_Compiler
d102b1c219aab19b5608aa29eb6e8cba051e63f3
[ "Unlicense", "MIT" ]
1
2020-05-24T07:06:54.000Z
2020-05-24T07:06:54.000Z
#-*- coding: utf8 -*- import sys import tempfile import time import os import logging import datetime import shutil import json #configure compile/run fuctions and arguments from languageConfigure import * def getFromDict(key, json_data, default='', errorMessage = None, logger = None): if key not in json_data: ...
29.85119
123
0.636092
581
5,015
5.461274
0.282272
0.035298
0.037504
0.03971
0.35613
0.29625
0.228806
0.21683
0.193508
0.159471
0
0.003145
0.239282
5,015
167
124
30.02994
0.828571
0.052841
0
0.368852
0
0
0.162408
0
0
0
0
0
0
0
null
null
0
0.07377
null
null
0.065574
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
96404c40c7385c11137951733d3688206e23888a
6,219
py
Python
neutron/agent/common/resource_processing_queue.py
knodir/neutron
ac4e28478ac8a8a0c9f5c5785f6a6bcf532c66b8
[ "Apache-2.0" ]
null
null
null
neutron/agent/common/resource_processing_queue.py
knodir/neutron
ac4e28478ac8a8a0c9f5c5785f6a6bcf532c66b8
[ "Apache-2.0" ]
5
2019-08-14T06:46:03.000Z
2021-12-13T20:01:25.000Z
neutron/agent/common/resource_processing_queue.py
knodir/neutron
ac4e28478ac8a8a0c9f5c5785f6a6bcf532c66b8
[ "Apache-2.0" ]
2
2020-03-15T01:24:15.000Z
2020-07-22T20:34:26.000Z
# Copyright 2014 Hewlett-Packard Development Company, L.P. # # 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 requir...
37.239521
79
0.66731
840
6,219
4.838095
0.316667
0.011811
0.01378
0.012549
0.071358
0.017224
0
0
0
0
0
0.003101
0.273999
6,219
166
80
37.463855
0.89701
0.529024
0
0
0
0
0
0
0
0
0
0
0
1
0.215385
false
0
0.046154
0.061538
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9641162b4bb77d6bd3cd6d31f1b05e468c254574
4,016
py
Python
tests/test_own_proc_pools.py
windionleaf/windPyUtils
d0c86370cba95c3d51d84a8b65d00af425d0d5d0
[ "Unlicense" ]
null
null
null
tests/test_own_proc_pools.py
windionleaf/windPyUtils
d0c86370cba95c3d51d84a8b65d00af425d0d5d0
[ "Unlicense" ]
null
null
null
tests/test_own_proc_pools.py
windionleaf/windPyUtils
d0c86370cba95c3d51d84a8b65d00af425d0d5d0
[ "Unlicense" ]
null
null
null
# -*- coding: UTF-8 -*- """" Created on 04.12.21 :author: Martin Dočekal """ import multiprocessing import os import unittest from multiprocessing.queues import Queue from windpyutils.parallel.own_proc_pools import FunctorPool, FunctorWorker, T, R class MockWorker(FunctorWorker): def __init__(self): ...
33.747899
80
0.574452
519
4,016
4.279383
0.188825
0.064836
0.089149
0.040522
0.668618
0.668618
0.661414
0.661414
0.661414
0.661414
0
0.013935
0.320966
4,016
118
81
34.033898
0.800513
0.018177
0
0.590909
0
0
0.065549
0
0
0
0
0
0.272727
1
0.113636
false
0
0.056818
0.011364
0.204545
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
964734fc1dfea9f760682c2716389f3c7f3376c0
13,621
py
Python
InstagramAPI/InstagramAPI.py
blediboss/Instagram-API-python
924ea3a9ec4d2529426891bab1778317b6c2c5c2
[ "MIT" ]
null
null
null
InstagramAPI/InstagramAPI.py
blediboss/Instagram-API-python
924ea3a9ec4d2529426891bab1778317b6c2c5c2
[ "MIT" ]
null
null
null
InstagramAPI/InstagramAPI.py
blediboss/Instagram-API-python
924ea3a9ec4d2529426891bab1778317b6c2c5c2
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import copy import hashlib import hmac import json import math import sys import time import urllib import uuid import requests # Turn off InsecureRequestWarning from requests.packages.urllib3.exceptions import InsecureRequestWarning from requests_toolbelt import Multipar...
42.040123
113
0.515381
1,402
13,621
4.833096
0.223253
0.025974
0.022727
0.011806
0.306375
0.237898
0.206169
0.197019
0.189197
0.178571
0
0.012924
0.36943
13,621
323
114
42.170279
0.775876
0.026723
0
0.334545
0
0
0.155153
0.021744
0
0
0
0.003096
0
0
null
null
0.018182
0.069091
null
null
0.018182
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
964884a481ea8d40ba216ff4318e905b1a3f052c
404
py
Python
tracim/tracim/command/mail.py
lebouquetin/tracim
dc3485f92b07ced3230834a5852c9f9574477c1c
[ "MIT" ]
1
2016-09-27T12:16:05.000Z
2016-09-27T12:16:05.000Z
tracim/tracim/command/mail.py
lebouquetin/tracim
dc3485f92b07ced3230834a5852c9f9574477c1c
[ "MIT" ]
null
null
null
tracim/tracim/command/mail.py
lebouquetin/tracim
dc3485f92b07ced3230834a5852c9f9574477c1c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from rq import Connection, Worker from tracim.command import AppContextCommand class MailSenderCommend(AppContextCommand): def get_description(self): return '''Run rq worker for mail sending''' def take_action(self, parsed_args): super().take_action(parsed_args) ...
23.764706
51
0.65099
46
404
5.586957
0.673913
0.077821
0
0
0
0
0
0
0
0
0
0.003247
0.237624
404
16
52
25.25
0.831169
0.05198
0
0
0
0
0.107612
0
0
0
0
0
0
1
0.2
false
0
0.2
0.1
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
964b11d09874511ee76cadc66f3719567ba0d553
1,124
py
Python
tacker/db/migration/alembic_migrations/versions/acf941e54075_add_error_reason_to_device.py
priya-pp/Priya
c6615cc4b26370566eaa929ef61bfdb5205ec2af
[ "Apache-2.0" ]
3
2016-03-01T12:26:07.000Z
2016-08-03T06:24:59.000Z
tacker/db/migration/alembic_migrations/versions/acf941e54075_add_error_reason_to_device.py
priya-pp/Priya
c6615cc4b26370566eaa929ef61bfdb5205ec2af
[ "Apache-2.0" ]
24
2015-10-21T19:09:02.000Z
2021-08-02T11:27:26.000Z
tacker/db/migration/alembic_migrations/versions/acf941e54075_add_error_reason_to_device.py
priya-pp/Priya
c6615cc4b26370566eaa929ef61bfdb5205ec2af
[ "Apache-2.0" ]
12
2016-02-16T15:01:46.000Z
2017-03-13T10:01:16.000Z
# Copyright 2016 OpenStack Foundation # # 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 ...
28.820513
78
0.735765
159
1,124
5.150943
0.641509
0.07326
0.031746
0.039072
0.07326
0.07326
0
0
0
0
0
0.064865
0.177046
1,124
38
79
29.578947
0.820541
0.659253
0
0
0
0
0.171745
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
964b6e8fd2a830fa3865084876c65ff427e20ad8
1,586
py
Python
paiza-larning/paiza_07-2.py
y-uchiida/python-training
7e08fc7c049cb9330e17a024b9089865415a6acd
[ "MIT" ]
null
null
null
paiza-larning/paiza_07-2.py
y-uchiida/python-training
7e08fc7c049cb9330e17a024b9089865415a6acd
[ "MIT" ]
null
null
null
paiza-larning/paiza_07-2.py
y-uchiida/python-training
7e08fc7c049cb9330e17a024b9089865415a6acd
[ "MIT" ]
null
null
null
# 引数のデフォルト値は、関数宣言時に val = default の形で設定する def func_power(num, power=2): return num ** power print("-------- call func_power(2) --------") print(func_power(2)) # -> 4 print("-------- call func_power(2, 3) --------") print(func_power(2, 3)) # -> 8 print() # 可変長引数 # 引数名にひとつ*をつけると、tupleとして値を受け取る # 引数名にふたつ*をつけると、dictとして値...
26
97
0.617276
227
1,586
4.185022
0.325991
0.066316
0.095789
0.012632
0.323158
0.222105
0.204211
0.204211
0.115789
0.115789
0
0.075636
0.133039
1,586
60
98
26.433333
0.613091
0.253468
0
0.194444
0
0.055556
0.347044
0.022279
0
0
0
0
0
1
0.138889
false
0
0
0.027778
0.194444
0.611111
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
9655fa623f1e8c7a281bd5742d471698a215ab3e
16,511
py
Python
master/result_import_slp.py
dsolisherrera/excovery
3f23d9882aa1357755c1006e005c9d253f54ef5c
[ "MIT" ]
null
null
null
master/result_import_slp.py
dsolisherrera/excovery
3f23d9882aa1357755c1006e005c9d253f54ef5c
[ "MIT" ]
null
null
null
master/result_import_slp.py
dsolisherrera/excovery
3f23d9882aa1357755c1006e005c9d253f54ef5c
[ "MIT" ]
null
null
null
import sys #sys.path.append('/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7') #sys.path.append('/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages') import struct import zlib from exp_description import * import pcapy import datetime import sqlit...
33.355556
205
0.625886
2,297
16,511
4.343927
0.158903
0.035278
0.024053
0.025256
0.406294
0.35448
0.304269
0.256665
0.219182
0.208158
0
0.015466
0.212888
16,511
494
206
33.423077
0.752308
0.083096
0
0.349081
0
0
0.365511
0.040419
0
0
0
0.002024
0
0
null
null
0
0.041995
null
null
0.041995
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
9659381079e7911b9b0b0483c85e290a33fb4fef
594
py
Python
mindefuse/problem/proposal.py
sinistro14/mindefuse
c7371a81731d0b9a03d3ef18f91c336e4135c17d
[ "MIT" ]
null
null
null
mindefuse/problem/proposal.py
sinistro14/mindefuse
c7371a81731d0b9a03d3ef18f91c336e4135c17d
[ "MIT" ]
1
2019-08-22T19:51:12.000Z
2019-08-22T19:51:12.000Z
mindefuse/problem/proposal.py
sinistro14/mindefuse
c7371a81731d0b9a03d3ef18f91c336e4135c17d
[ "MIT" ]
null
null
null
#!/usr/bin/env python3.7 class Proposal: """ Sequence proposed by the player while trying to guess the secret The problem will add hint information, by setting the value of whites and reds """ """proposed secret sequence""" sequence = str """number of right colours in a wrong position"""...
23.76
82
0.63468
75
594
4.973333
0.573333
0.085791
0.096515
0.112601
0.262735
0
0
0
0
0
0
0.004695
0.282828
594
24
83
24.75
0.870892
0.405724
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.833333
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
9662292568aadda4ae204792a28454e303091900
1,002
py
Python
src/dsrlib/domain/sudo.py
fraca7/dsremap
fb8f4fb13e74b512ed0cac05387fbe9694faebcf
[ "MIT" ]
8
2020-09-06T02:15:10.000Z
2022-01-12T22:49:20.000Z
src/dsrlib/domain/sudo.py
fraca7/dsremap
fb8f4fb13e74b512ed0cac05387fbe9694faebcf
[ "MIT" ]
5
2021-03-29T20:37:46.000Z
2021-09-19T13:20:24.000Z
src/dsrlib/domain/sudo.py
fraca7/dsremap
fb8f4fb13e74b512ed0cac05387fbe9694faebcf
[ "MIT" ]
2
2020-09-16T01:45:49.000Z
2021-06-12T12:38:15.000Z
#!/usr/bin/env python3 import sys import os import subprocess from dsrlib.meta import Meta class SudoNotFound(Exception): pass class SudoError(Exception): def __init__(self, code, errData): self.code = code self.stderr = errData super().__init__() def sudoLaunch(*args): for p...
24.439024
111
0.640719
125
1,002
5.064
0.448
0.047393
0.047393
0.053712
0.060032
0
0
0
0
0
0
0.002558
0.219561
1,002
40
112
25.05
0.806905
0.020958
0
0.071429
0
0
0.052041
0
0
0
0
0
0
1
0.071429
false
0.142857
0.142857
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9664d419bdbdd51308e6719d56d786014f084588
1,267
py
Python
src/extractAllTestWords.py
dsp-uga/team-jigsaw-final
cf934123c78353aa726afca9a50d6a21d7d721e3
[ "MIT" ]
null
null
null
src/extractAllTestWords.py
dsp-uga/team-jigsaw-final
cf934123c78353aa726afca9a50d6a21d7d721e3
[ "MIT" ]
null
null
null
src/extractAllTestWords.py
dsp-uga/team-jigsaw-final
cf934123c78353aa726afca9a50d6a21d7d721e3
[ "MIT" ]
null
null
null
import re import csv """ This reads in all the files from the Kaggle test.csv file and generates a file listing all the filtered words encountered along with a basic count """ def run(kaggleTestFile,testCountOutputFile): results = {} words = [] lineCount = 0 with open(kaggleTestFile, mode='r')...
29.465116
78
0.570639
172
1,267
4.122093
0.383721
0.126939
0.177715
0.090268
0.190409
0.163611
0.163611
0.163611
0.163611
0.163611
0
0.013949
0.264404
1,267
42
79
30.166667
0.746781
0
0
0.121212
1
0
0.125786
0
0
0
0
0
0
1
0.030303
false
0
0.060606
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
966529ace16b0980b44c275972ecca09517909db
2,079
py
Python
15/obcopy.py
leisurexi/python-study
e2de3d66d5decb4403acd2df6a3d9cba307f018a
[ "Apache-2.0" ]
1
2021-01-23T14:59:02.000Z
2021-01-23T14:59:02.000Z
15/obcopy.py
leisurexi/python-study
e2de3d66d5decb4403acd2df6a3d9cba307f018a
[ "Apache-2.0" ]
null
null
null
15/obcopy.py
leisurexi/python-study
e2de3d66d5decb4403acd2df6a3d9cba307f018a
[ "Apache-2.0" ]
null
null
null
# author: leisurexi # date: 2021-01-17 20:08 # Python 对象的比较和拷贝 import copy # 浅拷贝,是指重新分配一块内存,创建一个新的对象,里面的元素是原对象中子对象的引用。因此,如果原对象中的元素不可变,那倒无所谓;但如果元素可变,浅拷贝通常会带来一些副作用 def shallow_copy(): l1 = [1, 2, 3] l2 = list(l1) l3 = l1[:] print('=======================浅拷贝=======================') print(l1 == l2) ...
19.990385
86
0.494949
278
2,079
3.636691
0.341727
0.069238
0.014837
0.055391
0.095945
0.071217
0.051434
0.051434
0
0
0
0.088689
0.251563
2,079
103
87
20.184466
0.561054
0.205387
0
0.287671
0
0
0.159659
0.154174
0
0
0
0
0
1
0.041096
false
0
0.013699
0
0.054795
0.493151
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
9668f613fa8b489be1061678d5e1e48af8df0b20
6,448
py
Python
src/textures.py
luzpaz/floor-planner
971334bb7054232035411419910bc860d5da9206
[ "MIT" ]
null
null
null
src/textures.py
luzpaz/floor-planner
971334bb7054232035411419910bc860d5da9206
[ "MIT" ]
null
null
null
src/textures.py
luzpaz/floor-planner
971334bb7054232035411419910bc860d5da9206
[ "MIT" ]
null
null
null
import sdl2 from entity_types import EntityType class Textures: """Contains and manages the application's textures and layers. """ # Number of layers the user can choose from NUM_LAYERS = 4 def get(self, texture): """Returns the SDL texture designated by the texture enum. :param ...
47.065693
79
0.644076
754
6,448
5.393899
0.16313
0.10032
0.156872
0.164003
0.486354
0.32776
0.310548
0.276125
0.042783
0
0
0.007588
0.243797
6,448
137
80
47.065693
0.826497
0.154001
0
0
0
0
0.17516
0.17516
0
0
0
0
0
1
0.054348
false
0
0.021739
0
0.141304
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
966cb10d13ef657591a78661d77cf5dda8a8d530
856
py
Python
.history/app_20211229230306.py
tjxj/pdf2docx
3338a95f1a971de8caf0369fa3ce794d2d6d57cd
[ "Apache-2.0" ]
null
null
null
.history/app_20211229230306.py
tjxj/pdf2docx
3338a95f1a971de8caf0369fa3ce794d2d6d57cd
[ "Apache-2.0" ]
null
null
null
.history/app_20211229230306.py
tjxj/pdf2docx
3338a95f1a971de8caf0369fa3ce794d2d6d57cd
[ "Apache-2.0" ]
null
null
null
from logging import NullHandler from pdf2docx import Converter import streamlit as st from pdf2docx import parse import os,time,base64,tempfile,fitz from pathlib import Path from functions import * st.set_page_config(layout="centered", page_icon="🍉", page_title="PDF Transformer") # form = st.form("template_form") # ...
34.24
134
0.726636
129
856
4.674419
0.581395
0.034826
0.059701
0
0
0
0
0
0
0
0
0.016064
0.127336
856
24
135
35.666667
0.789826
0.560748
0
0
0
0
0.073973
0
0
0
0
0
0
1
0
false
0
0.7
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
967060e4eaa8f3a7442ce062aa4a360efe115d63
2,232
py
Python
day14.py
drewbrew/advent-of-code-2017
b39c19846317dddd51b1ac9943b94c7e5d4eee53
[ "Apache-2.0" ]
null
null
null
day14.py
drewbrew/advent-of-code-2017
b39c19846317dddd51b1ac9943b94c7e5d4eee53
[ "Apache-2.0" ]
null
null
null
day14.py
drewbrew/advent-of-code-2017
b39c19846317dddd51b1ac9943b94c7e5d4eee53
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from day10 import generate_checksums, format_checksums, generate_part_two_input TEST_INPUT = 'flqrgnkx' REAL_INPUT = '<paste input here>' def part_one(input_string): checksum_inputs = [ f'{input_string}-{i}' for i in range(128) ] score = 0 rows = [] for inde...
27.555556
79
0.564516
281
2,232
4.256228
0.302491
0.046823
0.050167
0.027592
0.100334
0.051839
0.028428
0.028428
0
0
0
0.072532
0.332885
2,232
80
80
27.9
0.730692
0.033602
0
0.058824
1
0
0.057541
0
0
0
0
0
0.058824
1
0.044118
false
0
0.014706
0
0.117647
0.029412
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
96707697f454947076f94643a0e0f08ef3121c1b
1,068
py
Python
otcextensions/sdk/kms/v1/quota.py
artem-lifshits/python-otcextensions
2021da124f393e0429dd5913a3bc635e6143ba1e
[ "Apache-2.0" ]
10
2018-03-03T17:59:59.000Z
2020-01-08T10:03:00.000Z
otcextensions/sdk/kms/v1/quota.py
artem-lifshits/python-otcextensions
2021da124f393e0429dd5913a3bc635e6143ba1e
[ "Apache-2.0" ]
39
2018-03-26T14:43:23.000Z
2020-02-07T16:42:53.000Z
otcextensions/sdk/kms/v1/quota.py
artem-lifshits/python-otcextensions
2021da124f393e0429dd5913a3bc635e6143ba1e
[ "Apache-2.0" ]
9
2018-03-27T09:17:40.000Z
2019-08-07T12:53:49.000Z
# 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...
33.375
75
0.720974
147
1,068
5.204082
0.612245
0.078431
0.033987
0.04183
0
0
0
0
0
0
0
0.004614
0.188202
1,068
31
76
34.451613
0.877739
0.61985
0
0
0
0
0.090909
0
0
0
0
0
0
1
0
false
0
0.222222
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9671cc70d569023c7c1782a08f3531cedf8356dc
453
py
Python
authentik/stages/authenticator_sms/migrations/0002_authenticatorsmsstage_from_number.py
BeryJu/passbook
350f0d836580f4411524614f361a76c4f27b8a2d
[ "MIT" ]
15
2020-01-05T09:09:57.000Z
2020-11-28T05:27:39.000Z
authentik/stages/authenticator_sms/migrations/0002_authenticatorsmsstage_from_number.py
BeryJu/passbook
350f0d836580f4411524614f361a76c4f27b8a2d
[ "MIT" ]
302
2020-01-21T08:03:59.000Z
2020-12-04T05:04:57.000Z
authentik/stages/authenticator_sms/migrations/0002_authenticatorsmsstage_from_number.py
BeryJu/passbook
350f0d836580f4411524614f361a76c4f27b8a2d
[ "MIT" ]
3
2020-03-04T08:21:59.000Z
2020-08-01T20:37:18.000Z
# Generated by Django 3.2.8 on 2021-10-09 20:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("authentik_stages_authenticator_sms", "0001_initial"), ] operations = [ migrations.AddField( model_name="authenticatorsmsstage", ...
22.65
63
0.620309
45
453
6.088889
0.822222
0
0
0
0
0
0
0
0
0
0
0.057751
0.273731
453
19
64
23.842105
0.775076
0.099338
0
0
1
0
0.192118
0.135468
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
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
96732f2c9efa09937e9351d42e4edea1945af8a7
623
py
Python
bank_class.py
peterhogan/python
bc6764f7794a862ff0d138bad80f1d6313984dcd
[ "MIT" ]
null
null
null
bank_class.py
peterhogan/python
bc6764f7794a862ff0d138bad80f1d6313984dcd
[ "MIT" ]
null
null
null
bank_class.py
peterhogan/python
bc6764f7794a862ff0d138bad80f1d6313984dcd
[ "MIT" ]
null
null
null
class Customer(object): """A customer of the ABC bank with an account. Every customer has a name and a balance.""" def __init__(self, name, balance=0.0): self.name = name self.balance = balance def withdraw(self, amount): if amount > self.balance: raise RuntimeError("Amount greater than current balance."...
16.394737
61
0.714286
90
623
4.9
0.433333
0.14966
0.077098
0.104308
0.294785
0.294785
0
0
0
0
0
0.02729
0.176565
623
37
62
16.837838
0.832359
0
0
0.2
0
0
0.149338
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
96734e4d08090d8fbe1a7dcd1ac413d3780cc2e8
9,046
py
Python
src/python/ag1k/phase2_ar1.py
wtsi-team112/agam-report-base
ba4718a312e756483bfccbf1d41d5acd510c58c2
[ "MIT" ]
null
null
null
src/python/ag1k/phase2_ar1.py
wtsi-team112/agam-report-base
ba4718a312e756483bfccbf1d41d5acd510c58c2
[ "MIT" ]
null
null
null
src/python/ag1k/phase2_ar1.py
wtsi-team112/agam-report-base
ba4718a312e756483bfccbf1d41d5acd510c58c2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, print_function, division import os import itertools import pyfasta import allel import petl as etl import h5py import pandas import zarr import seaborn as sns title = 'Phase 2 AR1 release' pop_ids = ( 'AOcol', 'GHcol', 'BFcol', 'CIcol'...
36.039841
136
0.652001
1,182
9,046
4.747885
0.203046
0.044904
0.046329
0.032074
0.374911
0.31201
0.242694
0.233785
0.205274
0.165716
0
0.028978
0.198872
9,046
250
137
36.184
0.745412
0.088547
0
0.034091
0
0
0.177323
0.058116
0
0
0
0.004
0
1
0.005682
false
0.107955
0.056818
0
0.0625
0.005682
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
9675ce039db7dd5c8c92831ca587d217ee2a3b09
397
py
Python
5-smallest-multiple.py
dawran6/project-euler
c8cf1e067318d80adbc37f677ed646371fe9ae23
[ "MIT" ]
null
null
null
5-smallest-multiple.py
dawran6/project-euler
c8cf1e067318d80adbc37f677ed646371fe9ae23
[ "MIT" ]
null
null
null
5-smallest-multiple.py
dawran6/project-euler
c8cf1e067318d80adbc37f677ed646371fe9ae23
[ "MIT" ]
null
null
null
from collections import Counter, defaultdict from functools import reduce from operator import mul from utils import prime_factors if __name__ == '__main__': d = defaultdict(int) counters = (Counter(prime_factors(i)) for i in range(1, 21)) for c in counters: d.update({k: max(v, d[k]) for k, v in c...
28.357143
64
0.667506
65
397
3.923077
0.492308
0.023529
0.039216
0.054902
0
0
0
0
0
0
0
0.009554
0.209068
397
13
65
30.538462
0.802548
0
0
0
0
0
0.020151
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9678fe31f855f5e26a5d83e6dc0e9aba90d2da70
356
py
Python
dragoneye/config.py
tolidano/dragoneye
1340e2b1fdc1c80c7dbce5e8a6c7f4e28b16808d
[ "MIT" ]
23
2021-04-08T16:00:27.000Z
2022-03-03T22:01:42.000Z
dragoneye/config.py
mirzajb/dragoneye
c7593640093a9178a55dd32c738bbf0b1cf49d5e
[ "MIT" ]
70
2021-04-12T16:37:43.000Z
2022-01-17T11:33:58.000Z
dragoneye/config.py
mirzajb/dragoneye
c7593640093a9178a55dd32c738bbf0b1cf49d5e
[ "MIT" ]
7
2021-04-29T08:28:43.000Z
2022-03-03T22:01:45.000Z
import os import yaml class Configuration: def __init__(self): filepath = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'config.yaml') with open(filepath, 'r') as config_file: self._config = yaml.safe_load(config_file) def get(self, key: str): return self._con...
20.941176
91
0.657303
47
356
4.702128
0.531915
0.081448
0
0
0
0
0
0
0
0
0
0
0.22191
356
16
92
22.25
0.797834
0
0
0
0
0
0.033708
0
0
0
0
0
0
1
0.2
false
0
0.2
0.1
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
967db47a8efbc7284fe28a19bca4ad266aab00cf
977
py
Python
Bugscan_exploits-master/exp_list/exp-1968.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
11
2020-05-30T13:53:49.000Z
2021-03-17T03:20:59.000Z
Bugscan_exploits-master/exp_list/exp-1968.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
6
2020-05-13T03:25:18.000Z
2020-07-21T06:24:16.000Z
Bugscan_exploits-master/exp_list/exp-1968.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
6
2020-05-30T13:53:51.000Z
2020-12-01T21:44:26.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import urlparse """ 该产品是用于:滑坡监测,尾矿库安全监测,水库大坝安全监测,桥梁健康监测,沉降塌陷监测,建筑监测,机械精密控制,精准农业导航,和精密定位的GNSS接收机。 POC Name : 中海达VNet6专业型参考站接收机 默认密码登陆 Author : a mail : a@lcx.cc 使用默认的账号密码(zhdgps/zhdgps) """ def assign(service, arg): if service == 'zhon...
25.710526
93
0.615148
129
977
4.55814
0.651163
0.047619
0.037415
0.061224
0.091837
0.091837
0
0
0
0
0
0.031746
0.226203
977
38
94
25.710526
0.746032
0.042989
0
0
0
0.058824
0.297602
0.142454
0
0
0
0
0
1
0.117647
false
0.058824
0.117647
0
0.294118
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
967e254d27033ffac1db4148f34e7b3373e2f80a
2,988
py
Python
scripts/irods/test/test_itree.py
aghsmith/irods
31d48a47a4942df688da94b30aa8a5b5210261bb
[ "BSD-3-Clause" ]
1
2022-03-08T13:00:56.000Z
2022-03-08T13:00:56.000Z
scripts/irods/test/test_itree.py
selroc/irods
d232c7f3e0154cacc3a115aa50e366a98617b126
[ "BSD-3-Clause" ]
null
null
null
scripts/irods/test/test_itree.py
selroc/irods
d232c7f3e0154cacc3a115aa50e366a98617b126
[ "BSD-3-Clause" ]
null
null
null
from __future__ import print_function import sys import os from . import session if sys.version_info < (2,7): import unittest2 as unittest else: import unittest class Test_ITree(session.make_sessions_mixin([('otherrods', 'rods')], []), unittest.TestCase): def setUp(self): super(Test_ITree, self...
41.5
145
0.641566
374
2,988
4.935829
0.248663
0.11701
0.121885
0.186891
0.535211
0.346154
0.256771
0.192849
0.177681
0.106176
0
0.015698
0.211178
2,988
71
146
42.084507
0.767501
0
0
0.076923
0
0
0.202544
0
0
0
0
0
0.307692
1
0.134615
false
0
0.115385
0
0.269231
0.019231
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
968093c6c08945c530123774a5292a5da8c35ed4
2,288
py
Python
src/solidityobf/transformations/add_dummy_exprs.py
ZhouBoXiao/SolidityObfuscator
5a1e374fed2718a5e749e99ac7740b714636aa51
[ "Apache-2.0" ]
2
2020-04-25T08:03:26.000Z
2020-09-09T11:16:06.000Z
src/solidityobf/transformations/add_dummy_exprs.py
ZhouBoXiao/SolidityObfuscator
5a1e374fed2718a5e749e99ac7740b714636aa51
[ "Apache-2.0" ]
1
2020-10-30T07:42:55.000Z
2020-10-30T09:40:31.000Z
src/solidityobf/transformations/add_dummy_exprs.py
ZhouBoXiao/SolidityObfuscator
5a1e374fed2718a5e749e99ac7740b714636aa51
[ "Apache-2.0" ]
1
2020-10-30T02:57:56.000Z
2020-10-30T02:57:56.000Z
from solidityobf.common.classes import Ident, Number, List, Ltrue, Lfalse, String, Expr, Assignment,Function,Program,Statements,VarDeclaration from solidityobf.common.common import * from solidityobf.common.tree_walker import walker from solidityobf.transformations.common import NUMBERMAX, count_object, shouldi, gen_du...
45.76
142
0.681381
303
2,288
4.914191
0.30033
0.126931
0.052384
0.045668
0.159167
0.073875
0.073875
0
0
0
0
0.005501
0.20542
2,288
49
143
46.693878
0.813531
0.018357
0
0.051282
0
0
0.070409
0
0
0
0
0
0
0
null
null
0
0.102564
null
null
0.025641
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
9682084080b2d9bd56f87c7de86b3483f014cb2c
192,750
py
Python
ian_spec.py
RapidLzj/MyPythonLib
3740fa9d461f414c73e9ba739c19ea7d6f6b94e6
[ "Apache-2.0" ]
null
null
null
ian_spec.py
RapidLzj/MyPythonLib
3740fa9d461f414c73e9ba739c19ea7d6f6b94e6
[ "Apache-2.0" ]
null
null
null
ian_spec.py
RapidLzj/MyPythonLib
3740fa9d461f414c73e9ba739c19ea7d6f6b94e6
[ "Apache-2.0" ]
null
null
null
""" Suite to reduce spectroscopic data. subfunctions: calibrate setheaders -- exptime, gain, readnoise, etc. makeflat -- make median flat and noisy pixel map makedark -- make median dark, and estimate noise in each pixel. clean -- clean and replace bad pixels extract trace -- trace sp...
33.87522
322
0.601484
24,954
192,750
4.593452
0.101467
0.006674
0.002792
0.003315
0.352017
0.305518
0.273727
0.249719
0.228022
0.204048
0
0.03317
0.281297
192,750
5,689
323
33.881174
0.794268
0.104477
0
0.38501
0
0.001972
0.062306
0.003957
0
0
0
0
0
0
null
null
0.001183
0.028797
null
null
0.023669
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
96837b34733d04eebe5895cddd8bc4eacd353a29
556
py
Python
src/mano-framework/plugins/vim-adaptor/vim_adaptor/models/service.py
CN-UPB/Cloud-NFV-Orchestration
28a6852f529ac73fe28f4448597f455b2d2fe552
[ "Apache-2.0" ]
10
2019-01-09T06:32:58.000Z
2021-11-16T11:36:22.000Z
src/mano-framework/plugins/vim-adaptor/vim_adaptor/models/service.py
CN-UPB/Cloud-NFV-Orchestration
28a6852f529ac73fe28f4448597f455b2d2fe552
[ "Apache-2.0" ]
14
2019-11-13T06:51:51.000Z
2021-12-09T02:01:29.000Z
src/mano-framework/plugins/vim-adaptor/vim_adaptor/models/service.py
CN-UPB/Cloud-NFV-Orchestration
28a6852f529ac73fe28f4448597f455b2d2fe552
[ "Apache-2.0" ]
7
2019-02-06T05:46:56.000Z
2021-08-21T13:56:07.000Z
from datetime import datetime from mongoengine import DateTimeField, Document, UUIDField from mongoengine.fields import DictField, ListField, ReferenceField from vim_adaptor.models.vims import BaseVim class ServiceInstance(Document): """ Document class to store data related to a service instance """ ...
26.47619
67
0.764388
67
556
6.283582
0.61194
0.071259
0
0
0
0
0
0
0
0
0
0
0.172662
556
20
68
27.8
0.915217
0.192446
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.444444
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
96959973b49a3ab7aaeb415b194474c4377b3c78
11,844
py
Python
networking_huawei/tests/unit/drivers/ac/client/test_restclient.py
libuparayil/networking-huawei
65a92260c3e1659663164f1e1c27fbc287b0c632
[ "Apache-2.0" ]
2
2016-05-09T13:59:38.000Z
2016-05-11T10:09:23.000Z
networking_huawei/tests/unit/drivers/ac/client/test_restclient.py
libuparayil/networking-huawei
65a92260c3e1659663164f1e1c27fbc287b0c632
[ "Apache-2.0" ]
43
2016-05-09T09:33:40.000Z
2016-06-01T09:27:27.000Z
networking_huawei/tests/unit/drivers/ac/client/test_restclient.py
libuparayil/networking-huawei
65a92260c3e1659663164f1e1c27fbc287b0c632
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2016 Huawei Technologies India Pvt Ltd # 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 #...
48.146341
78
0.480665
1,045
11,844
5.264115
0.195215
0.026722
0.053445
0.046355
0.709326
0.695328
0.682967
0.658062
0.628613
0.628613
0
0.020052
0.418946
11,844
245
79
48.342857
0.779279
0.053023
0
0.638498
0
0
0.170268
0.033482
0
0
0
0
0.037559
1
0.046948
false
0.032864
0.032864
0
0.089202
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
969a6cf8369ff4299d261422c444faad76720c45
1,548
py
Python
gui.py
juchi/pyvz
496ac5a0a437a7e2cdc94f61d41a2eb4f2528efd
[ "MIT" ]
1
2018-03-19T20:54:29.000Z
2018-03-19T20:54:29.000Z
gui.py
juchi/pyvz
496ac5a0a437a7e2cdc94f61d41a2eb4f2528efd
[ "MIT" ]
null
null
null
gui.py
juchi/pyvz
496ac5a0a437a7e2cdc94f61d41a2eb4f2528efd
[ "MIT" ]
null
null
null
import pygame class Window: def __init__(self, screen, rect): self.screen = screen self.children = [] self.rect = rect self.surface = screen.subsurface(rect) self.background_color = None def add_child(self, child): self.children.append(child) def render(se...
29.207547
86
0.616925
204
1,548
4.509804
0.245098
0.086957
0.013043
0.082609
0.180435
0.05
0
0
0
0
0
0.0203
0.268088
1,548
52
87
29.769231
0.791703
0
0
0.05
0
0
0.003876
0
0
0
0
0
0
1
0.225
false
0
0.025
0.025
0.35
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
969c9f5ce3697b894c89042d109c70dd1479d83a
726
py
Python
Core/Project/Jsons/LangJson.py
Nevinia-Github/PyModder
d2c2ec0935c91d18bed8795bd43c9c5719e63ba5
[ "MIT" ]
1
2019-12-10T20:55:54.000Z
2019-12-10T20:55:54.000Z
Core/Project/Jsons/LangJson.py
Nevinia-Github/PyModder
d2c2ec0935c91d18bed8795bd43c9c5719e63ba5
[ "MIT" ]
null
null
null
Core/Project/Jsons/LangJson.py
Nevinia-Github/PyModder
d2c2ec0935c91d18bed8795bd43c9c5719e63ba5
[ "MIT" ]
null
null
null
import json import os class EnJson: def __init__(self, project): self.project = project def save(self): os.makedirs(os.path.join(self.project.paths["Assets"], "lang"), exist_ok=True) file = {} for i in self.project.objects["blocks"]: file["block."+self.project.modi...
36.3
94
0.601928
101
726
4.237624
0.435644
0.231308
0.042056
0.070093
0.537383
0.537383
0.481308
0.481308
0.196262
0.196262
0
0.001783
0.227273
726
19
95
38.210526
0.761141
0
0
0
0
0
0.103306
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.3125
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
969d5e9817687386c62b5ad8702e94aa5ff414c9
1,374
py
Python
flask_app/exceptions.py
reed-only/flask_app
52010732478d4faa9318a7d76cbf2802671e8378
[ "MIT" ]
2
2017-12-17T19:55:16.000Z
2018-01-13T01:00:16.000Z
flask_app/exceptions.py
reed-only/flask_app
52010732478d4faa9318a7d76cbf2802671e8378
[ "MIT" ]
null
null
null
flask_app/exceptions.py
reed-only/flask_app
52010732478d4faa9318a7d76cbf2802671e8378
[ "MIT" ]
null
null
null
""" Error handlers """ from flask import jsonify from flask_app.extensions import app class ApiError(Exception): """ Generic API error. Extend this class for specific API errors. """ def __init__(self, message, status_code): super().__init__() self.message = message self.sta...
23.689655
114
0.62591
152
1,374
5.256579
0.322368
0.150188
0.106383
0.067584
0.227785
0.132666
0.132666
0.132666
0.132666
0.132666
0
0.008824
0.257642
1,374
57
115
24.105263
0.77451
0.128093
0
0.076923
0
0
0.056502
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0.038462
0.538462
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
969dbcd10e7c8ba7ef8b1f338ad42a59eb27b6d8
1,030
py
Python
Testing/PythonTests/sigmoid.py
ajensen1234/ShapeWorks
fb308c8c38ad0e00c7f62aa7221e00e72140d909
[ "MIT" ]
40
2019-07-26T18:02:13.000Z
2022-03-28T07:24:23.000Z
Testing/PythonTests/sigmoid.py
ajensen1234/ShapeWorks
fb308c8c38ad0e00c7f62aa7221e00e72140d909
[ "MIT" ]
1,359
2019-06-20T17:17:53.000Z
2022-03-31T05:42:29.000Z
Testing/PythonTests/sigmoid.py
ajensen1234/ShapeWorks
fb308c8c38ad0e00c7f62aa7221e00e72140d909
[ "MIT" ]
13
2019-12-06T01:31:48.000Z
2022-02-24T04:34:23.000Z
import os import sys from shapeworks import * success = True def sigmoidTest1(): img = Image(os.environ["DATA"] + "/1x2x2.nrrd") img.applySigmoidFilter() compareImg = Image(os.environ["DATA"] + "/sigmoid1.nrrd") return img.compare(compareImg) success &= utils.test(sigmoidTest1) def sigmoidTest2(): img =...
21.458333
59
0.7
126
1,030
5.722222
0.261905
0.07767
0.15534
0.199723
0.710125
0.67129
0.67129
0.546463
0.291262
0.149792
0
0.040268
0.132039
1,030
47
60
21.914894
0.766219
0
0
0.275862
0
0
0.128155
0
0
0
0
0
0
1
0.137931
false
0
0.103448
0
0.37931
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
969f18ce21973a316bf1e11b1e9a417827da7c21
445
py
Python
Server/app/docs/__init__.py
JoMingyu/BookCheck-Backend
fbe71a39e385a3c739e7e40ab1153efbe7835576
[ "MIT" ]
1
2018-04-12T10:51:49.000Z
2018-04-12T10:51:49.000Z
Server/app/docs/__init__.py
JoMingyu/BookCheck-Backend
fbe71a39e385a3c739e7e40ab1153efbe7835576
[ "MIT" ]
null
null
null
Server/app/docs/__init__.py
JoMingyu/BookCheck-Backend
fbe71a39e385a3c739e7e40ab1153efbe7835576
[ "MIT" ]
null
null
null
TEMPLATE = { 'schemes': [ 'http' ], 'tags': [ { 'name': '계정', 'description': '계정 관련 API' }, { 'name': '도서관', 'description': '도서관 가입과 탈퇴에 관한 API' }, { 'name': '책', 'description': '도서관의 책 관리...
18.541667
49
0.314607
35
445
4
0.514286
0.15
0.128571
0
0
0
0
0
0
0
0
0
0.523596
445
23
50
19.347826
0.660377
0
0
0
0
0
0.330337
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
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
96a63b3ad684d05911f2991c2afe9918aea2aef4
3,548
py
Python
toshi/push.py
IceExchange/ice-services-lib
67a304ed4be183ed4b521624fc48be67936d141e
[ "MIT" ]
null
null
null
toshi/push.py
IceExchange/ice-services-lib
67a304ed4be183ed4b521624fc48be67936d141e
[ "MIT" ]
null
null
null
toshi/push.py
IceExchange/ice-services-lib
67a304ed4be183ed4b521624fc48be67936d141e
[ "MIT" ]
null
null
null
import json import tornado.httpclient class PushServerError(Exception): pass class PushServerClient: def __init__(self, *, url, username=None, password=None): self.client = tornado.httpclient.AsyncHTTPClient() self.username = username self.password = password while url.endsw...
34.115385
133
0.505355
333
3,548
5.291291
0.357357
0.031215
0.018729
0.030647
0.315551
0.215664
0.114642
0.114642
0.114642
0.114642
0
0.006387
0.382187
3,548
103
134
34.446602
0.797445
0.046787
0
0.278481
0
0
0.131696
0
0
0
0
0.009709
0
1
0.037975
false
0.050633
0.025316
0
0.139241
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
96aa1a4d49cb322ab4df874d563267f05b3712f0
618
py
Python
setup.py
dominikstrb/brrrr
64f56d41ed1be1751350324d8a6718694b97b1df
[ "MIT" ]
1
2021-03-07T17:37:28.000Z
2021-03-07T17:37:28.000Z
setup.py
dominikstrb/brrr
64f56d41ed1be1751350324d8a6718694b97b1df
[ "MIT" ]
null
null
null
setup.py
dominikstrb/brrr
64f56d41ed1be1751350324d8a6718694b97b1df
[ "MIT" ]
null
null
null
from setuptools import setup setup( name = 'brrr', packages = ['brrr'], # this must be the same as the name above version = '0.12', description = 'Let Gucci Mane tell you when your script is done.', author = 'Dominik Straub', author_email = 'dstraub93@gmail.com', url = 'https://github.com/dominikstrb/brrr...
38.625
106
0.677994
85
618
4.882353
0.741176
0.038554
0.06747
0.081928
0.154217
0.154217
0
0
0
0
0
0.01165
0.166667
618
15
107
41.2
0.794175
0.192557
0
0
0
0
0.44332
0
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
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
96aafef7ecea37e1122411158423605fe8d582e4
3,388
py
Python
PYSEQM/test/test4.py
roehr-lab/SFast-Singlet-Fission-adiabatic-basis-screening
dfda08400bb1328ce6cd45ac6b1dd3e7f9d7d4a6
[ "MIT" ]
null
null
null
PYSEQM/test/test4.py
roehr-lab/SFast-Singlet-Fission-adiabatic-basis-screening
dfda08400bb1328ce6cd45ac6b1dd3e7f9d7d4a6
[ "MIT" ]
null
null
null
PYSEQM/test/test4.py
roehr-lab/SFast-Singlet-Fission-adiabatic-basis-screening
dfda08400bb1328ce6cd45ac6b1dd3e7f9d7d4a6
[ "MIT" ]
null
null
null
import torch from seqm.seqm_functions.constants import Constants from seqm.MolecularDynamics import Molecular_Dynamics_Basic, Molecular_Dynamics_Langevin #check MD #velocity verlet algorithm #start from no thermostats torch.set_default_dtype(torch.float64) if torch.cuda.is_available(): device = torch.device('cu...
44.578947
160
0.616293
399
3,388
5.165414
0.451128
0.008734
0.021349
0.003882
0.270742
0.247453
0.210577
0.210577
0.210577
0.210577
0
0.201052
0.270366
3,388
75
161
45.173333
0.632686
0.271547
0
0.190476
0
0
0.052395
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0.02381
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
96ad1d01f113cd8025f3d64f2c555a857759b5aa
1,769
py
Python
adminmgr/media/code/A3/task2/BD_88_218_230_688_eon3b64.py
IamMayankThakur/test-bigdata
cef633eb394419b955bdce479699d0115d8f99c3
[ "Apache-2.0" ]
9
2019-11-08T02:05:27.000Z
2021-12-13T12:06:35.000Z
adminmgr/media/code/A3/task2/BD_88_218_230_688.py
IamMayankThakur/test-bigdata
cef633eb394419b955bdce479699d0115d8f99c3
[ "Apache-2.0" ]
6
2019-11-27T03:23:16.000Z
2021-06-10T19:15:13.000Z
adminmgr/media/code/A3/task2/BD_88_218_230_688.py
IamMayankThakur/test-bigdata
cef633eb394419b955bdce479699d0115d8f99c3
[ "Apache-2.0" ]
4
2019-11-26T17:04:27.000Z
2021-12-13T11:57:03.000Z
import findspark findspark.init() from pyspark.sql.types import StructType from pyspark.sql import SparkSession import pyspark.sql.functions as F from pyspark.sql.functions import greatest from pyspark.sql.functions import lit from pyspark.sql.types import StructField from pyspark.sql.types import StringType from pyspa...
31.589286
118
0.788581
216
1,769
6.449074
0.37037
0.139986
0.100503
0.068198
0.15219
0
0
0
0
0
0
0.006724
0.075184
1,769
55
119
32.163636
0.844743
0
0
0
0
0.023256
0.159027
0.013582
0
0
0
0
0
1
0
false
0
0.372093
0
0.372093
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
96ad6b560c2b7f896d535d03672148d31dba1e99
1,079
py
Python
django/kisaan/accounts/forms.py
AkshitOstwal/cfthacks2019
7260ff1b4c0ce8ee288bd3dc445e0465845410d2
[ "MIT" ]
2
2019-08-24T16:50:37.000Z
2020-09-05T08:39:49.000Z
django/kisaan/accounts/forms.py
AkshitOstwal/cfthacks2019
7260ff1b4c0ce8ee288bd3dc445e0465845410d2
[ "MIT" ]
null
null
null
django/kisaan/accounts/forms.py
AkshitOstwal/cfthacks2019
7260ff1b4c0ce8ee288bd3dc445e0465845410d2
[ "MIT" ]
null
null
null
from django import forms from django.core import validators from .models import User from django.contrib.auth import get_user_model class SignupForm(forms.ModelForm): first_name = forms.CharField( max_length=254, widget=forms.TextInput(attrs={'id':'inputFirstname', 'class':'form-control form-con...
33.71875
140
0.676552
126
1,079
5.68254
0.333333
0.122905
0.067039
0.100559
0.494413
0.462291
0.462291
0.159218
0.159218
0.159218
0
0.013483
0.175162
1,079
31
141
34.806452
0.791011
0
0
0.166667
0
0
0.304912
0
0
0
0
0
0
1
0
false
0.125
0.166667
0
0.416667
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
96b0550995c2290576a520115e9161917fec9a41
2,420
py
Python
modelstore/models/onnx.py
cdknorow/modelstore
f08839478432b89e828a8dcb41adf27b0e3aa66b
[ "Apache-2.0" ]
null
null
null
modelstore/models/onnx.py
cdknorow/modelstore
f08839478432b89e828a8dcb41adf27b0e3aa66b
[ "Apache-2.0" ]
null
null
null
modelstore/models/onnx.py
cdknorow/modelstore
f08839478432b89e828a8dcb41adf27b0e3aa66b
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Neal Lathia # # 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 agre...
30.25
77
0.671488
312
2,420
5.073718
0.442308
0.035376
0.024637
0.020215
0.066961
0
0
0
0
0
0
0.004313
0.233471
2,420
79
78
30.632911
0.849057
0.314463
0
0
0
0
0.072615
0
0
0
0
0
0
1
0.195122
false
0
0.195122
0.073171
0.609756
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
96b57e4ecfc7c0133c703d283bc75d6ec97cb0bd
693
py
Python
u24_lymphocyte/third_party/treeano/sandbox/nodes/tests/unbiased_nesterov_momentum_test.py
ALSM-PhD/quip_classification
7347bfaa5cf11ae2d7a528fbcc43322a12c795d3
[ "BSD-3-Clause" ]
45
2015-04-26T04:45:51.000Z
2022-01-24T15:03:55.000Z
u24_lymphocyte/third_party/treeano/sandbox/nodes/tests/unbiased_nesterov_momentum_test.py
ALSM-PhD/quip_classification
7347bfaa5cf11ae2d7a528fbcc43322a12c795d3
[ "BSD-3-Clause" ]
8
2018-07-20T20:54:51.000Z
2020-06-12T05:36:04.000Z
u24_lymphocyte/third_party/treeano/sandbox/nodes/tests/unbiased_nesterov_momentum_test.py
ALSM-PhD/quip_classification
7347bfaa5cf11ae2d7a528fbcc43322a12c795d3
[ "BSD-3-Clause" ]
22
2018-05-21T23:57:20.000Z
2022-02-21T00:48:32.000Z
import treeano.nodes as tn from treeano.sandbox.nodes import unbiased_nesterov_momentum as unm def test_unbiased_nesterov_momentum_node_serialization(): tn.check_serialization( unm.UnbiasedNesterovMomentumNode("a", tn.IdentityNode("i"))) def test_unbiased_nesterov_momentum_node(): def unbiased_nag(n...
36.473684
71
0.617605
68
693
6.014706
0.485294
0.117359
0.176039
0.112469
0.171149
0.171149
0
0
0
0
0
0.006122
0.292929
693
18
72
38.5
0.828571
0
0
0
0
0
0.047619
0
0
0
0
0
0
1
0.214286
false
0
0.142857
0.071429
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
1
0
0
0
0
0
0
0
1
96b7cb728e312035c9fdbd8b45cad4d33791ea10
2,204
py
Python
probabilistic_automata/distributions.py
mvcisback/probablistic_automaton
ac04e3c142688b1f66bea086c2779061d0c5d9b7
[ "MIT" ]
2
2020-08-13T08:32:38.000Z
2020-10-10T15:57:23.000Z
probabilistic_automata/distributions.py
mvcisback/probablistic_automaton
ac04e3c142688b1f66bea086c2779061d0c5d9b7
[ "MIT" ]
1
2020-10-26T22:01:11.000Z
2020-10-27T15:41:42.000Z
probabilistic_automata/distributions.py
mvcisback/probablistic_automaton
ac04e3c142688b1f66bea086c2779061d0c5d9b7
[ "MIT" ]
1
2020-10-23T15:32:08.000Z
2020-10-23T15:32:08.000Z
from __future__ import annotations import random from typing import Callable, Mapping, Set, Union from itertools import product import attr from dfa.dfa import Letter, State Action = Letter @attr.s(frozen=True, auto_attribs=True) class ExplicitDistribution: """Object representing a discrete distribution over...
29
79
0.668784
271
2,204
5.350554
0.309963
0.027586
0.033103
0.02069
0.268966
0.268966
0.268966
0.268966
0.161379
0.161379
0
0.008681
0.215971
2,204
75
80
29.386667
0.83044
0.258167
0
0.195122
0
0
0
0
0
0
0
0
0
1
0.195122
false
0
0.146341
0.02439
0.634146
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
96c122b4a6885835f412a80b5c6f7f7fa23cb184
7,562
py
Python
certificate_engine/tests/test_rsa_key.py
IronTooch/bounca
ad728c39ff8921ec38f924ed8ebcd088516b8438
[ "Apache-2.0" ]
null
null
null
certificate_engine/tests/test_rsa_key.py
IronTooch/bounca
ad728c39ff8921ec38f924ed8ebcd088516b8438
[ "Apache-2.0" ]
1
2022-02-19T16:21:18.000Z
2022-02-19T16:21:18.000Z
certificate_engine/tests/test_rsa_key.py
IronTooch/bounca
ad728c39ff8921ec38f924ed8ebcd088516b8438
[ "Apache-2.0" ]
null
null
null
import arrow from cryptography.hazmat.primitives.asymmetric import rsa from cryptography.hazmat.primitives.serialization.pkcs12 import load_pkcs12 from django.db.models import signals from django.test import TestCase from django.utils import timezone from factory.django import mute_signals from certificate_engine.ssl....
39.385417
120
0.689897
828
7,562
6.055556
0.161836
0.035899
0.02872
0.032908
0.577982
0.511169
0.478061
0.44994
0.40008
0.40008
0
0.032009
0.210923
7,562
191
121
39.591623
0.808279
0
0
0.383117
0
0
0.09032
0.030283
0
0
0
0
0.162338
1
0.090909
false
0.12987
0.077922
0
0.175325
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
96c1b2f7801344716dd52c3937cbc311135d7d1a
3,096
py
Python
testing/test_utils.py
sadimer/nfv_tosca_translator
5efbaf6a87fc07a379e2f07f2fc32433a3fc7946
[ "MIT" ]
null
null
null
testing/test_utils.py
sadimer/nfv_tosca_translator
5efbaf6a87fc07a379e2f07f2fc32433a3fc7946
[ "MIT" ]
null
null
null
testing/test_utils.py
sadimer/nfv_tosca_translator
5efbaf6a87fc07a379e2f07f2fc32433a3fc7946
[ "MIT" ]
null
null
null
import unittest import os from translator import utils class TestUtils(unittest.TestCase): def test_project_root_path(self): self.assertEqual(os.path.dirname(os.path.dirname(__file__)), utils.get_project_root_path()) def test_get_random_int(self): self.assertIn(utils.get_random_int(0, 1), [0,...
47.630769
118
0.598514
371
3,096
4.765499
0.177898
0.161199
0.093326
0.075226
0.629525
0.591629
0.488688
0.46776
0.437217
0.412896
0
0.043799
0.210917
3,096
64
119
48.375
0.679902
0
0
0.185185
0
0
0.177972
0.008721
0
0
0
0
0.444444
1
0.12963
false
0
0.055556
0
0.203704
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
73720df0ed24d6dce7b13e682c3b13d430d7b7a0
8,833
py
Python
analog_schemes.py
Fuzzy-Face/JSAC_FL
e79382364649a0cf990ff43d1615074ed542dcb7
[ "MIT" ]
2
2021-12-04T06:26:09.000Z
2022-02-07T07:59:58.000Z
analog_schemes.py
Fuzzy-Face/JSAC_FL
e79382364649a0cf990ff43d1615074ed542dcb7
[ "MIT" ]
null
null
null
analog_schemes.py
Fuzzy-Face/JSAC_FL
e79382364649a0cf990ff43d1615074ed542dcb7
[ "MIT" ]
null
null
null
import numpy as np import tensorflow as tf from utils import MyNeighbour #from sklearn.linear_model import Lasso, MultiTaskLasso, OrthogonalMatchingPursuit import gc # N0 = 10 ** (-169/10) * 1e-3 def proposed_DSGD(G, flattened_theta_by_devices, flattened_theta_half_by_devices, flattened_hat_theta_by_devices, hat_y_by_...
60.5
227
0.607042
1,456
8,833
3.486951
0.14217
0.099271
0.053181
0.047666
0.709671
0.679338
0.647233
0.631672
0.627142
0.606067
0
0.021072
0.258576
8,833
145
228
60.917241
0.754161
0.340541
0
0.52809
0
0
0
0
0
0
0
0
0
1
0.022472
false
0
0.044944
0
0.101124
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
73728a1b11ccaedb8ca903150c35461348b17807
4,248
py
Python
perception/mil_vision/src/mil_unified_vision_interface/multilaterator.py
MarshallRawson/VISION_mil_common
eb58275913affa7a7378a2ed9172312efd6ea5ad
[ "MIT" ]
null
null
null
perception/mil_vision/src/mil_unified_vision_interface/multilaterator.py
MarshallRawson/VISION_mil_common
eb58275913affa7a7378a2ed9172312efd6ea5ad
[ "MIT" ]
null
null
null
perception/mil_vision/src/mil_unified_vision_interface/multilaterator.py
MarshallRawson/VISION_mil_common
eb58275913affa7a7378a2ed9172312efd6ea5ad
[ "MIT" ]
null
null
null
#!/usr/bin/env python import rospy import tf from image_geometry import PinholeCameraModel from mil_vision_tools import MultilateratedTracker from mil_msgs.msg import ObjectsInImage, ObjectInImage from mil_ros_tools import Image_Subscriber from mil_tools import quaternion_matrix from sensor_msgs.msg import Image from g...
40.075472
275
0.615113
516
4,248
4.862403
0.344961
0.047828
0.041451
0.035871
0.095257
0.034277
0.034277
0.034277
0.034277
0
0
0.004701
0.298964
4,248
105
276
40.457143
0.837811
0.127354
0
0.042857
0
0
0.066252
0.025419
0
0
0
0
0
0
null
null
0
0.157143
null
null
0.014286
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
73794ad9911f7635b27f3ebc682604c0f741f62b
4,245
py
Python
built-in/PyTorch/Official/cv/scene_text_detection/DB_ID0706_for_Pytorch/training/learning_rate.py
Ascend/modelzoo
f018cfed33dbb1cc2110b9ea2e233333f71cc509
[ "Apache-2.0" ]
12
2020-12-13T08:34:24.000Z
2022-03-20T15:17:17.000Z
built-in/PyTorch/Official/cv/scene_text_detection/DB_ID0706_for_Pytorch/training/learning_rate.py
Ascend/modelzoo
f018cfed33dbb1cc2110b9ea2e233333f71cc509
[ "Apache-2.0" ]
1
2022-01-20T03:11:05.000Z
2022-01-20T06:53:39.000Z
built-in/PyTorch/Official/cv/scene_text_detection/DB_ID0706_for_Pytorch/training/learning_rate.py
Ascend/modelzoo
f018cfed33dbb1cc2110b9ea2e233333f71cc509
[ "Apache-2.0" ]
2
2021-07-10T12:40:46.000Z
2021-12-17T07:55:15.000Z
# Copyright [yyyy] [name of copyright owner] # Copyright 2020 Huawei Technologies Co., Ltd # # 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.or...
30.106383
78
0.657479
549
4,245
4.938069
0.289617
0.06197
0.05533
0.050166
0.274437
0.226854
0.225378
0.213943
0.213943
0.17595
0
0.020724
0.238398
4,245
140
79
30.321429
0.817816
0.184688
0
0.302326
0
0
0.017166
0
0
0
0
0
0
1
0.197674
false
0
0.05814
0.023256
0.697674
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
7379971a0b1f2a52f5a892e3933338be5fe74786
2,657
py
Python
src/main.py
windmgc/CarControlling
b7ad7ad73c576aabd0bc69cc3ca5cf49e9890d9d
[ "MIT" ]
null
null
null
src/main.py
windmgc/CarControlling
b7ad7ad73c576aabd0bc69cc3ca5cf49e9890d9d
[ "MIT" ]
null
null
null
src/main.py
windmgc/CarControlling
b7ad7ad73c576aabd0bc69cc3ca5cf49e9890d9d
[ "MIT" ]
null
null
null
__author__ = 'windmgc' # coding: UTF-8 '''This is the source code file for controlling your PWM cars. The socket address here is 192.168.8.1:2001, just an example. Class Carcontrol defines five controlling function definitions, including going forward, going backward, going left, going right and buzzing. In the main f...
28.265957
110
0.656003
327
2,657
5.174312
0.302752
0.039007
0.071513
0.082742
0.478723
0.463948
0.463948
0.355792
0.329196
0.329196
0
0.034809
0.243131
2,657
93
111
28.569892
0.806564
0.021076
0
0.454545
0
0
0.098871
0
0
0
0
0
0
0
null
null
0
0.030303
null
null
0.015152
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
7379f37a18121c7db890d9f3aa07b0a85491ea3e
219
py
Python
OpenKattis/nastyhack.py
MFathirIrhas/ProgrammingChallenges
8c67bd71212a1941e5bcc0463095285859afa04d
[ "MIT" ]
3
2020-10-19T10:03:20.000Z
2021-12-18T20:39:31.000Z
OpenKattis/nastyhack.py
MFathirIrhas/ProgrammingChallenges
8c67bd71212a1941e5bcc0463095285859afa04d
[ "MIT" ]
null
null
null
OpenKattis/nastyhack.py
MFathirIrhas/ProgrammingChallenges
8c67bd71212a1941e5bcc0463095285859afa04d
[ "MIT" ]
null
null
null
n = int(input()) for i in range(n): r,e,c = map(int, input().split()) if((e-c) > r): print('advertise') elif((e-c) == r): print('does not matter') else: print('do not advertise')
21.9
37
0.488584
34
219
3.147059
0.617647
0.056075
0.056075
0.149533
0
0
0
0
0
0
0
0
0.296804
219
9
38
24.333333
0.694805
0
0
0
0
0
0.182648
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
737b0e6dfa4083fa69e566e428b7cb31193a3562
6,349
py
Python
web/opsgrid/core/models.py
simon-weber/opsgrid
9719b9438a4a17eb75b638613a20b534ef82edc7
[ "MIT" ]
null
null
null
web/opsgrid/core/models.py
simon-weber/opsgrid
9719b9438a4a17eb75b638613a20b534ef82edc7
[ "MIT" ]
1
2021-07-26T15:43:47.000Z
2021-07-28T10:06:49.000Z
web/opsgrid/core/models.py
simon-weber/opsgrid
9719b9438a4a17eb75b638613a20b534ef82edc7
[ "MIT" ]
null
null
null
import json import uuid from enum import Enum from allauth.socialaccount.models import SocialAccount from django.contrib.auth.models import AbstractUser from django.db import models from rest_framework import serializers class EmailSocialAccount(SocialAccount): class Meta: proxy = True def __str__(s...
29.948113
126
0.667822
729
6,349
5.61454
0.263374
0.026875
0.020523
0.030784
0.218422
0.133643
0.077694
0.062057
0
0
0
0.003695
0.232635
6,349
211
127
30.090047
0.836412
0.048039
0
0.192308
0
0
0.078912
0
0
0
0
0.004739
0
1
0.102564
false
0.00641
0.044872
0.070513
0.564103
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
737c5533b622811af988126c33c7aa2b8ba1b4aa
8,721
py
Python
show/drawing.py
wanglamao/poke-auto-fuka
afa66eca7da25d0c256eb013b2be0b3c5ab37cee
[ "Apache-2.0" ]
null
null
null
show/drawing.py
wanglamao/poke-auto-fuka
afa66eca7da25d0c256eb013b2be0b3c5ab37cee
[ "Apache-2.0" ]
null
null
null
show/drawing.py
wanglamao/poke-auto-fuka
afa66eca7da25d0c256eb013b2be0b3c5ab37cee
[ "Apache-2.0" ]
null
null
null
import cv2 import numpy as np import time last_save_time = time.time() class DrawingClass(object): def __init__(self): self.draw_command = 'None' self.frame_count = 0 def drawing(self, frame, fps, num_egg, htc_egg, state, time_delta, shiny_number): cv2.putText(frame, ...
40.375
80
0.436418
954
8,721
3.878407
0.102725
0.132973
0.05
0.117297
0.796216
0.674324
0.644054
0.638649
0.638649
0.62973
0
0.147674
0.435501
8,721
216
81
40.375
0.6039
0.003669
0
0.683168
0
0
0.049499
0
0
0
0
0
0
1
0.014851
false
0
0.014851
0
0.044554
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
738138eb9edcf64e04dfb1f1b8070caa495544e3
2,270
py
Python
http_basic_auth/__init__.py
bugov/http-basic-auth
a6cfad797beb05d022febe0b7dca8b972491a487
[ "BSD-3-Clause" ]
3
2018-02-20T20:04:43.000Z
2019-03-12T03:24:30.000Z
http_basic_auth/__init__.py
bugov/http-basic-auth
a6cfad797beb05d022febe0b7dca8b972491a487
[ "BSD-3-Clause" ]
null
null
null
http_basic_auth/__init__.py
bugov/http-basic-auth
a6cfad797beb05d022febe0b7dca8b972491a487
[ "BSD-3-Clause" ]
null
null
null
""" HTTP Basic Auth python lib """ import base64 __version__ = '1.2.0' class BasicAuthException(Exception): """General exception for all http-basic-auth problems """ def parse_token(token: str, coding='utf-8') -> (str, str): """Get login + password tuple from Basic Auth token. """ try: ...
27.349398
74
0.668722
284
2,270
5.253521
0.228873
0.184987
0.048257
0.156836
0.424933
0.424933
0.404156
0.353887
0.290885
0.290885
0
0.012118
0.236564
2,270
82
75
27.682927
0.848817
0.139207
0
0.5
0
0
0.023425
0
0
0
0
0
0
1
0.083333
false
0.145833
0.020833
0
0.208333
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
7385dded61696f253f464a04ba46bd5256f56d9a
4,054
py
Python
digideep/utility/profiling.py
sharif1093/digideep
e42f10a58cec6cab70ac2be5ce3af6102caefd81
[ "BSD-2-Clause" ]
11
2019-03-09T23:54:02.000Z
2020-09-05T20:47:55.000Z
log_sessions/cartpole_8_5_05_1/modules/digideep/utility/profiling.py
godnpeter/DMC_Clustering_PICA
1b3e14dd4034f3941af1caa06c1d4b6f9d606408
[ "BSD-2-Clause" ]
1
2021-09-30T01:15:57.000Z
2021-09-30T01:15:57.000Z
digideep/utility/profiling.py
sharif1093/digideep
e42f10a58cec6cab70ac2be5ce3af6102caefd81
[ "BSD-2-Clause" ]
null
null
null
from collections import OrderedDict as odict import time import numpy as np from .json_encoder import JsonNumEncoder import os class Profiler: """This class provides a very simple yet light implementation of function profiling. It is very easy to use: >>> profiler.reset() >>> profiler.start("...
29.808824
124
0.553774
492
4,054
4.434959
0.270325
0.084326
0.082493
0.049496
0.210816
0.159487
0.142988
0.109074
0.109074
0.109074
0
0.009427
0.293537
4,054
136
125
29.808824
0.752444
0.173409
0
0.081395
0
0
0.070529
0
0
0
0
0
0.05814
1
0.232558
false
0
0.05814
0.034884
0.453488
0.011628
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
7395e2b06f1c51b263ff159d34b7a2b5c73031b5
2,819
py
Python
thivebase/proxy.py
ksantoprotein/thallid-hive
354a013ad434b69b9986427311b315151800f949
[ "MIT" ]
1
2020-05-31T19:39:58.000Z
2020-05-31T19:39:58.000Z
thivebase/proxy.py
ksantoprotein/thallid-hive
354a013ad434b69b9986427311b315151800f949
[ "MIT" ]
null
null
null
thivebase/proxy.py
ksantoprotein/thallid-hive
354a013ad434b69b9986427311b315151800f949
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import json from pprint import pprint from time import sleep, time from random import randint, choice from requests import Session ##### ##### storage ##### ##### url = 'https://ya.ru/' timer = 10 # aka 10 sec ##### ##### ##### ##### ##### class Http(): http = Session() proxies = None ...
26.345794
101
0.604824
372
2,819
4.497312
0.306452
0.069934
0.038852
0.034071
0.143455
0.090855
0
0
0
0
0
0.015185
0.205747
2,819
107
102
26.345794
0.731577
0.126995
0
0.138889
0
0
0.127813
0
0
0
0
0
0
0
null
null
0.013889
0.069444
null
null
0.069444
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
7398b03a528a72b484da5b2e9b8e351f36dd425c
1,348
py
Python
MTS/word/HeaderWord.py
ohhorob/pyMTS
e7553b96e72ac6d4f91657bdb7c632aeeaba3c9b
[ "Apache-2.0" ]
1
2021-04-28T12:23:42.000Z
2021-04-28T12:23:42.000Z
MTS/word/HeaderWord.py
ohhorob/pyMTS
e7553b96e72ac6d4f91657bdb7c632aeeaba3c9b
[ "Apache-2.0" ]
null
null
null
MTS/word/HeaderWord.py
ohhorob/pyMTS
e7553b96e72ac6d4f91657bdb7c632aeeaba3c9b
[ "Apache-2.0" ]
null
null
null
import ctypes c_uint8 = ctypes.c_uint8 class HeaderWord(ctypes.BigEndianStructure): MAGIC_MASK = 0xA280 _fields_ = [ # Low Byte ('CLEAR07', c_uint8, 1), # 07 ('LengthLow', c_uint8, 7), # 06..00 # High Byte ('HEADER15', c_uint8, 1), # ...
26.96
65
0.517062
156
1,348
4.339744
0.365385
0.106352
0.093058
0.053176
0
0
0
0
0
0
0
0.095954
0.358309
1,348
49
66
27.510204
0.686705
0.038576
0
0
0
0
0.124708
0
0
0
0.004677
0
0
1
0.166667
false
0
0.027778
0.138889
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
0
0
0
0
1
0
0
0
1
739c83969c83ad45eb258671b92e74e24ce74e59
980
py
Python
02_tweets_retrieval.py
D2KLab/micro-influencer-detector
a2db70cd847fb80d761b452a3506d829eb2db2b7
[ "Apache-2.0" ]
3
2020-04-02T13:43:13.000Z
2022-01-27T15:29:27.000Z
02_tweets_retrieval.py
D2KLab/micro-influencer-detector
a2db70cd847fb80d761b452a3506d829eb2db2b7
[ "Apache-2.0" ]
null
null
null
02_tweets_retrieval.py
D2KLab/micro-influencer-detector
a2db70cd847fb80d761b452a3506d829eb2db2b7
[ "Apache-2.0" ]
2
2021-04-10T07:20:46.000Z
2021-08-31T19:34:04.000Z
# This Python file uses the following encoding: utf-8 #!/usr/bin/ from micro_influencer_utilities import * import tweepy import os import time import sys from pathlib import Path from datetime import datetime import json import re pathToTwitterAuthData = "twitterAccess.txt" pathToDataFolder = "Data" pathToDevKeyAndSe...
31.612903
87
0.814286
117
980
6.555556
0.598291
0.101695
0.046936
0
0
0
0
0
0
0
0
0.010193
0.09898
980
31
87
31.612903
0.858437
0.062245
0
0
0
0
0.143948
0.06434
0
0
0
0
0
1
0
false
0
0.346154
0
0.346154
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
73a1cf88a57dfba43b060e19e733916a5bd2d1d4
1,621
py
Python
request/Tushare/history/Fact_Market_Stock_History.py
abcdcamey/stock-data
bfdc67e60b7d4de59c66dbb52159574b4e0a5e51
[ "MIT" ]
1
2019-04-10T09:07:59.000Z
2019-04-10T09:07:59.000Z
request/Tushare/history/Fact_Market_Stock_History.py
abcdcamey/stock-data
bfdc67e60b7d4de59c66dbb52159574b4e0a5e51
[ "MIT" ]
2
2021-06-01T23:39:34.000Z
2021-12-13T19:58:31.000Z
request/Tushare/history/Fact_Market_Stock_History.py
abcdcamey/stock-data
bfdc67e60b7d4de59c66dbb52159574b4e0a5e51
[ "MIT" ]
null
null
null
import sys import os sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), "../../")) from api.fact.Fact_Market_Stock_Data import Fact_Market_Stock_Data from api.common.Saver import Saver from datetime import datetime,timedelta from api.common.Logs import Logger_process, Logger_process_error dda = F...
37.697674
85
0.727946
236
1,621
4.449153
0.25
0.161905
0.242857
0.106667
0.580952
0.512381
0.512381
0.365714
0.297143
0.226667
0
0.006015
0.179519
1,621
42
86
38.595238
0.783459
0
0
0.068966
0
0
0.150803
0.125464
0
0
0
0
0
1
0.034483
false
0
0.206897
0
0.241379
0.034483
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
73aa12b06d6b1ef64e166fbd736fba134504c5cd
947
py
Python
utils/filters.py
newdave/peering-manager
b96bee1a4bd3e24656a93506c41c6421b431286e
[ "Apache-2.0" ]
null
null
null
utils/filters.py
newdave/peering-manager
b96bee1a4bd3e24656a93506c41c6421b431286e
[ "Apache-2.0" ]
null
null
null
utils/filters.py
newdave/peering-manager
b96bee1a4bd3e24656a93506c41c6421b431286e
[ "Apache-2.0" ]
null
null
null
import django_filters from django.contrib.auth.models import User from .constants import * from .models import ObjectChange class ObjectChangeFilter(django_filters.FilterSet): q = django_filters.CharFilter(method="search", label="Search") time = django_filters.DateTimeFromToRangeFilter() action = django...
29.59375
82
0.687434
103
947
6.067961
0.495146
0.1248
0
0
0
0
0
0
0
0
0
0
0.217529
947
31
83
30.548387
0.843455
0
0
0
0
0
0.079197
0
0
0
0
0
0
1
0.04
false
0
0.16
0
0.52
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
73aa7881c39e933f398f4ead5dc2ef1db4f0dd58
996
py
Python
test_inference_RACECAR.py
mmaz/imitation_learning_lab
f8056df2f94e5a56ef0f86359b3a12b801f7e248
[ "MIT" ]
1
2020-11-05T13:59:50.000Z
2020-11-05T13:59:50.000Z
test_inference_RACECAR.py
mmaz/imitation_learning_lab
f8056df2f94e5a56ef0f86359b3a12b801f7e248
[ "MIT" ]
7
2019-03-18T18:40:20.000Z
2019-03-18T20:56:41.000Z
test_inference_RACECAR.py
mmaz/imitation_learning_lab
f8056df2f94e5a56ef0f86359b3a12b801f7e248
[ "MIT" ]
2
2019-05-03T17:53:25.000Z
2019-06-26T23:06:27.000Z
import cv2 as cv import numpy as np import os import glob import math import random import datetime import tensorflow as tf from tensorflow.keras.models import load_model config = tf.ConfigProto() config.gpu_options.per_process_gpu_memory_fraction = 0.25 sess = tf.InteractiveSession(config=config) #MODEL='pilotnet-...
27.666667
121
0.738956
157
996
4.547771
0.541401
0.063025
0.046218
0.047619
0.058824
0
0
0
0
0
0
0.056009
0.139558
996
35
122
28.457143
0.77713
0.207831
0
0
0
0
0.054917
0
0
0
0
0
0
1
0
false
0
0.346154
0
0.346154
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
73ac6a68deed07752d31157e8e9964011b1273c0
16,979
py
Python
bigflow_python/python/bigflow/core/entity.py
advancedxy/bigflow_python
8a244b483404fde7afc42eee98bc964da8ae03e2
[ "Apache-2.0" ]
1,236
2017-11-14T11:10:10.000Z
2022-03-08T11:54:41.000Z
bigflow_python/python/bigflow/core/entity.py
advancedxy/bigflow_python
8a244b483404fde7afc42eee98bc964da8ae03e2
[ "Apache-2.0" ]
38
2017-11-14T16:29:12.000Z
2020-01-23T08:32:04.000Z
bigflow_python/python/bigflow/core/entity.py
advancedxy/bigflow_python
8a244b483404fde7afc42eee98bc964da8ae03e2
[ "Apache-2.0" ]
184
2017-11-27T07:23:36.000Z
2022-03-14T02:54:16.000Z
# -*- coding: utf-8 -*- # # Copyright (c) 2015 Baidu, Inc. 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 requ...
29.945326
93
0.655103
1,908
16,979
5.504717
0.184486
0.021327
0.02723
0.026659
0.269923
0.184804
0.107112
0.088641
0.079692
0.073027
0
0.004718
0.250957
16,979
566
94
29.998233
0.82112
0.128041
0
0.277008
0
0
0.053949
0.019536
0
0
0
0
0
1
0.196676
false
0.024931
0.060942
0.033241
0.501385
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
73b16761f0932eb4dcf05f9c306c6673b69bcbc4
31,357
py
Python
run_GWAS_analysis_pipeline_parallelized.py
tbrunetti/GWAS_Analysis_Pipeline
6fe57a35d01e694e16848a2155785293d5fcec9d
[ "MIT" ]
null
null
null
run_GWAS_analysis_pipeline_parallelized.py
tbrunetti/GWAS_Analysis_Pipeline
6fe57a35d01e694e16848a2155785293d5fcec9d
[ "MIT" ]
null
null
null
run_GWAS_analysis_pipeline_parallelized.py
tbrunetti/GWAS_Analysis_Pipeline
6fe57a35d01e694e16848a2155785293d5fcec9d
[ "MIT" ]
null
null
null
from chunkypipes.components import * import multiprocessing import math import datetime import sys import os import time class Pipeline(BasePipeline): def dependencies(self): return ['pandas', 'numpy', 'matplotlib', 'fpdf', 'Pillow', 'pypdf2', 'statistics', 'xlrd'] def description(self): return 'Pipeline made f...
53.41908
255
0.704308
3,997
31,357
5.236177
0.145359
0.039562
0.05275
0.036791
0.564671
0.533709
0.493191
0.47728
0.435138
0.41808
0
0.005793
0.157764
31,357
587
256
53.41908
0.786672
0.08923
0
0.108571
0
0.034286
0.283677
0
0
0
0
0
0
0
null
null
0.04
0.08
null
null
0.045714
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
73ba88380b59f46562f35734b6a45437d7cf4290
1,292
py
Python
python/entityParse.py
jay4842/sim-engine
fecd2df404b1571f666e98026e598cfe26cbf922
[ "MIT" ]
null
null
null
python/entityParse.py
jay4842/sim-engine
fecd2df404b1571f666e98026e598cfe26cbf922
[ "MIT" ]
null
null
null
python/entityParse.py
jay4842/sim-engine
fecd2df404b1571f666e98026e598cfe26cbf922
[ "MIT" ]
null
null
null
# TODO parse entity logs # TODO store entity info to a log at runtime import mysqlConnection as sql import time def parse_entity_report(lines, file_name): print('entity report: {}'.format(file_name)) if(len(lines) < 5): #print('Not enough lines for this report -> {}'.format(file_name)) return ...
30.761905
79
0.602941
189
1,292
3.94709
0.375661
0.080429
0.042895
0.053619
0.112601
0.069705
0
0
0
0
0
0.018443
0.244582
1,292
42
80
30.761905
0.745902
0.216718
0
0.08
0
0
0.132602
0.027916
0
0
0
0.02381
0
1
0.08
false
0
0.08
0
0.28
0.08
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