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
93feb2b5aaee509b3ca59bd657fd9239d3cc9aa4
5,234
py
Python
rtk/dao/RTKMatrix.py
rakhimov/rtk
adc35e218ccfdcf3a6e3082f6a1a1d308ed4ff63
[ "BSD-3-Clause" ]
null
null
null
rtk/dao/RTKMatrix.py
rakhimov/rtk
adc35e218ccfdcf3a6e3082f6a1a1d308ed4ff63
[ "BSD-3-Clause" ]
null
null
null
rtk/dao/RTKMatrix.py
rakhimov/rtk
adc35e218ccfdcf3a6e3082f6a1a1d308ed4ff63
[ "BSD-3-Clause" ]
2
2020-04-03T04:14:42.000Z
2021-02-22T05:30:35.000Z
# -*- coding: utf-8 -*- # # rtk.dao.RTKMatrix.py is part of The RTK Project # # All rights reserved. # Copyright 2007 - 2017 Andrew Rowland andrew.rowland <AT> reliaqual <DOT> com """ =============================================================================== The RTKMatrix Table ==============================...
40.261538
79
0.526175
540
5,234
4.824074
0.261111
0.036852
0.039923
0.051056
0.193858
0.094818
0.085605
0.026871
0
0
0
0.012095
0.257547
5,234
129
80
40.573643
0.65826
0.455865
0
0
0
0
0.186636
0.021121
0
0
0
0
0
1
0.035714
false
0.017857
0.071429
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93ff19152094c70f894a1b56b790e173ed1c2638
614
py
Python
tool/gitautopull.py
chaosannals/trial-python
740b91fa4b1b1b9839b7524515995a6d417612ca
[ "MIT" ]
null
null
null
tool/gitautopull.py
chaosannals/trial-python
740b91fa4b1b1b9839b7524515995a6d417612ca
[ "MIT" ]
8
2020-12-26T07:48:15.000Z
2022-03-12T00:25:14.000Z
tool/gitautopull.py
chaosannals/trial-python
740b91fa4b1b1b9839b7524515995a6d417612ca
[ "MIT" ]
null
null
null
import os import shutil def pull_default(folder=None): cwd = os.getcwd() if None == folder: folder = cwd for path in os.listdir(folder): project_path = os.path.join(folder, path) if os.path.isdir(project_path): dot_git_folder = os.path.join(project_path, '.git') ...
29.238095
65
0.583062
81
614
4.271605
0.345679
0.190751
0.150289
0.075145
0.138728
0
0
0
0
0
0
0
0.286645
614
20
66
30.7
0.789954
0
0
0
0
0
0.086319
0
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.166667
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93ff6193a2b94edc476d54fd31667524f6fc80f3
815
py
Python
pyogp/apps/web/django/pyogp_webbot/urls.py
grobertson/PyOGP.Apps
03583baa8d3a2438b0d0a5452ee8c9e56aace9fd
[ "Apache-2.0" ]
null
null
null
pyogp/apps/web/django/pyogp_webbot/urls.py
grobertson/PyOGP.Apps
03583baa8d3a2438b0d0a5452ee8c9e56aace9fd
[ "Apache-2.0" ]
null
null
null
pyogp/apps/web/django/pyogp_webbot/urls.py
grobertson/PyOGP.Apps
03583baa8d3a2438b0d0a5452ee8c9e56aace9fd
[ "Apache-2.0" ]
null
null
null
from django.conf.urls.defaults import * # Uncomment the next two lines to enable the admin: # from django.contrib import admin # admin.autodiscover() urlpatterns = patterns('', # Example: # (r'^pyogp_webbot/', include('pyogp_webbot.foo.urls')), # Uncomment the admin/doc line below and add 'django.contrib...
37.045455
87
0.692025
108
815
5.111111
0.351852
0.179348
0.173913
0.152174
0.231884
0.137681
0.137681
0.137681
0
0
0
0
0.144785
815
21
88
38.809524
0.791966
0.530061
0
0
0
0
0.540323
0.494624
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
93ffdac053f4b224bf9ac1f85bcc5aea184dd502
9,300
py
Python
emit.py
richardbenson91477/simile
aa1faa8902d24e57133cd2c9982e5d4eef6f913f
[ "Unlicense" ]
null
null
null
emit.py
richardbenson91477/simile
aa1faa8902d24e57133cd2c9982e5d4eef6f913f
[ "Unlicense" ]
null
null
null
emit.py
richardbenson91477/simile
aa1faa8902d24e57133cd2c9982e5d4eef6f913f
[ "Unlicense" ]
null
null
null
''' code emitters ''' import out, enums as e class s: ''' state ''' # long_len # arg_regs, arg_regs_n # regs # stack_regs pass def init (long_len): s.long_len = long_len if long_len == 8: s.arg_regs = ['%rdi', '%rsi', '%rdx', '%rcx', 'r8', 'r9'] s.arg_regs_n = len(s.arg...
30.693069
78
0.475484
1,406
9,300
2.920341
0.086771
0.081588
0.052606
0.05358
0.749391
0.688505
0.63322
0.594496
0.57964
0.566245
0
0.018797
0.370753
9,300
302
79
30.794702
0.682843
0.009247
0
0.550607
0
0
0.052305
0
0
0
0
0.003311
0
1
0.020243
false
0.004049
0.004049
0
0.210526
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
0
0
1
0
9e00237613a99687f5e6e25a05d24aa9f51580f2
2,291
py
Python
_static/cookbook/gravmag_euler_classic_expanding_window.py
fatiando/v0.1
1ab9876b247c67834b8e1c874d5b1d86f82802e2
[ "BSD-3-Clause" ]
null
null
null
_static/cookbook/gravmag_euler_classic_expanding_window.py
fatiando/v0.1
1ab9876b247c67834b8e1c874d5b1d86f82802e2
[ "BSD-3-Clause" ]
null
null
null
_static/cookbook/gravmag_euler_classic_expanding_window.py
fatiando/v0.1
1ab9876b247c67834b8e1c874d5b1d86f82802e2
[ "BSD-3-Clause" ]
null
null
null
""" GravMag: Classic 3D Euler deconvolution of magnetic data using an expanding window """ from fatiando import logger, mesher, gridder, utils, gravmag from fatiando.vis import mpl, myv log = logger.get() log.info(logger.header()) # Make a model bounds = [-5000, 5000, -5000, 5000, 0, 5000] model = [ mesher.Prism(...
32.728571
78
0.690965
350
2,291
4.511429
0.425714
0.015199
0.0114
0.020899
0.079797
0.079797
0.079797
0
0
0
0
0.058333
0.161938
2,291
69
79
33.202899
0.764063
0.161938
0
0.122449
0
0
0.119296
0
0
0
0
0
0
0
null
null
0
0.040816
null
null
0.061224
0
0
0
null
0
0
0
0
0
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
9e00350a4a2fb7dd0ecbdf440b5912df33e77fb3
324
py
Python
popmemes/backend/popmemes/migrations/0002_auto_20190122_0939.py
hangulu/twitter
e4461652d35fc6d547e93f364b56c1a1637c5547
[ "MIT" ]
null
null
null
popmemes/backend/popmemes/migrations/0002_auto_20190122_0939.py
hangulu/twitter
e4461652d35fc6d547e93f364b56c1a1637c5547
[ "MIT" ]
7
2019-12-29T08:23:25.000Z
2022-02-26T14:04:51.000Z
popmemes/backend/popmemes/migrations/0002_auto_20190122_0939.py
hangulu/twitter
e4461652d35fc6d547e93f364b56c1a1637c5547
[ "MIT" ]
null
null
null
# Generated by Django 2.1.5 on 2019-01-22 09:39 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('popmemes', '0001_initial'), ] operations = [ migrations.RenameModel( old_name='Popmemes', new_name='PopImage', ), ...
18
47
0.58642
34
324
5.5
0.823529
0
0
0
0
0
0
0
0
0
0
0.0837
0.299383
324
17
48
19.058824
0.740088
0.138889
0
0
1
0
0.129964
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9e06be00254eeed4fa569ee854389c69ab61f743
6,434
py
Python
tests/ampligraph/datasets/test_datasets.py
ojasviyadav/AmpliGraph
07ce70ff9e30812ac8f4a34d245d1d5decec27f7
[ "Apache-2.0" ]
null
null
null
tests/ampligraph/datasets/test_datasets.py
ojasviyadav/AmpliGraph
07ce70ff9e30812ac8f4a34d245d1d5decec27f7
[ "Apache-2.0" ]
null
null
null
tests/ampligraph/datasets/test_datasets.py
ojasviyadav/AmpliGraph
07ce70ff9e30812ac8f4a34d245d1d5decec27f7
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 The AmpliGraph Authors. All Rights Reserved. # # This file is Licensed under the Apache License, Version 2.0. # A copy of the Licence is available in LICENCE, or at: # # http://www.apache.org/licenses/LICENSE-2.0 # from ampligraph.datasets import load_wn18, load_fb15k, load_fb15k_237, load_yago3_10...
42.328947
119
0.615636
933
6,434
4.082529
0.135048
0.101601
0.06931
0.07141
0.676556
0.572329
0.4513
0.416907
0.345235
0.345235
0
0.122159
0.17936
6,434
151
120
42.609272
0.599242
0.274479
0
0.204545
0
0
0.102199
0
0
0
0
0
0.568182
1
0.090909
false
0
0.034091
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
9e08eda6cab019bc0097ad8470c08bcc09a74c92
5,959
py
Python
code/geometry/sector.py
Prometheus3375/inno-thesis
72245706fa25b49f333e08d6074d421b5becfdb5
[ "BSD-3-Clause" ]
null
null
null
code/geometry/sector.py
Prometheus3375/inno-thesis
72245706fa25b49f333e08d6074d421b5becfdb5
[ "BSD-3-Clause" ]
null
null
null
code/geometry/sector.py
Prometheus3375/inno-thesis
72245706fa25b49f333e08d6074d421b5becfdb5
[ "BSD-3-Clause" ]
null
null
null
from io import StringIO from math import atan2, ceil from typing import Literal, Union, overload from common import PI, Real, TWOPI, deg, real, reduce_angle from functions import qbezeir_svg_given_middle from .circle import CircleBase, FixedCircle from .point import PointBase, Polar def check_arc(value: float, /): ...
26.721973
112
0.587515
757
5,959
4.425363
0.179657
0.06209
0.050149
0.037313
0.363881
0.33194
0.311045
0.266269
0.205373
0.179104
0
0.008939
0.286625
5,959
222
113
26.842342
0.777935
0.028864
0
0.258065
0
0
0.056761
0.025169
0
0
0
0.004505
0
1
0.232258
false
0
0.045161
0.103226
0.516129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9e097d9b8021dd21364c747eb7b2f08352fe9ba6
1,155
py
Python
scripts/gen_mh.py
bplank/DaNplus
220428109c9ae5abc60e8968a7fe7a4aa6ad92e3
[ "MIT" ]
5
2020-12-11T17:11:03.000Z
2022-01-01T12:14:04.000Z
scripts/gen_mh.py
bplank/DaNplus
220428109c9ae5abc60e8968a7fe7a4aa6ad92e3
[ "MIT" ]
null
null
null
scripts/gen_mh.py
bplank/DaNplus
220428109c9ae5abc60e8968a7fe7a4aa6ad92e3
[ "MIT" ]
null
null
null
import os COL_SEPARATOR = "\t" MULTI_SEPARATOR = "$" for neFile in os.listdir('data/'): neFile = 'data/' + neFile out_filename = neFile.replace('.tsv', "_mh.tsv") if os.path.isfile(out_filename) or '_mh' in neFile or os.path.isdir(neFile): continue out_f = open(out_filename, "w") with open(n...
38.5
80
0.507359
148
1,155
3.736486
0.324324
0.216998
0.099458
0.065099
0.240506
0.240506
0.240506
0.240506
0.240506
0.240506
0
0.018692
0.351515
1,155
29
81
39.827586
0.719626
0
0
0.074074
0
0
0.032929
0
0
0
0
0
0
1
0
false
0
0.037037
0
0.037037
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
9e0bbeb93835b36e23fb310038a044e9818c4553
13,451
py
Python
kecpkg/commands/sign.py
jberends/kecpkg-tools
3c288c5b91b619fe76cd3622615f3ffe43509725
[ "Apache-2.0" ]
null
null
null
kecpkg/commands/sign.py
jberends/kecpkg-tools
3c288c5b91b619fe76cd3622615f3ffe43509725
[ "Apache-2.0" ]
7
2017-12-07T11:16:07.000Z
2019-12-11T15:25:07.000Z
kecpkg/commands/sign.py
KE-works/kecpkg-tools
3c288c5b91b619fe76cd3622615f3ffe43509725
[ "Apache-2.0" ]
null
null
null
import os import sys from pprint import pprint import click from pykechain.utils import temp_chdir from kecpkg.commands.utils import CONTEXT_SETTINGS from kecpkg.gpg import get_gpg, list_keys, hash_of_file from kecpkg.settings import SETTINGS_FILENAME, GNUPG_KECPKG_HOME, load_settings, DEFAULT_SETTINGS, ARTIFACTS_FIL...
46.867596
120
0.63564
1,703
13,451
4.840282
0.182032
0.026689
0.026204
0.02402
0.273323
0.186219
0.140968
0.11258
0.101905
0.068179
0
0.004342
0.246673
13,451
286
121
47.031469
0.809138
0.105494
0
0.180095
0
0.009479
0.297193
0.002514
0
0
0
0
0
1
0.047393
false
0.028436
0.109005
0
0.156398
0.037915
0
0
0
null
0
0
0
0
0
0
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
1
0
9e0cb81c07d1ab8a7ecca4e8e8464e12bdf7bef9
954
py
Python
benchmark/generate_data.py
etra0/sapeaob
3e21bd66f8530f983130c52e37d612cc53181acd
[ "MIT" ]
3
2021-08-04T13:00:25.000Z
2021-12-21T21:07:40.000Z
benchmark/generate_data.py
etra0/sapeaob
3e21bd66f8530f983130c52e37d612cc53181acd
[ "MIT" ]
null
null
null
benchmark/generate_data.py
etra0/sapeaob
3e21bd66f8530f983130c52e37d612cc53181acd
[ "MIT" ]
null
null
null
import argparse import random SIGNATURE = b'\xDE\xAD\xBE\xEF\xC0\xFF\xEE\xAA\xBB\xCC\xDD\xEE\xFF\x00\x11\x22\x33\x44\x55\x66\x77\x88\x99\xAA' # Generate data in chunks of 1024 bytes. def generate_random_data(size): data = bytearray() while len(data) <= size: data += random.randbytes(1024) return ...
25.783784
111
0.669811
140
954
4.435714
0.542857
0.05153
0.057971
0.067633
0
0
0
0
0
0
0
0.051348
0.183438
954
36
112
26.5
0.745828
0.039832
0
0
1
0.041667
0.161926
0.105033
0
0
0
0
0
1
0.166667
false
0
0.083333
0
0.291667
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
9e0dd95d1aaf80cae2655fcee6b6427ac437b94c
10,563
py
Python
doctor/lib/utils.py
freelawproject/doctor
3858b6f5de7903353f4376303329a986db5b7983
[ "BSD-2-Clause" ]
null
null
null
doctor/lib/utils.py
freelawproject/doctor
3858b6f5de7903353f4376303329a986db5b7983
[ "BSD-2-Clause" ]
null
null
null
doctor/lib/utils.py
freelawproject/doctor
3858b6f5de7903353f4376303329a986db5b7983
[ "BSD-2-Clause" ]
null
null
null
import datetime import io import os import re import subprocess import warnings from collections import namedtuple from decimal import Decimal from pathlib import Path import six from PyPDF2 import PdfFileMerger from reportlab.pdfgen import canvas class DoctorUnicodeDecodeError(UnicodeDecodeError): def __init__(...
30.528902
87
0.619142
1,408
10,563
4.539773
0.253551
0.020651
0.015488
0.013141
0.371715
0.364362
0.356227
0.340895
0.315551
0.315551
0
0.005374
0.277667
10,563
345
88
30.617391
0.832372
0.312222
0
0.331606
0
0
0.06426
0.016318
0
0
0
0
0
1
0.103627
false
0.010363
0.062176
0.005181
0.321244
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
0
0
1
0
9e0e1c62ee116428b55cffa380260139fb9ea5d8
906
py
Python
src/xrl/env_tester.py
k4ntz/XmodRL
dffb416bcd91010d8075ee1ac00cc4b9a3021967
[ "MIT" ]
null
null
null
src/xrl/env_tester.py
k4ntz/XmodRL
dffb416bcd91010d8075ee1ac00cc4b9a3021967
[ "MIT" ]
null
null
null
src/xrl/env_tester.py
k4ntz/XmodRL
dffb416bcd91010d8075ee1ac00cc4b9a3021967
[ "MIT" ]
1
2021-11-10T18:09:27.000Z
2021-11-10T18:09:27.000Z
import gym import numpy as np import os import random import matplotlib.pyplot as plt from atariari.benchmark.wrapper import AtariARIWrapper # YarsRevenge # env_name = "DemonAttackDeterministic-v4" def print_labels(env_info): # extract raw features labels = env_info["labels"] print(labels) env = Atar...
22.65
66
0.695364
136
906
4.544118
0.558824
0.053398
0.045307
0.048544
0
0
0
0
0
0
0
0.024357
0.184327
906
40
67
22.65
0.811908
0.143488
0
0
0
0
0.059663
0.035019
0
0
0
0
0
1
0.033333
false
0
0.2
0
0.233333
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
0
0
0
0
0
0
0
0
1
0
9e0ef102e2826e6b9febd80bed5d0193a3687555
2,711
py
Python
packages/lrn/model/question.py
genropy/learn
019286c1fa1548482f64ccbd91082e069ec62a56
[ "MIT" ]
3
2019-11-16T12:38:20.000Z
2019-11-17T08:44:41.000Z
packages/lrn/model/question.py
genropy/learn
019286c1fa1548482f64ccbd91082e069ec62a56
[ "MIT" ]
null
null
null
packages/lrn/model/question.py
genropy/learn
019286c1fa1548482f64ccbd91082e069ec62a56
[ "MIT" ]
5
2019-11-16T16:22:10.000Z
2019-11-18T21:46:50.000Z
# encoding: utf-8 from datetime import datetime class Table(object): def config_db(self,pkg): tbl=pkg.table('question', pkey='id', name_long='!![en]Question', name_plural='!![en]Questions',caption_field='question') self.sysFields(tbl, draftField=True) tbl.column('question',name_long='!![en]...
54.22
138
0.570638
309
2,711
4.770227
0.368932
0.065129
0.061058
0.035278
0.297151
0.297151
0.232022
0.189959
0.074627
0
0
0.004719
0.29657
2,711
50
139
54.22
0.768222
0.143121
0
0.210526
0
0
0.218292
0
0
0
0
0
0
1
0.078947
false
0
0.026316
0
0.184211
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
0
0
1
0
9e11d3f12bcf35bac083ace9a1b7490250555694
3,087
py
Python
core/api/OxfordAPI.py
vimarind/Complete-GRE-Vocab
6dc8bb8ed0506ed572edd1a01a456d9a27238c94
[ "MIT" ]
null
null
null
core/api/OxfordAPI.py
vimarind/Complete-GRE-Vocab
6dc8bb8ed0506ed572edd1a01a456d9a27238c94
[ "MIT" ]
null
null
null
core/api/OxfordAPI.py
vimarind/Complete-GRE-Vocab
6dc8bb8ed0506ed572edd1a01a456d9a27238c94
[ "MIT" ]
null
null
null
import json import requests from os import path class OxfordAPI: def __init__(self, app_id, app_key, cache_path): self.app_id = app_id self.app_key = app_key self.cache_path = cache_path def __parse_sense(self, word, sense): for definition in sense.get('definitions', list()):...
38.111111
117
0.618724
390
3,087
4.705128
0.279487
0.034877
0.042507
0.019619
0.076294
0.035967
0.035967
0
0
0
0
0.000449
0.278264
3,087
80
118
38.5875
0.82316
0.12504
0
0.135593
0
0.016949
0.088948
0
0
0
0
0
0
1
0.152542
false
0
0.050847
0
0.271186
0.016949
0
0
0
null
0
0
0
0
0
0
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
1
0
9e1202ada111dfedf3e1239998ddc9e7e0c2bac2
2,568
py
Python
linked_list.py
bentsi/data-structures
ce4a3a49ec131550ec0b77875b8f0367addcca05
[ "Apache-2.0" ]
null
null
null
linked_list.py
bentsi/data-structures
ce4a3a49ec131550ec0b77875b8f0367addcca05
[ "Apache-2.0" ]
null
null
null
linked_list.py
bentsi/data-structures
ce4a3a49ec131550ec0b77875b8f0367addcca05
[ "Apache-2.0" ]
1
2021-01-10T15:41:50.000Z
2021-01-10T15:41:50.000Z
class Node: def __init__(self, data=None): self.data = data self.next = None class LinkedListIndexError(IndexError): pass class LinkedList: def __init__(self): self.head = Node() def _get_last_node(self): pointer = self.head while pointer.next is not None: ...
24.457143
73
0.550234
326
2,568
4.153374
0.180982
0.064993
0.044313
0.053176
0.251108
0.169867
0.169867
0.127031
0.127031
0
0
0.008824
0.338006
2,568
104
74
24.692308
0.787647
0
0
0.255814
0
0
0.06581
0
0
0
0
0
0
1
0.162791
false
0.011628
0
0.034884
0.290698
0.093023
0
0
0
null
0
0
0
0
0
0
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
1
0
9e13f559b1f0c5960c9398a871cf6613d7ce918c
5,442
py
Python
apps/login/views.py
kwarodom/bemoss_web_ui-1
6c65c49b8f52bc7d189c9f2391f9098ec0f2dd92
[ "Unlicense" ]
null
null
null
apps/login/views.py
kwarodom/bemoss_web_ui-1
6c65c49b8f52bc7d189c9f2391f9098ec0f2dd92
[ "Unlicense" ]
null
null
null
apps/login/views.py
kwarodom/bemoss_web_ui-1
6c65c49b8f52bc7d189c9f2391f9098ec0f2dd92
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- ''' Copyright (c) 2016, Virginia Tech 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 condi...
52.326923
118
0.717567
728
5,442
5.309066
0.428571
0.007762
0.019405
0.025873
0.096507
0.076585
0.076585
0.057439
0.035188
0.035188
0
0.012085
0.22455
5,442
103
119
52.834951
0.903555
0.172547
0
0.107143
0
0
0.151955
0
0
0
0
0
0
0
null
null
0.142857
0.214286
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
9e14d6737904e50f196708249c8435de6151b062
2,768
py
Python
custom_html_validator/custom_html_validator.py
koan-u/custom_html_validator
1a6735146e64d3c346201d10eddfd9ebfe1377c2
[ "MIT" ]
null
null
null
custom_html_validator/custom_html_validator.py
koan-u/custom_html_validator
1a6735146e64d3c346201d10eddfd9ebfe1377c2
[ "MIT" ]
null
null
null
custom_html_validator/custom_html_validator.py
koan-u/custom_html_validator
1a6735146e64d3c346201d10eddfd9ebfe1377c2
[ "MIT" ]
null
null
null
from html.parser import HTMLParser class CustomHTMLValidater(HTMLParser): __SINGLE_TAGS = [ 'area','base','br','col','embed', 'hr','img','input','keygen','link', 'meta','param','source','track','wbr' ] def __init__(self): HTMLParser.__init__(self) self.reset(True) ...
33.756098
66
0.462789
264
2,768
4.511364
0.25
0.127624
0.105793
0.062972
0.347607
0.270361
0.270361
0.208228
0.208228
0
0
0.00811
0.420882
2,768
81
67
34.17284
0.734872
0
0
0.324324
0
0
0.126084
0
0
0
0
0
0
1
0.081081
false
0
0.013514
0
0.216216
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
0
0
1
0
9e14d840b0d68fa20db94e8f512ad11ba709e64f
1,841
py
Python
boltfile.py
arahmanhamdy/bolt
8f5d9b8149db833b54a7b353162b2c28a53c8aff
[ "MIT" ]
15
2016-10-21T14:30:38.000Z
2021-10-12T04:50:48.000Z
boltfile.py
arahmanhamdy/bolt
8f5d9b8149db833b54a7b353162b2c28a53c8aff
[ "MIT" ]
51
2016-02-05T01:24:32.000Z
2019-12-09T16:52:20.000Z
boltfile.py
arahmanhamdy/bolt
8f5d9b8149db833b54a7b353162b2c28a53c8aff
[ "MIT" ]
6
2016-10-17T13:48:16.000Z
2021-03-28T20:40:14.000Z
import logging import os.path import bolt import bolt.about PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__)) _src_dir = os.path.join(PROJECT_ROOT, 'bolt') _test_dir = os.path.join(PROJECT_ROOT, 'test') _output_dir = os.path.join(PROJECT_ROOT, 'output') _coverage_dir = os.path.join(_output_dir, 'coverage') ...
25.569444
78
0.523628
197
1,841
4.675127
0.329949
0.058632
0.065147
0.05646
0.140065
0.078176
0
0
0
0
0
0
0.293319
1,841
71
79
25.929577
0.707917
0.029875
0
0.032258
0
0
0.280584
0
0
0
0
0
0
1
0
false
0
0.064516
0
0.064516
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
0
0
1
0
9e15279f716f2f3dcaf04f7c355aee058fe22e12
1,120
py
Python
pyxedit/xedit/object_classes/HDPT.py
leontristain/pyxedit
4100506930ab6d62d6e2c4a89fee024dbbf87c7b
[ "MIT" ]
null
null
null
pyxedit/xedit/object_classes/HDPT.py
leontristain/pyxedit
4100506930ab6d62d6e2c4a89fee024dbbf87c7b
[ "MIT" ]
13
2019-04-09T06:14:22.000Z
2020-07-03T07:35:30.000Z
pyxedit/xedit/object_classes/HDPT.py
leontristain/pyxedit
4100506930ab6d62d6e2c4a89fee024dbbf87c7b
[ "MIT" ]
null
null
null
from enum import Enum from pyxedit.xedit.attribute import XEditAttribute from pyxedit.xedit.generic import XEditGenericObject class HeadPartTypes(Enum): Misc = 'Misc' Face = 'Face' Eyes = 'Eyes' Hair = 'Hair' FacialHair = 'Facial Hair' Scar = 'Scar' Eyebrows = 'Eyebrows' class XEditHead...
31.111111
80
0.669643
122
1,120
6.040984
0.52459
0.029851
0.043419
0
0
0
0
0
0
0
0
0.002262
0.210714
1,120
35
81
32
0.831448
0
0
0
0
0
0.128571
0.050893
0
0
0
0
0
1
0.035714
false
0
0.107143
0
1.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
0
0
0
1
0
0
1
9e158c914469c96413a23f9b7926f662ec188191
1,309
py
Python
assignments/04_head/head.py
emma-huffman/biosystems-analytics-2020
eaf9c084407fa6d25b815b7d63077ed9aec53447
[ "MIT" ]
null
null
null
assignments/04_head/head.py
emma-huffman/biosystems-analytics-2020
eaf9c084407fa6d25b815b7d63077ed9aec53447
[ "MIT" ]
null
null
null
assignments/04_head/head.py
emma-huffman/biosystems-analytics-2020
eaf9c084407fa6d25b815b7d63077ed9aec53447
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ Author : Me <me@foo.com> Date : today Purpose: Rock the Casbah """ import argparse import io import os import sys # -------------------------------------------------- def get_args(): """Get command-line arguments""" parser = argparse.ArgumentParser( description='Rock the...
23.375
66
0.450726
130
1,309
4.407692
0.561538
0.036649
0.045375
0
0
0
0
0
0
0
0
0.007982
0.330023
1,309
55
67
23.8
0.645382
0.220779
0
0
0
0
0.104104
0
0
0
0
0
0
1
0.060606
false
0
0.121212
0
0.212121
0.060606
0
0
0
null
0
0
0
0
0
0
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
1
0
9e16d5b26d929cfae2b8a212b8915e0500128d25
1,040
py
Python
tests/CornerCasesTest.py
dpep/py_pluckit
be7c1cd6e2555234f08dd0cb6239db2c249562a4
[ "MIT" ]
null
null
null
tests/CornerCasesTest.py
dpep/py_pluckit
be7c1cd6e2555234f08dd0cb6239db2c249562a4
[ "MIT" ]
null
null
null
tests/CornerCasesTest.py
dpep/py_pluckit
be7c1cd6e2555234f08dd0cb6239db2c249562a4
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os import sys import unittest from collections import namedtuple sys.path = [ os.path.abspath(os.path.join(os.path.dirname(__file__), '../..')) ] + sys.path from pluckit import pluck class CornerCasesTest(unittest.TestCase): def test_null_handle(self): data = [1, 2, 3] ...
21.22449
91
0.516346
118
1,040
4.398305
0.381356
0.202312
0.146435
0.080925
0.217726
0.109827
0
0
0
0
0
0.019971
0.325962
1,040
48
92
21.666667
0.720399
0.019231
0
0
0
0
0.019627
0
0
0
0
0
0.212121
1
0.121212
false
0
0.151515
0
0.30303
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
9e177263a0ebd8c89321b840a71c84edfd2ea746
1,520
py
Python
src/lib/transforms/cross_drop.py
pfnet-research/kaggle-lyft-motion-prediction-4th-place-solution
0bc51075db31a747eeebb7f4775a3cd26ad5f870
[ "MIT" ]
44
2020-12-09T06:15:15.000Z
2022-03-31T02:37:47.000Z
src/lib/transforms/cross_drop.py
pfnet-research/kaggle-lyft-motion-prediction-4th-place-solution
0bc51075db31a747eeebb7f4775a3cd26ad5f870
[ "MIT" ]
null
null
null
src/lib/transforms/cross_drop.py
pfnet-research/kaggle-lyft-motion-prediction-4th-place-solution
0bc51075db31a747eeebb7f4775a3cd26ad5f870
[ "MIT" ]
7
2020-12-09T10:08:32.000Z
2021-08-17T01:53:51.000Z
from albumentations.core.transforms_interface import ImageOnlyTransform import albumentations.augmentations.functional as F import random class CrossDrop(ImageOnlyTransform): def __init__(self, max_h_cut=0.2, max_w_cut=0.2, fill_value=0, always_apply=False, p=0.5): super(CrossDrop, self).__init__(always_a...
33.777778
94
0.620395
214
1,520
4.135514
0.266355
0.087006
0.063277
0.171751
0.284746
0.284746
0.284746
0.284746
0
0
0
0.025528
0.252632
1,520
44
95
34.545455
0.753521
0
0
0
0
0
0.021711
0
0
0
0
0
0
1
0.151515
false
0
0.090909
0.090909
0.393939
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
9e1798f13a1e5958c9273e51efaff12141f4e76c
9,497
py
Python
js_components/cms_plugins.py
compoundpartners/js-components
a58a944254354078a0a7b53a4c9a7df50790267a
[ "BSD-3-Clause" ]
null
null
null
js_components/cms_plugins.py
compoundpartners/js-components
a58a944254354078a0a7b53a4c9a7df50790267a
[ "BSD-3-Clause" ]
null
null
null
js_components/cms_plugins.py
compoundpartners/js-components
a58a944254354078a0a7b53a4c9a7df50790267a
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals import functools import six from django.utils.translation import ugettext_lazy as _ from django.template import TemplateDoesNotExist from django.template.loader import select_template from cms.plugin_base import CMSPluginBase, CMSPluginBaseMetaclass from ...
29.958991
134
0.666737
968
9,497
6.330579
0.202479
0.050914
0.041123
0.05483
0.332245
0.28688
0.259465
0.227807
0.212141
0.096606
0
0.000687
0.233126
9,497
316
135
30.053797
0.840725
0.023376
0
0.262548
0
0
0.178964
0.080906
0
0
0
0
0
1
0.03861
false
0.003861
0.042471
0.007722
0.517375
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
0
0
1
0
9e18ddf285ec21f8d58dafd4142a06363020741a
1,232
py
Python
src/julia/tests/test_juliaoptions.py
dpinol/pyjulia
cec4bf0b0eac7e39cecd8f3e7882563062903d0f
[ "MIT" ]
649
2016-09-09T07:38:19.000Z
2022-03-28T04:30:55.000Z
src/julia/tests/test_juliaoptions.py
dpinol/pyjulia
cec4bf0b0eac7e39cecd8f3e7882563062903d0f
[ "MIT" ]
362
2016-09-08T16:25:30.000Z
2022-03-05T23:15:05.000Z
src/julia/tests/test_juliaoptions.py
dpinol/pyjulia
cec4bf0b0eac7e39cecd8f3e7882563062903d0f
[ "MIT" ]
85
2016-11-08T09:32:44.000Z
2022-03-03T13:10:37.000Z
import pytest from julia.core import JuliaOptions # fmt: off @pytest.mark.parametrize("kwargs, args", [ ({}, []), (dict(compiled_modules=None), []), (dict(compiled_modules=False), ["--compiled-modules", "no"]), (dict(compiled_modules="no"), ["--compiled-modules", "no"]), (dict(depwarn="error"), [...
28
65
0.655844
149
1,232
5.328859
0.315436
0.11335
0.095718
0.085642
0.210327
0.083123
0
0
0
0
0
0.010659
0.162338
1,232
43
66
28.651163
0.758721
0.026786
0
0.21875
0
0
0.143216
0
0
0
0
0
0.15625
1
0.09375
false
0
0.0625
0
0.15625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9e19326d841517afadd3d42542cc9b11a5c4a5d7
1,578
py
Python
tests/common.py
Algomorph/ext_argparse
fbca26f8a551f84677475a11fb5415ddda78abd9
[ "Apache-2.0" ]
1
2021-09-06T23:22:07.000Z
2021-09-06T23:22:07.000Z
tests/common.py
Algomorph/ext_argparse
fbca26f8a551f84677475a11fb5415ddda78abd9
[ "Apache-2.0" ]
11
2021-09-07T14:13:39.000Z
2021-09-29T15:17:46.000Z
tests/common.py
Algomorph/ext_argparse
fbca26f8a551f84677475a11fb5415ddda78abd9
[ "Apache-2.0" ]
null
null
null
import os import pathlib import typing import pytest from ext_argparse.parameter import Parameter from ext_argparse.param_enum import ParameterEnum from enum import Enum class RoofMaterial(Enum): SLATE = 0 METAL = 1 CONCRETE = 2 COMPOSITE = 3 SOLAR = 4 CLAY = 5 SYNTHETIC_BARREL = 6 S...
28.690909
116
0.693916
198
1,578
5.358586
0.474747
0.05655
0.075401
0.035815
0.04901
0
0
0
0
0
0
0.026961
0.224335
1,578
55
117
28.690909
0.839869
0
0
0
0
0
0.10133
0
0
0
0
0
0
1
0.023256
false
0
0.162791
0.023256
0.930233
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
9e1b5f4b3183d1482047160b015715a1f35d97f0
389
py
Python
lambda/exercices/PhotoCollector/photo_uploader_from_csv.py
Mythridor/aws-scripting
5f978ae7f2b05a40862cbe35d766534fcc40fef0
[ "MIT" ]
null
null
null
lambda/exercices/PhotoCollector/photo_uploader_from_csv.py
Mythridor/aws-scripting
5f978ae7f2b05a40862cbe35d766534fcc40fef0
[ "MIT" ]
null
null
null
lambda/exercices/PhotoCollector/photo_uploader_from_csv.py
Mythridor/aws-scripting
5f978ae7f2b05a40862cbe35d766534fcc40fef0
[ "MIT" ]
null
null
null
#! /usr/local/bin/Python3.5 import urllib.request with open("images.csv", 'r') as csv: i = 0 for line in csv: line = line.split(',') if line[1] != '' and line[1] != "\n": urllib.request.urlretrieve(line[1].encode('utf-8'), ("img_" + str(i) + ".jpg").encode('utf-8')) pri...
25.933333
107
0.524422
57
389
3.561404
0.631579
0.073892
0.147783
0
0
0
0
0
0
0
0
0.034483
0.254499
389
14
108
27.785714
0.665517
0.066838
0
0
0
0
0.157459
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
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
0
0
0
0
0
0
0
0
1
0
9e1b7c970fedf5252f5d2635e9703e31344e54e5
1,031
py
Python
src/main/tools/api.py
NGnius/streamq
aa31085befc7da2e3f7461698b2638a246a73eef
[ "MIT" ]
null
null
null
src/main/tools/api.py
NGnius/streamq
aa31085befc7da2e3f7461698b2638a246a73eef
[ "MIT" ]
null
null
null
src/main/tools/api.py
NGnius/streamq
aa31085befc7da2e3f7461698b2638a246a73eef
[ "MIT" ]
null
null
null
''' API-related functions in one spot for convenience Created by NGnius 2019-06-15 ''' from flask import jsonify, request from threading import Semaphore, RLock def get_param(param, silent=False): if request.method == 'GET': return request.args.get(param) else: try: return request...
26.435897
69
0.693501
124
1,031
5.629032
0.459677
0.114613
0.111748
0.080229
0.229226
0.12894
0
0
0
0
0
0.014742
0.210475
1,031
38
70
27.131579
0.842752
0.076625
0
0.214286
0
0
0.01589
0
0
0
0
0
0
1
0.142857
false
0
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
0
0
0
0
0
1
0
9e1ba32a4a9094fb6f7a46a889dbdd7f780c6321
323
py
Python
run.py
kamidox/weixin_producthunt
24269da93e75374ee481b1b78257b18abda4d0c7
[ "BSD-3-Clause" ]
10
2015-01-07T06:01:13.000Z
2021-02-14T09:11:10.000Z
run.py
kamidox/weixin_producthunt
24269da93e75374ee481b1b78257b18abda4d0c7
[ "BSD-3-Clause" ]
3
2015-01-01T09:56:04.000Z
2015-01-06T01:34:44.000Z
run.py
kamidox/weixin_producthunt
24269da93e75374ee481b1b78257b18abda4d0c7
[ "BSD-3-Clause" ]
5
2015-01-01T10:31:50.000Z
2018-03-09T05:22:16.000Z
""" productporter ~~~~~~~~~~~~~~~~~~~~ helper for uwsgi :copyright: (c) 2014 by the ProductPorter Team. :license: BSD, see LICENSE for more details. """ from productporter.app import create_app from productporter.configs.production import ProductionConfig app = create_app(config=ProductionConfig(...
23.071429
61
0.693498
35
323
6.342857
0.657143
0.153153
0
0
0
0
0
0
0
0
0
0.014925
0.170279
323
13
62
24.846154
0.813433
0.452012
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9e1bee51dd0ea1878f4a4736c40b34f0977aa174
3,968
py
Python
built-in/PyTorch/Official/cv/image_classification/MobileNetV1_ID0094_for_PyTorch/benchmark.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/image_classification/MobileNetV1_ID0094_for_PyTorch/benchmark.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/image_classification/MobileNetV1_ID0094_for_PyTorch/benchmark.py
Ascend/modelzoo
f018cfed33dbb1cc2110b9ea2e233333f71cc509
[ "Apache-2.0" ]
2
2021-07-10T12:40:46.000Z
2021-12-17T07:55:15.000Z
# BSD 3-Clause License # # Copyright (c) 2017 xxxx # All rights reserved. # Copyright 2021 Huawei Technologies Co., Ltd # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain th...
35.115044
80
0.618952
522
3,968
4.641762
0.394636
0.034668
0.023112
0.024763
0.17499
0.15518
0.15518
0.15518
0.15518
0.086669
0
0.056791
0.263357
3,968
112
81
35.428571
0.772152
0.421119
0
0.191176
0
0
0.024746
0
0
0
0
0
0
1
0.073529
false
0
0.088235
0.029412
0.220588
0.014706
0
0
0
null
0
0
0
0
0
0
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
1
0
9e1da62e19fe4f3008c5d21f24d0decbe6f6039d
1,012
py
Python
client/setup.py
nnabeyang/tepra-lite-esp32
69cbbafce6a3f8b0214178cc80d2fea024ab8c07
[ "MIT" ]
33
2021-09-04T08:46:48.000Z
2022-02-04T08:12:55.000Z
client/setup.py
nnabeyang/tepra-lite-esp32
69cbbafce6a3f8b0214178cc80d2fea024ab8c07
[ "MIT" ]
2
2021-09-28T12:05:21.000Z
2021-12-11T04:08:04.000Z
client/setup.py
nnabeyang/tepra-lite-esp32
69cbbafce6a3f8b0214178cc80d2fea024ab8c07
[ "MIT" ]
2
2021-09-28T10:51:27.000Z
2021-12-10T09:56:22.000Z
from setuptools import setup, find_packages __version__ = '1.0.0' __author__ = 'Takumi Sueda' __author_email__ = 'puhitaku@gmail.com' __license__ = 'MIT License' __classifiers__ = ( 'Development Status :: 4 - Beta', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Progra...
29.764706
74
0.6917
115
1,012
5.626087
0.66087
0.051005
0.07728
0
0
0
0
0
0
0
0
0.011848
0.166008
1,012
33
75
30.666667
0.754739
0
0
0
0
0
0.389328
0
0
0
0
0
0
1
0
false
0
0.033333
0
0.033333
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
0
0
1
0
9e1db727da394433477d2ebb717048f5a98a0ab1
962
py
Python
03.Trabalhando_com_Arquivos/003.path_arquivos.py
heliton1986/Descubra_Python
66738b295b0c5f526529ce0588fa3189eff110a1
[ "MIT" ]
null
null
null
03.Trabalhando_com_Arquivos/003.path_arquivos.py
heliton1986/Descubra_Python
66738b295b0c5f526529ce0588fa3189eff110a1
[ "MIT" ]
null
null
null
03.Trabalhando_com_Arquivos/003.path_arquivos.py
heliton1986/Descubra_Python
66738b295b0c5f526529ce0588fa3189eff110a1
[ "MIT" ]
null
null
null
# Como trabalhar com paths from os import path import time def dadosArquivo(): # Verificar se o arquivo existe arquivoExiste = path.exists("./03.Trabalhando_com_Arquivos/NovoArquivo.txt") # Verificar se é diretório ehDiretorio = path.isdir("./03.Trabalhando_com_Arquivos/NovoArquivo.txt") # Verifi...
31.032258
96
0.745322
109
962
6.46789
0.394495
0.110638
0.13617
0.204255
0.388652
0.388652
0.280851
0.147518
0.147518
0
0
0.01476
0.154886
962
31
97
31.032258
0.852399
0.200624
0
0
0
0
0.354331
0.354331
0
0
0
0
0
1
0.0625
false
0
0.125
0
0.1875
0.375
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
9e210cf9cae77591487ca0d70ca7341aca8bd44a
16,303
py
Python
src/colorpredicate.py
petrusmassabki/color-predicate
828f62b50985cb795aa5b5743e4f7e5c305d2175
[ "MIT" ]
null
null
null
src/colorpredicate.py
petrusmassabki/color-predicate
828f62b50985cb795aa5b5743e4f7e5c305d2175
[ "MIT" ]
null
null
null
src/colorpredicate.py
petrusmassabki/color-predicate
828f62b50985cb795aa5b5743e4f7e5c305d2175
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import os import colorsys import cv2 import numpy as np from scipy.stats import multivariate_normal from matplotlib import pyplot as plt from mpl_toolkits.mplot3d import Axes3D class ColorPredicate: def __init__(self, name, images_path, n_max=10): self.name = name self._t...
37.825986
90
0.56235
1,937
16,303
4.538462
0.170883
0.032761
0.051189
0.026391
0.31009
0.249005
0.19884
0.148334
0.119213
0.098737
0
0.02397
0.344906
16,303
430
91
37.913953
0.799157
0.249831
0
0.12069
0
0
0.068978
0.018254
0
0
0
0
0
1
0.064655
false
0
0.030172
0.021552
0.150862
0.030172
0
0
0
null
0
0
0
0
0
0
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
1
0
9e2177e43f0a318b03307485c7498c4b6cef36fa
2,127
py
Python
src/environments/migrations/0001_initial.py
nixplay/bullet-train-api
608422d174443a4d9178d875ccaeb756a771e908
[ "BSD-3-Clause" ]
1,259
2021-06-10T11:24:09.000Z
2022-03-31T10:30:44.000Z
src/environments/migrations/0001_initial.py
nixplay/bullet-train-api
608422d174443a4d9178d875ccaeb756a771e908
[ "BSD-3-Clause" ]
392
2021-06-10T11:12:29.000Z
2022-03-31T10:13:53.000Z
src/environments/migrations/0001_initial.py
nixplay/bullet-train-api
608422d174443a4d9178d875ccaeb756a771e908
[ "BSD-3-Clause" ]
58
2021-06-11T03:18:07.000Z
2022-03-31T14:39:10.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.13 on 2018-05-25 15:41 from __future__ import unicode_literals import app.utils from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('projects', '0001_init...
39.388889
99
0.487541
173
2,127
5.815029
0.433526
0.054672
0.04175
0.065606
0.471173
0.471173
0.471173
0.471173
0.471173
0.471173
0
0.025842
0.399624
2,127
53
100
40.132075
0.761942
0.03244
0
0.444444
1
0
0.118248
0.011679
0
0
0
0
0
1
0
false
0
0.088889
0
0.177778
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
9e23d085a14f192cef141c0732be27df361cf10b
4,456
py
Python
tests/test_basic_train.py
maxwellmckinnon/fastai
b67bf7184ac2be1825697709051c5bcba058a40d
[ "Apache-2.0" ]
1
2019-04-08T09:52:28.000Z
2019-04-08T09:52:28.000Z
tests/test_basic_train.py
maxwellmckinnon/fastai
b67bf7184ac2be1825697709051c5bcba058a40d
[ "Apache-2.0" ]
null
null
null
tests/test_basic_train.py
maxwellmckinnon/fastai
b67bf7184ac2be1825697709051c5bcba058a40d
[ "Apache-2.0" ]
1
2020-05-19T12:56:20.000Z
2020-05-19T12:56:20.000Z
""" module: basic_train.py - Model fitting methods docs : https://docs.fast.ai/train.html """ import pytest, fastai from fastai.vision import * from utils.fakes import * from utils.text import * from utils.mem import * from fastai.utils.mem import * from math import isclose torch_preload_mem() @pytest.fixture(scope...
38.08547
134
0.710727
704
4,456
4.353693
0.308239
0.021533
0.042414
0.041109
0.416639
0.346493
0.301468
0.274388
0.263948
0.218271
0
0.014038
0.184695
4,456
116
135
38.413793
0.829617
0.269973
0
0.422535
0
0
0.113834
0.040633
0
0
0
0
0.084507
1
0.112676
false
0
0.098592
0.014085
0.239437
0.014085
0
0
0
null
0
0
0
0
0
0
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
1
0
9e246f8197a11b73a278225e329244b30642e5a1
196
py
Python
ch04/return.none.py
kxen42/Learn-Python-Programming-Third-Edition
851ddc5e6094fadd44f31a9ad1d3876456b04372
[ "MIT" ]
19
2021-11-05T22:54:09.000Z
2022-03-29T15:03:47.000Z
ch04/return.none.py
kxen42/Learn-Python-Programming-Third-Edition
851ddc5e6094fadd44f31a9ad1d3876456b04372
[ "MIT" ]
null
null
null
ch04/return.none.py
kxen42/Learn-Python-Programming-Third-Edition
851ddc5e6094fadd44f31a9ad1d3876456b04372
[ "MIT" ]
26
2021-11-12T17:04:50.000Z
2022-03-29T01:10:35.000Z
# return.none.py def func(): pass func() # the return of this call won't be collected. It's lost. a = func() # the return of this one instead is collected into `a` print(a) # prints: None
24.5
66
0.663265
35
196
3.714286
0.685714
0.107692
0.2
0.230769
0.292308
0
0
0
0
0
0
0
0.219388
196
7
67
28
0.849673
0.688776
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0
0
0.2
0.2
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
9e24c2357a655395c364e4237fd2c11303d74334
204
py
Python
pyperi/__init__.py
takeontom/PyPeri
181b6c60bf5ec5c57cd24418ee4524ed81c9a998
[ "MIT" ]
5
2017-03-10T10:43:07.000Z
2021-04-01T06:28:29.000Z
pyperi/__init__.py
takeontom/PyPeri
181b6c60bf5ec5c57cd24418ee4524ed81c9a998
[ "MIT" ]
359
2016-12-12T20:19:16.000Z
2022-03-28T09:04:19.000Z
pyperi/__init__.py
takeontom/PyPeri
181b6c60bf5ec5c57cd24418ee4524ed81c9a998
[ "MIT" ]
3
2018-08-12T13:38:30.000Z
2020-07-10T14:36:31.000Z
# -*- coding: utf-8 -*- __author__ = """Tom Smith""" __email__ = 'tom@takeontom.com' __version__ = '0.2.0' from pyperi.pyperi import Peri # noqa from pyperi.pyperi import PyPeriConnectionError # noqa
22.666667
55
0.70098
26
204
5.038462
0.692308
0.152672
0.244275
0.335878
0
0
0
0
0
0
0
0.023121
0.151961
204
8
56
25.5
0.734104
0.151961
0
0
0
0
0.183432
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
5
f508079561b7a2a57df3ea9bb24da6c3cf24ed29
13,454
py
Python
examples/cartpole_example/test/cartpole_PID_MPC_sim.py
marcosfelt/sysid-neural-structures-fitting
80eda427251e8cce1d2a565b5cbca533252315e4
[ "MIT" ]
17
2019-11-15T06:27:05.000Z
2021-10-02T14:24:25.000Z
examples/cartpole_example/test/cartpole_PID_MPC_sim.py
marcosfelt/sysid-neural-structures-fitting
80eda427251e8cce1d2a565b5cbca533252315e4
[ "MIT" ]
null
null
null
examples/cartpole_example/test/cartpole_PID_MPC_sim.py
marcosfelt/sysid-neural-structures-fitting
80eda427251e8cce1d2a565b5cbca533252315e4
[ "MIT" ]
4
2020-09-03T17:01:34.000Z
2021-11-05T04:09:24.000Z
import numpy as np import scipy.sparse as sparse from scipy.integrate import ode from scipy.interpolate import interp1d import time import control import control.matlab import numpy.random import pandas as pd from ltisim import LinearStateSpaceSystem from pendulum_model import * from pyMPC.mpc import MPCController # R...
33.219753
179
0.612829
2,278
13,454
3.330553
0.147498
0.008699
0.041518
0.060894
0.185317
0.114802
0.07816
0.050481
0.043627
0.027943
0
0.03406
0.242753
13,454
404
180
33.30198
0.71064
0.156162
0
0.031579
0
0
0.058469
0.001863
0
0
0
0
0
1
0.014035
false
0
0.049123
0.007018
0.077193
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
0
0
1
0
f508880d35de4e5c61d56d0000d4001cccea0293
163
py
Python
server/controllers/main.py
eruixma/trading-app
3db3bbd27fdc405b9ecb41d9e68330899a3dcc6a
[ "BSD-2-Clause" ]
2
2019-03-27T04:46:29.000Z
2019-10-10T13:03:24.000Z
server/controllers/main.py
eruixma/trading-app
3db3bbd27fdc405b9ecb41d9e68330899a3dcc6a
[ "BSD-2-Clause" ]
1
2021-06-01T23:31:21.000Z
2021-06-01T23:31:21.000Z
server/controllers/main.py
eruixma/trading-app
3db3bbd27fdc405b9ecb41d9e68330899a3dcc6a
[ "BSD-2-Clause" ]
1
2021-08-19T03:09:05.000Z
2021-08-19T03:09:05.000Z
from flask import Blueprint, current_app main = Blueprint('main', __name__) @main.route('/') def home(): return current_app.send_static_file('index.html')
16.3
53
0.723926
22
163
5
0.772727
0.181818
0
0
0
0
0
0
0
0
0
0
0.134969
163
9
54
18.111111
0.780142
0
0
0
0
0
0.092593
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.6
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
4
f508dd3ad06395335728ce6e7db17f8e899fd2f6
2,221
py
Python
pypad/collab.py
candyninja001/pypad
82bfc104c2524ca54cc415d37d2c21fec471838f
[ "MIT" ]
null
null
null
pypad/collab.py
candyninja001/pypad
82bfc104c2524ca54cc415d37d2c21fec471838f
[ "MIT" ]
null
null
null
pypad/collab.py
candyninja001/pypad
82bfc104c2524ca54cc415d37d2c21fec471838f
[ "MIT" ]
null
null
null
from enum import Enum from .dev import Dev class Collab(Enum): UNKNOWN = -1 NONE = 0 RAGNAROK_ONLINE = 1 TAIKO_NO_TATSUJIN = 2 EMIL_CHRONICLE_ONLINE = 3 GUNMA_NO_YABOU = 5 CRYSTAL_DEFENDER = 6 FAMITSU = 7 PRINCESS_PUNT_SWEET = 8 ANDROID = 9 SHINRABANSHO_CHOCO = 10 CAPYBA...
24.677778
61
0.662765
311
2,221
4.411576
0.826367
0.024052
0.017493
0.027697
0.033528
0
0
0
0
0
0
0.103295
0.289509
2,221
90
62
24.677778
0.76616
0.071139
0
0
0
0
0.011176
0
0
0
0
0.011111
0
1
0.011364
false
0
0.022727
0
0.977273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
f50910b14f5b09655a9e1eaecc696a5cfe950b0f
4,923
py
Python
settings.py
msetzu/data-mining
9e01d00964004dea4a2aea88dfe855f785302ef1
[ "MIT" ]
1
2018-10-09T14:41:59.000Z
2018-10-09T14:41:59.000Z
settings.py
msetzu/data-mining
9e01d00964004dea4a2aea88dfe855f785302ef1
[ "MIT" ]
null
null
null
settings.py
msetzu/data-mining
9e01d00964004dea4a2aea88dfe855f785302ef1
[ "MIT" ]
null
null
null
import pandas as pd from matplotlib.colors import LinearSegmentedColormap # Dataset data = pd.read_csv("./hr.csv") entries = len(data) bins = 10 # Data analysis analysis = { "bins": 10, "balance_threshold": 0.1 } # Plot labels labels = ["satisfaction_level", "average_montly_hours", "last_...
30.018293
98
0.487508
407
4,923
5.712531
0.425061
0.04129
0.021935
0.025806
0.141935
0.076559
0.076559
0.076559
0.076559
0.076559
0
0.055716
0.365631
4,923
163
99
30.202454
0.688761
0.028641
0
0.256944
0
0
0.307144
0.0088
0
0
0
0
0
1
0
false
0
0.013889
0
0.013889
0.0625
0
0
0
null
0
0
0
0
0
0
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
1
0
f509ca15e0e12b426c5e187595364f7eea92a920
397
py
Python
GCD - Euclidean (Basic)/Python3/gcdEuclid.py
i-vishi/ds-and-algo
90a8635db9570eb17539201be29ec1cfd4b5ae18
[ "MIT" ]
1
2021-03-01T04:15:08.000Z
2021-03-01T04:15:08.000Z
GCD - Euclidean (Basic)/Python3/gcdEuclid.py
i-vishi/ds-and-algo
90a8635db9570eb17539201be29ec1cfd4b5ae18
[ "MIT" ]
null
null
null
GCD - Euclidean (Basic)/Python3/gcdEuclid.py
i-vishi/ds-and-algo
90a8635db9570eb17539201be29ec1cfd4b5ae18
[ "MIT" ]
null
null
null
# Author: Vishal Gaur # Created: 17-01-2021 20:31:34 # function to find GCD using Basic Euclidean Algorithm def gcdEuclid(a, b): if a == 0: return b else: return gcdEuclid(b % a, a) # Driver Code to test above function a = 14 b = 35 g = gcdEuclid(a, b) print("GCD of", a, "&", b, "is: ", ...
17.26087
54
0.566751
69
397
3.26087
0.550725
0.044444
0.146667
0.106667
0.24
0.24
0.24
0.24
0.24
0.24
0
0.083045
0.27204
397
22
55
18.045455
0.695502
0.352645
0
0.307692
0
0
0.087302
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.230769
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f50a95d4fbb66571658a68aa0a66854f9c5c4220
437
py
Python
src/my_package/todelete/modules/MotionSymmetryModule.py
laomao0/AIM_DAIN
8322569498d675d3b2c1f35475c1299cad580bde
[ "MIT" ]
3
2020-05-08T20:45:57.000Z
2021-01-18T11:32:38.000Z
src/my_package/todelete/modules/MotionSymmetryModule.py
laomao0/AIM_DAIN
8322569498d675d3b2c1f35475c1299cad580bde
[ "MIT" ]
null
null
null
src/my_package/todelete/modules/MotionSymmetryModule.py
laomao0/AIM_DAIN
8322569498d675d3b2c1f35475c1299cad580bde
[ "MIT" ]
null
null
null
# modules/InterpolationLayer.py from torch.nn import Module from functions.MotionSymmetryLayer import MotionSymmetryLayer class MotionSymmetryModule(Module): def __init__(self): super(MotionSymmetryModule, self).__init__() self.f = MotionSymmetryLayer() def forward(self, input1, input2): ...
29.133333
81
0.741419
51
437
6.196078
0.666667
0.050633
0
0
0
0
0
0
0
0
0
0.011236
0.185355
437
14
82
31.214286
0.876404
0.240275
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f50adc78c47a350acb70a96ee1ecc3c1259e77a6
2,997
py
Python
steer.py
nlw0/pyPyrTools
91fc0932906054f6d43a32a205069aa25d884545
[ "MIT" ]
1
2020-10-13T14:40:39.000Z
2020-10-13T14:40:39.000Z
steer.py
umeshraj/pyPyrTools
91fc0932906054f6d43a32a205069aa25d884545
[ "MIT" ]
null
null
null
steer.py
umeshraj/pyPyrTools
91fc0932906054f6d43a32a205069aa25d884545
[ "MIT" ]
1
2018-04-26T10:06:47.000Z
2018-04-26T10:06:47.000Z
import numpy from steer2HarmMtx import steer2HarmMtx def steer(*args): ''' Steer BASIS to the specfied ANGLE. function res = steer(basis,angle,harmonics,steermtx) BASIS should be a matrix whose columns are vectorized rotated copies of a steerable function, or the responses of a set of s...
34.448276
93
0.621288
412
2,997
4.519417
0.334951
0.029001
0.018797
0.025779
0.108486
0.108486
0.108486
0.108486
0.108486
0.108486
0
0.030178
0.27027
2,997
86
94
34.848837
0.821216
0.048382
0
0.269231
0
0
0.113275
0
0
0
0
0
0
0
null
null
0
0.038462
null
null
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
1
0
0
0
0
0
0
0
0
1
f50baf297616723fd430fcda467e665dcd88c479
2,057
py
Python
pydest/pydest.py
henworth/pydest
9537696c39f36f8250082891ddcc0198142d22eb
[ "MIT" ]
null
null
null
pydest/pydest.py
henworth/pydest
9537696c39f36f8250082891ddcc0198142d22eb
[ "MIT" ]
null
null
null
pydest/pydest.py
henworth/pydest
9537696c39f36f8250082891ddcc0198142d22eb
[ "MIT" ]
null
null
null
import aiohttp import asyncio import os import zipfile from pydest.api import API from pydest.manifest import Manifest class Pydest: def __init__(self, api_key, loop=None, client_id=None, client_secret=None): """Base class for Pydest Args: api_key (str): Bungie.net A...
29.811594
96
0.619349
243
2,057
5.119342
0.36214
0.024116
0.016077
0.032154
0.062701
0.062701
0.062701
0
0
0
0
0
0.307244
2,057
68
97
30.25
0.872982
0.149246
0
0.086957
0
0
0.013528
0
0
0
0
0
0
1
0.043478
false
0.086957
0.26087
0
0.478261
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
f50ea0f4e8fc7432c99f5e054323909249a31983
784
py
Python
vaccinate/core/migrations/0120_geography_fields.py
MoralCode/vial
cdaaab053a9cf1cef40104a2cdf480b7932d58f7
[ "MIT" ]
7
2021-06-28T17:33:47.000Z
2022-02-12T21:54:59.000Z
vaccinate/core/migrations/0120_geography_fields.py
MoralCode/vial
cdaaab053a9cf1cef40104a2cdf480b7932d58f7
[ "MIT" ]
104
2021-06-17T21:25:30.000Z
2022-03-28T14:21:57.000Z
vaccinate/core/migrations/0120_geography_fields.py
MoralCode/vial
cdaaab053a9cf1cef40104a2cdf480b7932d58f7
[ "MIT" ]
1
2021-06-25T17:52:23.000Z
2021-06-25T17:52:23.000Z
# Generated by Django 3.2.1 on 2021-05-06 22:30 import django.contrib.gis.db.models.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("core", "0119_populate_source_location_point"), ] operations = [ migrations.AlterField( model_...
27.034483
68
0.58801
82
784
5.54878
0.52439
0.085714
0.105495
0.118681
0.426374
0.426374
0.36044
0.36044
0.193407
0
0
0.04918
0.299745
784
28
69
28
0.779599
0.057398
0
0.454545
1
0
0.096337
0.04749
0
0
0
0
0
1
0
false
0
0.090909
0
0.227273
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
f50f1a90c240661a8974cc7923b38f46dce70bae
29,856
py
Python
views.py
milos-korenciak/2018.ossconf.sk
f121dde4f313a207e39c2f2e187bdad046b86592
[ "MIT" ]
7
2017-07-16T05:59:07.000Z
2018-01-22T09:35:21.000Z
views.py
milos-korenciak/2018.ossconf.sk
f121dde4f313a207e39c2f2e187bdad046b86592
[ "MIT" ]
17
2017-07-31T20:35:24.000Z
2018-02-26T22:00:12.000Z
views.py
milos-korenciak/2018.ossconf.sk
f121dde4f313a207e39c2f2e187bdad046b86592
[ "MIT" ]
13
2017-08-01T17:03:40.000Z
2021-11-02T13:24:30.000Z
#!/usr/bin/python # -*- coding: utf8 -*- import os import re import textwrap import requests import unicodedata from datetime import datetime, timedelta from flask import Flask, g, request, render_template, abort, make_response from flask_babel import Babel, gettext from jinja2 import evalcontextfilter, Markup app = ...
36.81381
190
0.612775
3,584
29,856
4.967913
0.202288
0.049874
0.027183
0.044482
0.322101
0.259197
0.224824
0.194945
0.190171
0.141589
0
0.017354
0.224109
29,856
810
191
36.859259
0.751133
0.064811
0
0.203498
0
0.00318
0.293575
0.021262
0
0
0
0.001235
0
1
0.050874
false
0
0.014308
0.014308
0.120827
0.00159
0
0
0
null
0
0
0
0
0
0
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
1
0
f50f7d07d1b11d4dc8dcf82534a3b3e6a3a87158
2,891
py
Python
ietf/community/migrations/0002_auto_20141222_1749.py
ekr/ietfdb
8d936836b0b9ff31cda415b0a423e3f5b33ab695
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-11-20T03:40:40.000Z
2021-11-20T03:40:42.000Z
ietf/community/migrations/0002_auto_20141222_1749.py
ekr/ietfdb
8d936836b0b9ff31cda415b0a423e3f5b33ab695
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ietf/community/migrations/0002_auto_20141222_1749.py
ekr/ietfdb
8d936836b0b9ff31cda415b0a423e3f5b33ab695
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.conf import settings class Migration(migrations.Migration): dependencies = [ ('group', '0001_initial'), migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('commun...
32.483146
88
0.570391
245
2,891
6.55102
0.240816
0.123364
0.157632
0.185047
0.691589
0.653583
0.589408
0.589408
0.589408
0.482866
0
0.006556
0.314078
2,891
88
89
32.852273
0.802824
0.007264
0
0.670732
0
0
0.174338
0.032078
0
0
0
0
0
1
0
false
0
0.036585
0
0.073171
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
f510f358811538f9c09860ccdb42030579e71a1a
928
py
Python
scripts/fishvalidate.py
justinbois/fishactivity
6c6ac06c391b75b2725e2e2a61dd80afc34daf31
[ "MIT" ]
null
null
null
scripts/fishvalidate.py
justinbois/fishactivity
6c6ac06c391b75b2725e2e2a61dd80afc34daf31
[ "MIT" ]
null
null
null
scripts/fishvalidate.py
justinbois/fishactivity
6c6ac06c391b75b2725e2e2a61dd80afc34daf31
[ "MIT" ]
null
null
null
#!/usr/bin/env python import argparse import fishact if __name__ == '__main__': parser = argparse.ArgumentParser( description='Validate data files.') parser.add_argument('activity_fname', metavar='activity_file', type=str, help='Name of activity file.') parser.add_argument...
37.12
78
0.519397
86
928
5.348837
0.395349
0.104348
0.073913
0.065217
0.091304
0.091304
0
0
0
0
0
0
0.167026
928
24
79
38.666667
0.595084
0.021552
0
0.166667
0
0
0.409041
0.218302
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f513b5c28a4eaca8eb08a50fccfcd5204171dfdc
1,682
py
Python
scripts/rescale.py
danydoerr/spp_dcj
1ab9dacb1f0dc34a3ebbeed9e74226a9a53c297a
[ "MIT" ]
2
2021-08-24T16:03:30.000Z
2022-03-18T14:52:43.000Z
scripts/rescale.py
danydoerr/spp_dcj
1ab9dacb1f0dc34a3ebbeed9e74226a9a53c297a
[ "MIT" ]
null
null
null
scripts/rescale.py
danydoerr/spp_dcj
1ab9dacb1f0dc34a3ebbeed9e74226a9a53c297a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from sys import stdout,stderr,exit from optparse import OptionParser from newick_parser import parse_tree_iterator, Branch from tree_span import calculateSpan from copy import deepcopy def rescale_absolute(tree, max_length): span = calculateSpan(tree) s = max_length/float(span) retu...
29
75
0.633175
211
1,682
4.909953
0.369668
0.084942
0.032819
0.028958
0.067568
0.067568
0.067568
0.067568
0
0
0
0.007924
0.249703
1,682
57
76
29.508772
0.812995
0.012485
0
0.095238
0
0
0.159228
0
0
0
0
0
0
1
0.047619
false
0
0.119048
0
0.214286
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f51915e704bb43425413f02d24086079a01a04be
743
py
Python
mytest/playsnake.py
mrzhuzhe/stable-baselines3
6c3bc5fa4c3faba951099e3ccb5c74b763134b38
[ "MIT" ]
null
null
null
mytest/playsnake.py
mrzhuzhe/stable-baselines3
6c3bc5fa4c3faba951099e3ccb5c74b763134b38
[ "MIT" ]
null
null
null
mytest/playsnake.py
mrzhuzhe/stable-baselines3
6c3bc5fa4c3faba951099e3ccb5c74b763134b38
[ "MIT" ]
null
null
null
from stable_baselines3 import PPO import os from setup_gym_env import SnakeEnv import time #models_dir = "./models/1644408901/" + "40000" #models_dir = "./models/1644462865/" + "120000" #models_dir = "./models/1644466638/" + "100000" models_dir = "./models/1644485414/" + "100000" env = SnakeEnv() env.reset() model ...
22.515152
50
0.641992
94
743
4.978723
0.531915
0.096154
0.128205
0
0
0
0
0
0
0
0
0.114187
0.222073
743
32
51
23.21875
0.695502
0.314939
0
0
0
0
0.051896
0
0.055556
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f519a4dd8609848cb4fec6b2221b463e32b9ae3b
13,105
py
Python
yoda2h5.py
iamholger/yodf5
79ad8d77fd2b48e1b71403339e2502b42a5435c8
[ "MIT" ]
4
2020-04-22T11:00:13.000Z
2020-12-16T17:49:47.000Z
yoda2h5.py
iamholger/yodf5
79ad8d77fd2b48e1b71403339e2502b42a5435c8
[ "MIT" ]
4
2020-12-17T16:26:16.000Z
2020-12-17T16:30:34.000Z
yoda2h5.py
iamholger/yodf5
79ad8d77fd2b48e1b71403339e2502b42a5435c8
[ "MIT" ]
2
2020-05-06T17:30:05.000Z
2020-12-16T17:58:23.000Z
#!/usr/bin/env python3 import yoda, sys import h5py import numpy as np def chunkIt(seq, num): avg = len(seq) / float(num) out = [] last = 0.0 while last < len(seq): out.append(seq[int(last):int(last + avg)]) last += avg # Fix size, sometimes there is spillover # TODO: replac...
37.766571
184
0.546814
1,743
13,105
4.084911
0.193919
0.040309
0.073034
0.078652
0.369101
0.317837
0.301404
0.289888
0.284831
0.225
0
0.032338
0.256696
13,105
346
185
37.875723
0.698594
0.27707
0
0.148837
0
0
0.0815
0
0
0
0
0.00578
0
1
0.060465
false
0
0.037209
0.018605
0.162791
0.018605
0
0
0
null
0
0
0
0
0
0
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
1
0
f51c993aef58b3c9c160f8b68cd78fc8daf5ff42
1,703
py
Python
main.py
RichezA/UnRecurZipper
dffe16811e3d79fdc20e0aada0f2ffe9c77da9a1
[ "MIT" ]
null
null
null
main.py
RichezA/UnRecurZipper
dffe16811e3d79fdc20e0aada0f2ffe9c77da9a1
[ "MIT" ]
null
null
null
main.py
RichezA/UnRecurZipper
dffe16811e3d79fdc20e0aada0f2ffe9c77da9a1
[ "MIT" ]
null
null
null
import zipfile import os import glob import sys # Actual directory that we could find somewhere class Folder: def __init__(self, path): self.path = path print("Current working folder is: " + self.path) self.checkForZippedFile() self.checkForDirectories() def checkForZip...
47.305556
116
0.593658
197
1,703
5.091371
0.436548
0.047856
0.023928
0.027916
0.035892
0
0
0
0
0
0
0.001736
0.323547
1,703
36
117
47.305556
0.868924
0.235467
0
0
0
0
0.066563
0
0
0
0
0
0
1
0.107143
false
0
0.142857
0
0.285714
0.107143
0
0
0
null
0
0
0
0
0
0
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
1
0
f51f1a4cfc64468547a1bf70b97687f67b00823c
634
py
Python
dagger/dag_creator/airflow/utils/operator_factories.py
jorgetagle/dagger
dafcfb9df904e512f050aefdacf6581c571bac23
[ "MIT" ]
null
null
null
dagger/dag_creator/airflow/utils/operator_factories.py
jorgetagle/dagger
dafcfb9df904e512f050aefdacf6581c571bac23
[ "MIT" ]
null
null
null
dagger/dag_creator/airflow/utils/operator_factories.py
jorgetagle/dagger
dafcfb9df904e512f050aefdacf6581c571bac23
[ "MIT" ]
null
null
null
from functools import partial from airflow.operators.python_operator import ShortCircuitOperator def make_control_flow(is_dummy_operator_short_circuit, dag): control_flow = ShortCircuitOperator( task_id="dummy-control-flow", dag=dag, provide_context=True, python_callable=partial(e...
25.36
84
0.747634
80
634
5.5375
0.4375
0.148984
0.13544
0.180587
0.363431
0.363431
0.275395
0.189616
0
0
0
0.001953
0.192429
634
24
85
26.416667
0.863281
0
0
0.117647
0
0
0.048896
0
0
0
0
0
0
1
0.117647
false
0
0.117647
0
0.470588
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
f51fe70db140c3154b176531ad8f28b9ef267b5a
1,974
py
Python
predict_CNN.py
slimtomatillo/toxic_waste_dump
4bc820f0b31f4420e789af11a9338c475c068889
[ "MIT" ]
2
2018-07-13T16:44:24.000Z
2019-10-14T21:31:02.000Z
predict_CNN.py
slimtomatillo/toxic_waste_dump
4bc820f0b31f4420e789af11a9338c475c068889
[ "MIT" ]
null
null
null
predict_CNN.py
slimtomatillo/toxic_waste_dump
4bc820f0b31f4420e789af11a9338c475c068889
[ "MIT" ]
null
null
null
# Imports import pandas as pd import pickle from keras.models import load_model from preprocess import preprocess from preprocess import prep_text #Logging import logging logging.getLogger().setLevel(logging.INFO) logging.info('Loading comments to classify...') # Enter comment to be classified below comment_to_class...
24.675
78
0.670719
250
1,974
5.16
0.412
0.05969
0.046512
0.029457
0.075969
0
0
0
0
0
0
0.008486
0.223911
1,974
79
79
24.987342
0.833551
0.241135
0
0.05
0
0
0.187326
0.037604
0
0
0
0
0
1
0.05
false
0
0.15
0
0.225
0.15
0
0
0
null
0
0
0
0
0
0
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
1
0
f5209853412f11170538a00e749d5b0ede34e2eb
797
py
Python
299. Bulls and Cows.py
fossabot/leetcode-2
335f1aa3ee785320515c3d3f03c2cb2df3bc13ba
[ "MIT" ]
2
2018-02-26T09:12:19.000Z
2019-06-07T13:38:10.000Z
299. Bulls and Cows.py
fossabot/leetcode-2
335f1aa3ee785320515c3d3f03c2cb2df3bc13ba
[ "MIT" ]
1
2018-12-24T07:03:34.000Z
2018-12-24T07:03:34.000Z
299. Bulls and Cows.py
fossabot/leetcode-2
335f1aa3ee785320515c3d3f03c2cb2df3bc13ba
[ "MIT" ]
2
2018-12-24T07:01:03.000Z
2019-06-07T13:38:07.000Z
class Solution(object): def getHint(self, secret, guess): """ :type secret: str :type guess: str :rtype: str """ dic = {} countA = 0 setA = set() for i in range(len(secret)): if secret[i] == guess[i]: countA += 1 ...
28.464286
46
0.385194
92
797
3.336957
0.347826
0.09772
0.087948
0.071661
0.091205
0
0
0
0
0
0
0.019704
0.49059
797
27
47
29.518519
0.736453
0.057716
0
0
0
0
0.002813
0
0
0
0
0
0
1
0.045455
false
0
0
0
0.136364
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
0
0
1
0
f523394a40a39dc77c57c643a75603c33eb11af0
176
py
Python
lib/models/backbones/efficientdet/__init__.py
shachargluska/centerpose
01c2c8bfa9d3ee91807f2ffdcc48728d104265bd
[ "MIT" ]
245
2019-11-29T02:55:25.000Z
2022-03-30T07:30:18.000Z
lib/models/backbones/efficientdet/__init__.py
shachargluska/centerpose
01c2c8bfa9d3ee91807f2ffdcc48728d104265bd
[ "MIT" ]
24
2019-11-29T10:05:00.000Z
2022-03-30T07:16:06.000Z
lib/models/backbones/efficientdet/__init__.py
FishLiuabc/centerpose
555d753cd82693476f91f78c53aa4147f5a83015
[ "MIT" ]
45
2019-11-29T05:12:02.000Z
2022-03-21T02:20:36.000Z
from .efficientdet import EfficientDet def get_efficientdet(num_layers, cfg): model = EfficientDet(intermediate_channels=cfg.MODEL.INTERMEDIATE_CHANNEL) return model
25.142857
78
0.8125
20
176
6.95
0.65
0.115108
0
0
0
0
0
0
0
0
0
0
0.125
176
6
79
29.333333
0.902597
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
f528bf891d405b1631574286911aea9a15dea4b2
1,566
py
Python
codesmith/CloudFormation/CogCondPreAuthSettings/cog_cond_pre_auth_settings.py
codesmith-gmbh/forge
43c334d829a727b48f8e21e273017c51394010f9
[ "Apache-2.0" ]
null
null
null
codesmith/CloudFormation/CogCondPreAuthSettings/cog_cond_pre_auth_settings.py
codesmith-gmbh/forge
43c334d829a727b48f8e21e273017c51394010f9
[ "Apache-2.0" ]
null
null
null
codesmith/CloudFormation/CogCondPreAuthSettings/cog_cond_pre_auth_settings.py
codesmith-gmbh/forge
43c334d829a727b48f8e21e273017c51394010f9
[ "Apache-2.0" ]
null
null
null
import json import logging import boto3 from box import Box from crhelper import CfnResource from schema import Optional import codesmith.common.naming as naming from codesmith.common.cfn import resource_properties from codesmith.common.schema import encoded_bool, non_empty_string, tolerant_schema from codesmith.comm...
29.54717
99
0.751596
198
1,566
5.686869
0.353535
0.053286
0.050622
0.044405
0.053286
0
0
0
0
0
0
0.001502
0.149425
1,566
52
100
30.115385
0.843844
0
0
0
0
0
0.070881
0
0
0
0
0
0
1
0.102564
false
0
0.25641
0.051282
0.435897
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
0
0
1
0
f528d3c7d1c051d306cd7f8c1738faafc34bc81c
125
py
Python
Mundo 1/Exercicios/Desafio005.py
yWolfBR/Python-CursoEmVideo
17bab8ad3c4293daf8377c5d49242942845b3577
[ "MIT" ]
null
null
null
Mundo 1/Exercicios/Desafio005.py
yWolfBR/Python-CursoEmVideo
17bab8ad3c4293daf8377c5d49242942845b3577
[ "MIT" ]
null
null
null
Mundo 1/Exercicios/Desafio005.py
yWolfBR/Python-CursoEmVideo
17bab8ad3c4293daf8377c5d49242942845b3577
[ "MIT" ]
null
null
null
n = int(input('Digite um número: ')) print('Seu número é {}. O antecessor é {} e seu sucessor é {}'.format(n, n - 1, n + 1))
41.666667
87
0.592
23
125
3.217391
0.652174
0.054054
0
0
0
0
0
0
0
0
0
0.02
0.2
125
2
88
62.5
0.72
0
0
0
0
0
0.576
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
f52b501702b28918819f4339d418e24bd36e3fba
1,506
py
Python
geeksforgeeks/Data Structures/check_if_subtree.py
codervikash/online-courses
a60efad23af65080a98e7dd038fb2c750237b781
[ "MIT" ]
null
null
null
geeksforgeeks/Data Structures/check_if_subtree.py
codervikash/online-courses
a60efad23af65080a98e7dd038fb2c750237b781
[ "MIT" ]
null
null
null
geeksforgeeks/Data Structures/check_if_subtree.py
codervikash/online-courses
a60efad23af65080a98e7dd038fb2c750237b781
[ "MIT" ]
null
null
null
# Given two binary trees, check if the first tree is subtree of the second one. # A subtree of a tree T is a tree S consisting of a node in T and all of its descendants in T. # The subtree corresponding to the root node is the entire tree; the subtree corresponding to any other node is called a proper subtree. class...
20.351351
136
0.632802
259
1,506
3.633205
0.266409
0.057386
0.042508
0.053135
0
0
0
0
0
0
0
0.045496
0.270252
1,506
74
137
20.351351
0.810737
0.250332
0
0.088235
0
0
0.068027
0
0
0
0
0
0
0
null
null
0
0
null
null
0.058824
0
0
0
null
0
0
0
0
0
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
f52c3d4d080221bb0849b2d7854dea28cf442e0d
619
py
Python
papi_sdk/models/search/hotelpage/affiliate.py
stanislav-losev/papi-sdk-python
4a296745d626ef13c6d1170e9d3569cb1c37eb3c
[ "MIT" ]
1
2022-02-01T08:53:24.000Z
2022-02-01T08:53:24.000Z
papi_sdk/models/search/hotelpage/affiliate.py
stanislav-losev/papi-sdk-python
4a296745d626ef13c6d1170e9d3569cb1c37eb3c
[ "MIT" ]
2
2021-01-18T07:57:29.000Z
2021-06-23T11:04:14.000Z
papi_sdk/models/search/hotelpage/affiliate.py
stanislav-losev/papi-sdk-python
4a296745d626ef13c6d1170e9d3569cb1c37eb3c
[ "MIT" ]
3
2020-12-30T13:09:45.000Z
2020-12-30T13:42:33.000Z
from typing import List, Optional from papi_sdk.models.search.base_affiliate_response import ( BaseAffiliateSearchData, BaseAffiliateSearchResponse, BaseHotel, BaseRate, ) from papi_sdk.models.search.base_request import BaseAffiliateRequest class AffiliateHotelPageRequest(BaseAffiliateRequest): i...
20.633333
68
0.799677
56
619
8.732143
0.553571
0.03272
0.04499
0.06953
0.110429
0.110429
0
0
0
0
0
0
0.137318
619
29
69
21.344828
0.91573
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.722222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
f52d16005d54fc06009e6a33b0d9fa26ef35fd47
2,093
py
Python
dl_tutorials/torch_neural_networks.py
learnerzhang/AnalyticsVidhya
697689a24a9d73785164512cab8ac4ee5494afe8
[ "Apache-2.0" ]
1
2018-07-04T09:14:26.000Z
2018-07-04T09:14:26.000Z
dl_tutorials/torch_neural_networks.py
learnerzhang/AnalyticsVidhya
697689a24a9d73785164512cab8ac4ee5494afe8
[ "Apache-2.0" ]
null
null
null
dl_tutorials/torch_neural_networks.py
learnerzhang/AnalyticsVidhya
697689a24a9d73785164512cab8ac4ee5494afe8
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019-01-02 16:44 # @Author : zhangzhen # @Site : # @File : torch_neural_networks.py # @Software: PyCharm import torch import torch.nn as nn import torch.nn.functional as F class Net(nn.Module): def __init__(self): super(Net, self).__init_...
26.493671
77
0.592929
313
2,093
3.837061
0.373802
0.006661
0.029975
0.037469
0.149875
0.131557
0.083264
0.049958
0
0
0
0.055087
0.262781
2,093
78
78
26.833333
0.723266
0.180602
0
0.040816
0
0
0.047114
0
0
0
0
0
0
1
0.061224
false
0
0.061224
0
0.183673
0.265306
0
0
0
null
0
0
0
0
0
0
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
1
0
f52eac71ac3094d6c2f5d753f7dc5413e91d3ecd
422
py
Python
webhook.py
cadamswaite/RPI-Jekyll-Compiler
acf905b11f41c3bda286d4907a038b7888b1c8fa
[ "Unlicense" ]
null
null
null
webhook.py
cadamswaite/RPI-Jekyll-Compiler
acf905b11f41c3bda286d4907a038b7888b1c8fa
[ "Unlicense" ]
null
null
null
webhook.py
cadamswaite/RPI-Jekyll-Compiler
acf905b11f41c3bda286d4907a038b7888b1c8fa
[ "Unlicense" ]
null
null
null
from bottle import route, run, template gitdict = {'po2go':{'https://github.com/cadamswaite/po2go.git:master':'https://github.com/cadamswaite/po2go.git:gh-pages'}} # Handle http requests to the root address @route('/') def index(): return 'Go away.' @route('/build/<name>') def greet(name): if name in gitdict: r...
23.444444
123
0.684834
64
422
4.515625
0.640625
0.020761
0.096886
0.17301
0.228374
0.228374
0
0
0
0
0
0.024725
0.137441
422
17
124
24.823529
0.769231
0.094787
0
0
0
0
0.418421
0
0
0
0
0
0
1
0.166667
false
0
0.083333
0.083333
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f52ec88be52c378180af93ce81749dca618e2061
2,577
py
Python
shldn/leonard.py
arrieta/shldn
8335aaeb1bfe91698bd9dfb83487393ede9225e6
[ "MIT" ]
null
null
null
shldn/leonard.py
arrieta/shldn
8335aaeb1bfe91698bd9dfb83487393ede9225e6
[ "MIT" ]
null
null
null
shldn/leonard.py
arrieta/shldn
8335aaeb1bfe91698bd9dfb83487393ede9225e6
[ "MIT" ]
null
null
null
""" Leonard always DRIVES Sheldon (this module is the __main__ driver for Sheldon) """ import argparse import sys import os try: from cooper import Sheldon except: from .cooper import Sheldon # Extensions for python source files EXTENSIONS = [".py", ".mpy"] def parse_commandline(): parser = argparse.Argu...
28.633333
89
0.592549
303
2,577
4.887789
0.376238
0.06077
0.037812
0.042539
0.207968
0.190412
0.097232
0.070223
0.070223
0.070223
0
0.001664
0.300349
2,577
89
90
28.955056
0.819745
0.064804
0
0.129032
0
0
0.141785
0
0
0
0
0
0
1
0.064516
false
0
0.080645
0
0.177419
0.129032
0
0
0
null
0
0
0
0
0
0
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
1
0
f52eee40e1e0d598ea7f901674518fc574586952
705
py
Python
tests/002_finder/003_changeextension.py
Sam-prog-sudo/boussole
5d6ec94356f9a91ff4d6d23c1700d3512b67006a
[ "MIT" ]
13
2016-05-19T15:18:41.000Z
2022-03-22T15:37:32.000Z
tests/002_finder/003_changeextension.py
Sam-prog-sudo/boussole
5d6ec94356f9a91ff4d6d23c1700d3512b67006a
[ "MIT" ]
38
2016-04-07T00:30:58.000Z
2022-02-28T13:29:33.000Z
tests/002_finder/003_changeextension.py
Sam-prog-sudo/boussole
5d6ec94356f9a91ff4d6d23c1700d3512b67006a
[ "MIT" ]
3
2016-05-20T09:21:57.000Z
2020-10-12T10:56:49.000Z
# -*- coding: utf-8 -*- def test_001(settings, finder): result = finder.change_extension("foo.scss", 'css') assert result == "foo.css" def test_002(settings, finder): result = finder.change_extension("foo.backup.scss", 'css') assert result == "foo.backup.css" def test_003(settings, finder): re...
26.111111
72
0.670922
97
705
4.773196
0.226804
0.077754
0.215983
0.280778
0.855292
0.74514
0.535637
0.220302
0.220302
0
0
0.026891
0.156028
705
26
73
27.115385
0.751261
0.029787
0
0
0
0
0.243402
0.071848
0
0
0
0
0.333333
1
0.333333
false
0
0
0
0.333333
0
0
0
0
null
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
5
f52efbe88e2653ae5d1fd37a74f972d83828b114
40,749
py
Python
Lib/site-packages/cherrypy/test/test_core.py
raychorn/svn_Python-2.5.1
425005b1b489ba44ec0bb989e077297e8953d9be
[ "PSF-2.0" ]
null
null
null
Lib/site-packages/cherrypy/test/test_core.py
raychorn/svn_Python-2.5.1
425005b1b489ba44ec0bb989e077297e8953d9be
[ "PSF-2.0" ]
null
null
null
Lib/site-packages/cherrypy/test/test_core.py
raychorn/svn_Python-2.5.1
425005b1b489ba44ec0bb989e077297e8953d9be
[ "PSF-2.0" ]
null
null
null
"""Basic tests for the CherryPy core: request handling.""" from cherrypy.test import test test.prefer_parent_path() import cherrypy from cherrypy import _cptools, tools from cherrypy.lib import http, static import types import os localDir = os.path.dirname(__file__) log_file = os.path.join(localDir, "test.log") log_...
38.370056
104
0.545289
4,490
40,749
4.888419
0.167261
0.052622
0.023372
0.016766
0.374869
0.331678
0.270582
0.214042
0.208711
0.182195
0
0.024893
0.323713
40,749
1,061
105
38.406221
0.771573
0.132028
0
0.254821
0
0.006887
0.248116
0.083966
0
0
0
0
0.232782
1
0.114325
false
0.002755
0.011019
0.03168
0.210744
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
0
0
1
0
f52efca4ad0dbdcec53aee2fa61bc784274e7d40
1,036
py
Python
day4/solution1.py
zirne/aoc19
98feea895f0113ef60738723ca976dcbef0629b9
[ "MIT" ]
null
null
null
day4/solution1.py
zirne/aoc19
98feea895f0113ef60738723ca976dcbef0629b9
[ "MIT" ]
null
null
null
day4/solution1.py
zirne/aoc19
98feea895f0113ef60738723ca976dcbef0629b9
[ "MIT" ]
null
null
null
# Solution 1 def readInputFile(filename): f = open(filename, "r") inputString = f.read() f.close() return inputString input = readInputFile("input.txt").strip() print(input) lowest = input.split("-")[0] highest = input.split("-")[1] current = int(input.split("-")[0]) print(lowest) print(highest) def checkNever...
18.836364
70
0.621622
145
1,036
4.441379
0.275862
0.031056
0.018634
0.018634
0.14441
0.14441
0.14441
0.14441
0.14441
0.10559
0
0.021557
0.194015
1,036
55
71
18.836364
0.749701
0.189189
0
0.35
0
0
0.015569
0
0
0
0
0
0
1
0.075
false
0
0
0
0.2
0.1
0
0
0
null
0
0
0
0
0
0
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
1
0
f52fa19632597f93eba421103fbc7100653b7f9d
763
py
Python
e2e/Tests/Transactions/Verify.py
rikublock/Meros
7a3ae9c78af388eb523bc8a2c840018fc058ef44
[ "CC0-1.0" ]
null
null
null
e2e/Tests/Transactions/Verify.py
rikublock/Meros
7a3ae9c78af388eb523bc8a2c840018fc058ef44
[ "CC0-1.0" ]
null
null
null
e2e/Tests/Transactions/Verify.py
rikublock/Meros
7a3ae9c78af388eb523bc8a2c840018fc058ef44
[ "CC0-1.0" ]
1
2021-02-08T23:46:35.000Z
2021-02-08T23:46:35.000Z
#Transactions classes. from e2e.Classes.Transactions.Transaction import Transaction from e2e.Classes.Transactions.Transactions import Transactions #TestError Exception. from e2e.Tests.Errors import TestError #RPC class. from e2e.Meros.RPC import RPC #Sleep standard function. from time import sleep #Verify a Transac...
23.84375
80
0.756225
96
763
6.010417
0.46875
0.048527
0.048527
0.090121
0
0
0
0
0
0
0
0.007634
0.141547
763
31
81
24.612903
0.873282
0.214941
0
0.222222
0
0
0.087838
0
0
0
0
0
0
1
0.111111
false
0
0.277778
0
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f52fef7331b7922effcc0ce7dc2004ff0e5e1b57
149
py
Python
src/pygame_utils/sprite/gamecomponent.py
MarronEyes/pygame_utils
27a1f1328533d04c20ccb95208d44fda3be81a09
[ "MIT" ]
null
null
null
src/pygame_utils/sprite/gamecomponent.py
MarronEyes/pygame_utils
27a1f1328533d04c20ccb95208d44fda3be81a09
[ "MIT" ]
null
null
null
src/pygame_utils/sprite/gamecomponent.py
MarronEyes/pygame_utils
27a1f1328533d04c20ccb95208d44fda3be81a09
[ "MIT" ]
null
null
null
import pygame from graphics.component import Component class GameComponent(Component): def __init__(self) -> None: super().__init__()
16.555556
40
0.718121
16
149
6.1875
0.75
0
0
0
0
0
0
0
0
0
0
0
0.187919
149
8
41
18.625
0.818182
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
f5301087690900f18790595cf080153f91b40dd0
954
py
Python
motivation_quote/app.py
lukas-weiss/motivation-quote
90c73342a71f6a8f8b5339b5d080d19ac67083b7
[ "MIT" ]
null
null
null
motivation_quote/app.py
lukas-weiss/motivation-quote
90c73342a71f6a8f8b5339b5d080d19ac67083b7
[ "MIT" ]
null
null
null
motivation_quote/app.py
lukas-weiss/motivation-quote
90c73342a71f6a8f8b5339b5d080d19ac67083b7
[ "MIT" ]
null
null
null
import json import os.path import logging import csv from random import randint logger = logging.getLogger() logger.setLevel(logging.INFO) def get_quote(file): if os.path.exists(file): with open(file) as csvfile: quotes = list(csv.reader(csvfile, delimiter=';')) max_quotes = len(quo...
25.105263
61
0.603774
116
954
4.810345
0.456897
0.089606
0.069892
0.0681
0
0
0
0
0
0
0
0.010264
0.285115
954
37
62
25.783784
0.807918
0.037736
0
0
0
0
0.050218
0
0
0
0
0
0
1
0.0625
false
0
0.15625
0
0.28125
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
0
0
1
0
f531e1bea64fba94ad609a7c42aeb9cf4d1498ca
3,142
py
Python
tools/extract_textline.py
bitcoder-17/scale-digits-recognition
b75c658ffdc830784ae4be9c007909e4c8f1d695
[ "MIT" ]
null
null
null
tools/extract_textline.py
bitcoder-17/scale-digits-recognition
b75c658ffdc830784ae4be9c007909e4c8f1d695
[ "MIT" ]
null
null
null
tools/extract_textline.py
bitcoder-17/scale-digits-recognition
b75c658ffdc830784ae4be9c007909e4c8f1d695
[ "MIT" ]
null
null
null
from pathlib import Path import cv2 import json import math import numpy as np from argparse import ArgumentParser def distance(p1, p2): return math.sqrt((p2[0] - p1[0])**2 + (p2[1] - p1[1])**2) def order_points(points): pts = {} for x1, y1 in points: count_x_larger = 0 count_x_smaller =...
33.073684
85
0.54965
433
3,142
3.806005
0.263279
0.025485
0.031553
0.031553
0.182039
0.182039
0.182039
0.120146
0.120146
0.120146
0
0.031496
0.312858
3,142
94
86
33.425532
0.73182
0
0
0.076923
0
0
0.06429
0
0
0
0
0
0
1
0.038462
false
0
0.076923
0.012821
0.153846
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
0
0
1
0
f532177c4078c1e01572de399b2bc77a18421da8
14,159
py
Python
blender/2.79/scripts/addons/io_coat3D/tex.py
uzairakbar/bpy2.79
3a3e0004ac6783c4e4b89d939e4432de99026a85
[ "MIT" ]
2
2019-11-27T09:05:42.000Z
2020-02-20T01:25:23.000Z
io_coat3D/tex.py
1-MillionParanoidTterabytes/blender-addons-master
acc8fc23a38e6e89099c3e5079bea31ce85da06a
[ "Unlicense" ]
null
null
null
io_coat3D/tex.py
1-MillionParanoidTterabytes/blender-addons-master
acc8fc23a38e6e89099c3e5079bea31ce85da06a
[ "Unlicense" ]
4
2020-02-19T20:02:26.000Z
2022-02-11T18:47:56.000Z
# ***** BEGIN GPL LICENSE BLOCK ***** # # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distribute...
42.139881
127
0.634296
1,723
14,159
5.009286
0.120139
0.118179
0.157572
0.217356
0.725177
0.705712
0.688333
0.668752
0.637238
0.629823
0
0.006505
0.250865
14,159
335
128
42.265672
0.807203
0.054241
0
0.514403
0
0
0.031187
0
0
0
0
0
0
1
0.00823
false
0
0.00823
0
0.020576
0.004115
0
0
0
null
0
0
1
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f5327046ce5fcde6d3a6fd1f71b52eace22cd4ab
3,613
py
Python
proxy_prometheus_alerts.py
mhagander/promnagios
12329b7abbbb76746784c4b706f4784c63bae194
[ "PostgreSQL" ]
1
2019-06-07T14:10:14.000Z
2019-06-07T14:10:14.000Z
proxy_prometheus_alerts.py
mhagander/promnagios
12329b7abbbb76746784c4b706f4784c63bae194
[ "PostgreSQL" ]
null
null
null
proxy_prometheus_alerts.py
mhagander/promnagios
12329b7abbbb76746784c4b706f4784c63bae194
[ "PostgreSQL" ]
null
null
null
#!/usr/bin/env python3 # # Proxy alerts generated by Prometheus Alertmanager turning them into # nagios passive alert information. # # Copyright 2019-2020, PostgreSQL Infrastructure Team # Author: Magnus Hagander # import argparse import http.server import json import time import sys missed_alerts = 0 def send_nag...
30.361345
82
0.568779
406
3,613
4.950739
0.41133
0.027861
0.024876
0.027861
0.100498
0.100498
0.049751
0.049751
0
0
0
0.01743
0.317188
3,613
118
83
30.618644
0.797325
0.084694
0
0.168539
1
0
0.168335
0.013952
0
0
0
0
0
1
0.044944
false
0
0.05618
0
0.146067
0.033708
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
f53445eedfca0ebec216d205d17da7023b06710f
172
py
Python
QuantLib/tsa/smooth/__init__.py
wanhanwan/Packages
14dfbd70603d45bb6c8c161c56b9ed9cf7c301d3
[ "MIT" ]
5
2018-06-29T16:56:10.000Z
2019-06-20T03:31:44.000Z
QuantLib/tsa/smooth/__init__.py
wanhanwan/Packages
14dfbd70603d45bb6c8c161c56b9ed9cf7c301d3
[ "MIT" ]
null
null
null
QuantLib/tsa/smooth/__init__.py
wanhanwan/Packages
14dfbd70603d45bb6c8c161c56b9ed9cf7c301d3
[ "MIT" ]
3
2018-06-25T06:37:17.000Z
2018-11-22T08:12:20.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # __init__.py # @Author : wanhanwan (wanshuai_shufe@163.com) # @Date : 2019/11/25 下午1:20:12 from .filter import llt_filter
24.571429
46
0.668605
27
172
4.037037
0.962963
0
0
0
0
0
0
0
0
0
0
0.115646
0.145349
172
7
47
24.571429
0.62585
0.755814
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
f53682f7365da61bd7d0f3f72b18779b18999529
173
py
Python
pred_learn/utils/various.py
EqThinker/deep-track
c72dc7b182c66c13fb6f5df38b6ed6e78f625a41
[ "Apache-2.0" ]
null
null
null
pred_learn/utils/various.py
EqThinker/deep-track
c72dc7b182c66c13fb6f5df38b6ed6e78f625a41
[ "Apache-2.0" ]
8
2020-09-25T23:51:58.000Z
2022-02-10T00:32:55.000Z
pred_learn/utils/various.py
EqThinker/deep-track
c72dc7b182c66c13fb6f5df38b6ed6e78f625a41
[ "Apache-2.0" ]
null
null
null
def get_n_params(model): pp=0 for p in list(model.parameters()): nn=1 for s in list(p.size()): nn = nn*s pp += nn return pp
17.3
38
0.479769
28
173
2.892857
0.607143
0.148148
0
0
0
0
0
0
0
0
0
0.019231
0.398844
173
9
39
19.222222
0.759615
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f536be230ab9f47d327f6fa5a8e54f230ab096d9
1,745
py
Python
chatServer/server.py
RobbeBryssinck/chatApplication
628ab6acb2b19d26d3e5c064cbea14747041f43e
[ "MIT" ]
null
null
null
chatServer/server.py
RobbeBryssinck/chatApplication
628ab6acb2b19d26d3e5c064cbea14747041f43e
[ "MIT" ]
null
null
null
chatServer/server.py
RobbeBryssinck/chatApplication
628ab6acb2b19d26d3e5c064cbea14747041f43e
[ "MIT" ]
null
null
null
import socket import sys import os import optparse from threading import * def createServer(ip, port): # create a TCP socket sck = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # bind the socket to the port server_address = (ip, port) print("starting up on {} port {}".format(*server_address)) sck.bind(ser...
19.606742
91
0.676218
240
1,745
4.85
0.429167
0.015464
0.041237
0.02921
0.042955
0
0
0
0
0
0
0.008415
0.182808
1,745
88
92
19.829545
0.807854
0.115186
0
0.150943
0
0
0.132334
0
0
0
0
0
0
1
0.075472
false
0
0.09434
0
0.188679
0.09434
0
0
0
null
0
0
0
0
0
0
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
1
0
f537b763bb0939c0d65ba5d32dd7d3fcdadbcca3
1,502
py
Python
tests/test_utils_bytes.py
cwichel/embutils
188d86d84637088bafef188b3312078048934113
[ "MIT" ]
null
null
null
tests/test_utils_bytes.py
cwichel/embutils
188d86d84637088bafef188b3312078048934113
[ "MIT" ]
null
null
null
tests/test_utils_bytes.py
cwichel/embutils
188d86d84637088bafef188b3312078048934113
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: ascii -*- """ Byte utilities testing. :date: 2021 :author: Christian Wiche :contact: cwichel@gmail.com :license: The MIT License (MIT) """ import unittest from embutils.utils import bitmask, reverse_bits, reverse_bytes # -->> Definitions <<------------------ # -->> Tes...
23.107692
63
0.581891
159
1,502
5.308176
0.427673
0.052133
0.033175
0.035545
0.298578
0.260664
0.260664
0
0
0
0
0.092593
0.280959
1,502
64
64
23.46875
0.688889
0.345539
0
0
0
0
0.009081
0
0
0
0.043133
0
0.3
1
0.15
false
0
0.1
0
0.3
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
0
0
1
0
f538ca85acdf301ac647a1ecf10d45b209f9fdd3
2,419
py
Python
events/migrations/0020_add_event_comments.py
alysivji/GetTogether
403d9945fff019701de41d081ad4452e771e1ce1
[ "BSD-2-Clause" ]
446
2018-01-21T09:22:41.000Z
2022-03-25T17:46:12.000Z
events/migrations/0020_add_event_comments.py
alysivji/GetTogether
403d9945fff019701de41d081ad4452e771e1ce1
[ "BSD-2-Clause" ]
272
2018-01-03T16:55:39.000Z
2022-03-11T23:12:30.000Z
events/migrations/0020_add_event_comments.py
alysivji/GetTogether
403d9945fff019701de41d081ad4452e771e1ce1
[ "BSD-2-Clause" ]
100
2018-01-27T02:04:15.000Z
2021-09-09T09:02:21.000Z
# Generated by Django 2.0 on 2018-03-24 02:55 import datetime import django.db.models.deletion from django.db import migrations, models import mptt.fields class Migration(migrations.Migration): dependencies = [("events", "0019_add_org_slug")] operations = [ migrations.CreateModel( nam...
32.689189
88
0.47871
191
2,419
5.947644
0.424084
0.036972
0.058099
0.077465
0.432218
0.432218
0.292254
0.116197
0.116197
0.116197
0
0.015449
0.411327
2,419
73
89
33.136986
0.782303
0.017776
0
0.307692
1
0
0.092671
0
0
0
0
0
0
1
0
false
0
0.061538
0
0.107692
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
f53bf8a6756951f510b486992b5a699a1e895570
13,529
py
Python
ant_algorithm.py
devancakra/Ant-Algorithm-Pencarian-Rute-Tercepat
d766c94ab862e2856412ee19cb883033b914bd3f
[ "MIT" ]
1
2021-11-08T12:53:16.000Z
2021-11-08T12:53:16.000Z
ant_algorithm.py
devancakra/Ant-Algorithm-Pencarian-Rute-Tercepat
d766c94ab862e2856412ee19cb883033b914bd3f
[ "MIT" ]
null
null
null
ant_algorithm.py
devancakra/Ant-Algorithm-Pencarian-Rute-Tercepat
d766c94ab862e2856412ee19cb883033b914bd3f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Ant_Algorithm.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1Zjt1SInhoaFEqSmsPjEfWQE7jhugAvZA # **ANT ALGORITHM BY KELOMPOK 9** 1. Heri Khariono - 18081010002 2. Devan Cakra Mudra Wijaya - 18081010013 3. Ika Nur Habib...
46.332192
168
0.663612
1,866
13,529
4.685959
0.207396
0.020014
0.025274
0.035682
0.448193
0.418001
0.360018
0.31919
0.265554
0.259378
0
0.037922
0.204745
13,529
292
169
46.332192
0.774793
0.197945
0
0.253731
1
0.00995
0.090188
0
0
0
0
0
0
1
0.059701
false
0
0.044776
0
0.144279
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
f53d0274845ff18a273019ee23bb400432511d7c
588
py
Python
utils/tool.py
yongleex/SBCC
40f8e67e446fc14fc82ea87f82ee841d62520c71
[ "MIT" ]
4
2021-09-04T04:02:57.000Z
2021-12-27T13:27:26.000Z
utils/tool.py
yongleex/SBCC
40f8e67e446fc14fc82ea87f82ee841d62520c71
[ "MIT" ]
1
2021-09-10T07:40:36.000Z
2022-01-02T06:23:12.000Z
utils/tool.py
yongleex/SBCC
40f8e67e446fc14fc82ea87f82ee841d62520c71
[ "MIT" ]
1
2021-09-10T07:36:29.000Z
2021-09-10T07:36:29.000Z
import numpy as np from scipy.ndimage import maximum_filter class AttrDict(dict): __setattr__ = dict.__setitem__ __getattr__ = dict.__getitem__ def signal2noise(r_map): """ Compute the signal-to-noise ratio of correlation plane. w*h*c""" r = r_map.copy() max_r = maximum_filter(r_map, (5,5,1)...
18.375
63
0.612245
95
588
3.452632
0.547368
0.04878
0.030488
0
0
0
0
0
0
0
0
0.039648
0.227891
588
31
64
18.967742
0.682819
0.103742
0
0
0
0
0.015564
0
0
0
0
0
0
1
0.105263
false
0
0.105263
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f53f1078d0ccf6010a2d5acd1664c6d7881e41c8
8,584
py
Python
bjtunlp/train.py
bigbosskai/bjtunlp
58d8ca53fa1d99df2f47f10a0780619c4cdba22f
[ "MIT" ]
1
2020-12-16T07:18:00.000Z
2020-12-16T07:18:00.000Z
bjtunlp/train.py
bigbosskai/bjtunlp
58d8ca53fa1d99df2f47f10a0780619c4cdba22f
[ "MIT" ]
null
null
null
bjtunlp/train.py
bigbosskai/bjtunlp
58d8ca53fa1d99df2f47f10a0780619c4cdba22f
[ "MIT" ]
1
2022-03-12T16:41:32.000Z
2022-03-12T16:41:32.000Z
import os import time import argparse from tqdm import tqdm import torch from torch import optim from torch import nn from fastNLP import BucketSampler from fastNLP import logger from fastNLP import DataSetIter from fastNLP import Tester from fastNLP import cache_results from bjtunlp.models import BertParser from b...
48.224719
203
0.65028
1,128
8,584
4.750887
0.215426
0.031722
0.041239
0.017914
0.234372
0.168688
0.125023
0.115693
0.115693
0.115693
0
0.015115
0.229264
8,584
177
204
48.497175
0.794891
0.005009
0
0
0
0.019231
0.242882
0.040187
0
0
0
0
0
1
0.012821
false
0
0.121795
0
0.141026
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f53f3f14419ce7e5f5fb052bfc8906e374ee8971
7,978
py
Python
archived/functions/sync_elasticache/redis/LR_sync_redis_model_reuse.py
DS3Lab/LambdaML
0afca7819e08632ba116fec8e102084e4040a47a
[ "Apache-2.0" ]
23
2021-05-17T09:24:24.000Z
2022-01-29T18:40:44.000Z
archived/functions/sync_elasticache/redis/LR_sync_redis_model_reuse.py
DS3Lab/LambdaML
0afca7819e08632ba116fec8e102084e4040a47a
[ "Apache-2.0" ]
2
2021-05-17T16:15:12.000Z
2021-07-20T09:11:22.000Z
archived/functions/sync_elasticache/redis/LR_sync_redis_model_reuse.py
DS3Lab/LambdaML
0afca7819e08632ba116fec8e102084e4040a47a
[ "Apache-2.0" ]
3
2021-05-17T09:31:53.000Z
2021-12-02T16:29:59.000Z
import time import torch from torch.autograd import Variable from torch.utils.data.sampler import SubsetRandomSampler from archived.elasticache import redis_init from archived.s3.get_object import get_object from archived.old_model import LogisticRegression from data_loader.libsvm_dataset import DenseDatas...
44.322222
120
0.587741
918
7,978
4.876906
0.227669
0.023453
0.046683
0.033505
0.29551
0.261782
0.173554
0.112799
0.112799
0.097387
0
0.008867
0.307345
7,978
179
121
44.569832
0.801303
0.083354
0
0.11811
0
0
0.093768
0.006377
0
0
0
0
0
1
0.007874
false
0
0.062992
0
0.070866
0.149606
0
0
0
null
0
0
0
0
0
0
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
1
0
f53f7ca7e55025431c0eddd3b58db5224cb4211d
177
py
Python
src/params/NeuronTypes.py
thatmariia/grid-ping
3c32e48226adddcffba605573daa80cca02b5a57
[ "BSD-4-Clause" ]
null
null
null
src/params/NeuronTypes.py
thatmariia/grid-ping
3c32e48226adddcffba605573daa80cca02b5a57
[ "BSD-4-Clause" ]
null
null
null
src/params/NeuronTypes.py
thatmariia/grid-ping
3c32e48226adddcffba605573daa80cca02b5a57
[ "BSD-4-Clause" ]
null
null
null
from enum import Enum class NeuronTypes(Enum): """ Enum class containing neuron types: excitatory and inhibitory. """ EX = "excitatory" IN = "inhibitory"
16.090909
66
0.649718
19
177
6.052632
0.684211
0.156522
0
0
0
0
0
0
0
0
0
0
0.254237
177
10
67
17.7
0.871212
0.350282
0
0
0
0
0.20202
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
f5401cd673d6e1e3eddd77c34fed0869702ad889
2,346
py
Python
src/backend/common/manipulators/team_manipulator.py
ofekashery/the-blue-alliance
df0e47d054161fe742ac6198a6684247d0713279
[ "MIT" ]
266
2015-01-04T00:10:48.000Z
2022-03-28T18:42:05.000Z
src/backend/common/manipulators/team_manipulator.py
ofekashery/the-blue-alliance
df0e47d054161fe742ac6198a6684247d0713279
[ "MIT" ]
2,673
2015-01-01T20:14:33.000Z
2022-03-31T18:17:16.000Z
src/backend/common/manipulators/team_manipulator.py
ofekashery/the-blue-alliance
df0e47d054161fe742ac6198a6684247d0713279
[ "MIT" ]
230
2015-01-04T00:10:48.000Z
2022-03-26T18:12:04.000Z
from typing import List from backend.common.cache_clearing import get_affected_queries from backend.common.manipulators.manipulator_base import ManipulatorBase from backend.common.models.cached_model import TAffectedReferences from backend.common.models.team import Team class TeamManipulator(ManipulatorBase[Team]): ...
37.238095
101
0.656436
280
2,346
5.246429
0.346429
0.038121
0.066712
0.061266
0.208305
0.19401
0.19401
0.19401
0.19401
0
0
0
0.272379
2,346
62
102
37.83871
0.860574
0.047741
0
0.083333
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.208333
0.041667
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
0
0
0
0
0
1
0
f5405ca41fa935c1df325e78905e0a54820977fe
179
py
Python
dtf/packages/settings.py
WebPowerLabs/django-trainings
97f7a96c0fbeb85a001201c74713f7944cb77236
[ "BSD-3-Clause" ]
null
null
null
dtf/packages/settings.py
WebPowerLabs/django-trainings
97f7a96c0fbeb85a001201c74713f7944cb77236
[ "BSD-3-Clause" ]
null
null
null
dtf/packages/settings.py
WebPowerLabs/django-trainings
97f7a96c0fbeb85a001201c74713f7944cb77236
[ "BSD-3-Clause" ]
null
null
null
from django.conf import settings INFUSIONSOFT_COMPANY = getattr(settings, 'INFUSIONSOFT_COMPANY_ID', None) INFUSIONSOFT_API_KEY = getattr(settings, 'INFUSIONSOFT_API_KEY', None)
35.8
73
0.832402
22
179
6.454545
0.545455
0.422535
0.380282
0
0
0
0
0
0
0
0
0
0.083799
179
4
74
44.75
0.865854
0
0
0
0
0
0.240223
0.128492
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
5
f5450958d50c031030e18504e081e98ce995e8e8
3,680
py
Python
measures/over_under_exposure_measure/over_under_exposure_measure.py
HensoldtOptronicsCV/ImageQualityAssessment
7bb3af2cd20a32415966304c8fa3acb77c54f85d
[ "MIT" ]
8
2020-06-12T12:49:19.000Z
2021-04-27T12:10:49.000Z
measures/over_under_exposure_measure/over_under_exposure_measure.py
HensoldtOptronicsCV/ImageQualityAssessment
7bb3af2cd20a32415966304c8fa3acb77c54f85d
[ "MIT" ]
null
null
null
measures/over_under_exposure_measure/over_under_exposure_measure.py
HensoldtOptronicsCV/ImageQualityAssessment
7bb3af2cd20a32415966304c8fa3acb77c54f85d
[ "MIT" ]
5
2020-04-18T11:30:47.000Z
2022-03-04T07:05:21.000Z
# MIT License # # Copyright (c) 2020 HENSOLDT # # 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, pub...
41.818182
137
0.741848
548
3,680
4.844891
0.406934
0.031638
0.031638
0.021092
0.165348
0.152919
0.112241
0.089642
0.032392
0
0
0.01485
0.194837
3,680
87
138
42.298851
0.881201
0.655978
0
0
0
0
0.035333
0
0
0
0
0
0
1
0.086957
false
0
0.086957
0
0.26087
0.086957
0
0
0
null
0
0
0
0
0
0
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
1
0
f54590a9d9506eac6f07374f1bb10c88ce804b14
2,567
py
Python
tests/test_cascade.py
mathDR/jax-pilco
c6c75cd8d43ba894d8f1da2cf6b7c0eea5e43527
[ "BSD-3-Clause" ]
null
null
null
tests/test_cascade.py
mathDR/jax-pilco
c6c75cd8d43ba894d8f1da2cf6b7c0eea5e43527
[ "BSD-3-Clause" ]
null
null
null
tests/test_cascade.py
mathDR/jax-pilco
c6c75cd8d43ba894d8f1da2cf6b7c0eea5e43527
[ "BSD-3-Clause" ]
null
null
null
from pilco.models.pilco import PILCO import jax.numpy as jnp import numpy as np import objax import os import oct2py import logging oc = oct2py.Oct2Py(logger=oct2py.get_log()) oc.logger = oct2py.get_log("new_log") oc.logger.setLevel(logging.INFO) dir_path = os.path.dirname(os.path.realpath("__file__")) + "/tests/Matla...
27.602151
86
0.638878
389
2,567
4.138817
0.359897
0.040994
0.055901
0.026087
0.261491
0.180124
0.109317
0.068323
0.068323
0.068323
0
0.023606
0.224386
2,567
92
87
27.902174
0.785033
0.1418
0
0.029412
0
0
0.018704
0
0
0
0
0
0.029412
1
0.014706
false
0
0.102941
0
0.117647
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
0
0
1
0
f545d16ab5e716cdb065a0e70787360e7d612aef
275
py
Python
server/services/main.py
Jordonkopp/Flask-Vue
db842f1a31f2ca4cf51ce1b2a927d6d2ad860c00
[ "MIT" ]
2
2019-02-27T16:55:01.000Z
2019-02-27T20:23:29.000Z
server/services/main.py
Jordonkopp/Flask-Vue
db842f1a31f2ca4cf51ce1b2a927d6d2ad860c00
[ "MIT" ]
5
2020-04-30T00:01:01.000Z
2021-10-05T19:42:15.000Z
server/services/main.py
Jordonkopp/Flask-Vue
db842f1a31f2ca4cf51ce1b2a927d6d2ad860c00
[ "MIT" ]
null
null
null
from flask import Blueprint, redirect, url_for from server.utils.core_utils import logger # Create Blueprint main = Blueprint("main", __name__) # redirect when you visit / @main.route("/") def index(): logger.info("Base redirect") return redirect(url_for('keys'))
21.153846
46
0.727273
37
275
5.216216
0.648649
0.11399
0.145078
0
0
0
0
0
0
0
0
0
0.149091
275
12
47
22.916667
0.824786
0.152727
0
0
0
0
0.095652
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0.285714
0
0
0
null
0
0
0
0
0
0
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
f5465045af39eda12ecdfeb4fa359c70d7f7cca7
528
py
Python
api/migrations/0003_group_post.py
KolesnikRV/api_final_yatube
23fdd8b6c2a55ff5c70c62b58ecd69ff1dd23e7d
[ "BSD-3-Clause" ]
null
null
null
api/migrations/0003_group_post.py
KolesnikRV/api_final_yatube
23fdd8b6c2a55ff5c70c62b58ecd69ff1dd23e7d
[ "BSD-3-Clause" ]
null
null
null
api/migrations/0003_group_post.py
KolesnikRV/api_final_yatube
23fdd8b6c2a55ff5c70c62b58ecd69ff1dd23e7d
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 3.1.7 on 2021-03-07 06:43 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('api', '0002_auto_20210306_1136'), ] operations = [ migrations.AddField( model_name='group', ...
25.142857
132
0.63447
62
528
5.290323
0.677419
0.073171
0.085366
0.134146
0
0
0
0
0
0
0
0.077694
0.244318
528
20
133
26.4
0.744361
0.085227
0
0
1
0
0.099792
0.047817
0
0
0
0
0
1
0
false
0
0.142857
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f546b5a71740ed44a893660c0c2c42d95a14bc63
111
py
Python
iflow/model/cflows/__init__.py
WeitaoZC/iflow
404ffdbeb27d9fae7d1350de6af84ed7bfdaad99
[ "MIT" ]
11
2020-11-01T06:03:57.000Z
2022-03-10T01:14:03.000Z
iflow/model/cflows/__init__.py
WeitaoZC/iflow
404ffdbeb27d9fae7d1350de6af84ed7bfdaad99
[ "MIT" ]
1
2022-03-14T21:32:51.000Z
2022-03-14T21:32:51.000Z
iflow/model/cflows/__init__.py
WeitaoZC/iflow
404ffdbeb27d9fae7d1350de6af84ed7bfdaad99
[ "MIT" ]
2
2021-02-03T02:41:14.000Z
2021-06-08T16:31:02.000Z
from .odefunc import (ODEnet, ODEfunc) from .cnf import CNF from .diffeq_layers import *
22.2
30
0.621622
13
111
5.230769
0.538462
0
0
0
0
0
0
0
0
0
0
0
0.315315
111
5
31
22.2
0.894737
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
f547d48b9bf65696e52de1543f4c4b442a9e0501
2,042
py
Python
python/general-python/create-replica-and-download/createReplicaAndDownload.py
claudeshyaka-esri/developer-support
016940d74f92a78f362900ab5329aa88c27d0a43
[ "Apache-2.0" ]
272
2015-02-11T16:26:39.000Z
2022-03-31T08:47:33.000Z
python/general-python/create-replica-and-download/createReplicaAndDownload.py
claudeshyaka-esri/developer-support
016940d74f92a78f362900ab5329aa88c27d0a43
[ "Apache-2.0" ]
254
2015-02-11T01:12:35.000Z
2021-04-22T22:14:20.000Z
python/general-python/create-replica-and-download/createReplicaAndDownload.py
claudeshyaka-esri/developer-support
016940d74f92a78f362900ab5329aa88c27d0a43
[ "Apache-2.0" ]
211
2015-02-10T00:09:07.000Z
2022-02-24T12:27:40.000Z
import urllib, urllib2, json, time, os username = "username" #CHANGE password = "password" #CHANGE replicaURL = "feature service url/FeatureServer/createReplica" #CHANGE replicaLayers = [0] ...
34.610169
85
0.642018
203
2,042
6.448276
0.463054
0.068755
0.064171
0.055004
0.157372
0.157372
0.082506
0
0
0
0
0.006888
0.217924
2,042
58
86
35.206897
0.812774
0.014691
0
0.117647
0
0
0.261086
0.028401
0
0
0
0
0
1
0.019608
false
0.039216
0.019608
0
0.058824
0.137255
0
0
0
null
0
0
0
0
0
0
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
1
0
f54a3cae489a26d054375f7cc639c9b189e844de
10,980
py
Python
tests/test_dsl.py
os-climate/declarative-trino-access-control
8a810fccaca0e089cd17d4a1c888da7bcb36063e
[ "Apache-2.0" ]
null
null
null
tests/test_dsl.py
os-climate/declarative-trino-access-control
8a810fccaca0e089cd17d4a1c888da7bcb36063e
[ "Apache-2.0" ]
4
2022-01-15T14:37:21.000Z
2022-03-26T12:42:24.000Z
tests/test_dsl.py
os-climate/osc-trino-acl-dsl
8a810fccaca0e089cd17d4a1c888da7bcb36063e
[ "Apache-2.0" ]
null
null
null
import re import textwrap import yaml from osc_trino_acl_dsl.dsl2rules import dsl_to_rules class Table(object): def __init__(self, catalog: str, schema: str, table: str): self.catalog: str = str(catalog) self.schema: str = str(schema) self.table: str = str(table) class User(object): ...
32.485207
105
0.543443
1,264
10,980
4.639241
0.106013
0.058151
0.097203
0.11869
0.718281
0.702251
0.670703
0.644441
0.612551
0.609482
0
0.009028
0.303916
10,980
337
106
32.581602
0.75821
0.110656
0
0.509091
0
0
0.121451
0
0
0
0
0
0.284848
1
0.060606
false
0
0.024242
0
0.151515
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f54e716dfa472cc32b79479172fc0cb1532d563d
1,028
py
Python
setup.py
henryk/byro-cnss
77cc4d34a521879f9f225b473964b7384db306b1
[ "Apache-2.0" ]
null
null
null
setup.py
henryk/byro-cnss
77cc4d34a521879f9f225b473964b7384db306b1
[ "Apache-2.0" ]
null
null
null
setup.py
henryk/byro-cnss
77cc4d34a521879f9f225b473964b7384db306b1
[ "Apache-2.0" ]
null
null
null
import os from distutils.command.build import build from django.core import management from setuptools import find_packages, setup try: with open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8') as f: long_description = f.read() except: long_description = '' class CustomBuild...
23.363636
92
0.696498
127
1,028
5.496063
0.622047
0.08596
0
0
0
0
0
0
0
0
0
0.005848
0.168288
1,028
43
93
23.906977
0.810526
0
0
0
0
0
0.263619
0.033074
0
0
0
0
0
1
0.029412
false
0
0.117647
0
0.176471
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f54f18f6eb1da6e577537fa0c7b336cc4d1057b5
2,181
py
Python
utils/tensor_utils_test.py
zhuchen03/federated
6bbcdcb856759aa29daa9a510e7d5f34f6915010
[ "Apache-2.0" ]
2
2021-10-19T13:55:11.000Z
2021-11-11T11:26:05.000Z
utils/tensor_utils_test.py
zhuchen03/federated
6bbcdcb856759aa29daa9a510e7d5f34f6915010
[ "Apache-2.0" ]
2
2021-11-10T20:22:35.000Z
2022-02-10T04:44:40.000Z
utils/tensor_utils_test.py
zhuchen03/federated
6bbcdcb856759aa29daa9a510e7d5f34f6915010
[ "Apache-2.0" ]
1
2021-03-09T09:48:56.000Z
2021-03-09T09:48:56.000Z
# Copyright 2018, The TensorFlow Federated Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
32.552239
79
0.64099
318
2,181
4.261006
0.367925
0.023616
0.019926
0.01476
0.37786
0.368266
0.339483
0.278967
0.253875
0.253875
0
0.030806
0.226043
2,181
66
80
33.045455
0.771919
0.262265
0
0.285714
0
0
0.065204
0
0
0
0
0
0.142857
1
0.071429
false
0
0.071429
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f54f50b36cac1b6f41d6778991e01f0570bbafab
3,426
py
Python
autonmap/__main__.py
zeziba/AUTONMAP
50a2ae5f0731bc919ccb8978c619d1432b447286
[ "Apache-2.0" ]
null
null
null
autonmap/__main__.py
zeziba/AUTONMAP
50a2ae5f0731bc919ccb8978c619d1432b447286
[ "Apache-2.0" ]
null
null
null
autonmap/__main__.py
zeziba/AUTONMAP
50a2ae5f0731bc919ccb8978c619d1432b447286
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import logging.handlers import sys from sys import argv, modules from os.path import join from autonmap import cron_scheduler from autonmap import launch_client from autonmap import launch_server from autonmap.server import server_config as sconfig """ This module allows autonmap to interact w...
35.6875
98
0.537069
376
3,426
4.787234
0.343085
0.033333
0.026667
0.037778
0.205556
0.181111
0.09
0.09
0.09
0.09
0
0.008441
0.342966
3,426
95
99
36.063158
0.791204
0.025102
0
0.166667
0
0
0.151032
0.020013
0
0
0
0
0
1
0.055556
false
0.027778
0.111111
0
0.180556
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f54ff4d5dcb3a333a55f6c56d21b89f6d29ae597
6,166
py
Python
src/logic_gradient.py
Einzberg/BattlesnakeFun
4276144c3ccfab66e7c9df4717681e305861f76a
[ "MIT" ]
null
null
null
src/logic_gradient.py
Einzberg/BattlesnakeFun
4276144c3ccfab66e7c9df4717681e305861f76a
[ "MIT" ]
null
null
null
src/logic_gradient.py
Einzberg/BattlesnakeFun
4276144c3ccfab66e7c9df4717681e305861f76a
[ "MIT" ]
null
null
null
# import random # from typing import List, Dict import numpy as np # import matplotlib.pyplot as plt def get_info() -> dict: """ This controls your Battlesnake appearance and author permissions. For customization options, see https://docs.battlesnake.com/references/personalization TIP: If you open you...
28.155251
105
0.509569
787
6,166
3.875476
0.236341
0.026557
0.020656
0.019672
0.342623
0.308197
0.224918
0.217049
0.198689
0.198689
0
0.043478
0.306195
6,166
218
106
28.284404
0.669472
0.111255
0
0.39779
0
0
0.142463
0.016013
0
0
0
0.004587
0
1
0.044199
false
0
0.005525
0
0.082873
0.01105
0
0
0
null
0
0
0
0
0
0
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
1
0
f55005f6eda0c8aeadd07c4aee7c84c8198766c5
11
py
Python
src/__init__.py
Peefy/StatisticalLearningMethod.Python
7324d51b58932052bc518b9e82f64b76f0c39bf0
[ "Apache-2.0" ]
1
2018-10-05T08:20:50.000Z
2018-10-05T08:20:50.000Z
src/__init__.py
Peefy/StatisticalLearningMethod.Python
7324d51b58932052bc518b9e82f64b76f0c39bf0
[ "Apache-2.0" ]
null
null
null
src/__init__.py
Peefy/StatisticalLearningMethod.Python
7324d51b58932052bc518b9e82f64b76f0c39bf0
[ "Apache-2.0" ]
null
null
null
# pdf.244
3.666667
9
0.545455
2
11
3
1
0
0
0
0
0
0
0
0
0
0
0.375
0.272727
11
2
10
5.5
0.375
0.636364
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
f5538c72ced0bc74b5e82bee2c3ce5f0a35952cd
11,836
py
Python
nuclear/help/help.py
igrek51/glue
6726ba977a21e58b354a5c97f68639f84184be7a
[ "MIT" ]
4
2019-07-04T20:41:06.000Z
2020-04-23T18:17:33.000Z
nuclear/help/help.py
igrek51/cliglue
6726ba977a21e58b354a5c97f68639f84184be7a
[ "MIT" ]
null
null
null
nuclear/help/help.py
igrek51/cliglue
6726ba977a21e58b354a5c97f68639f84184be7a
[ "MIT" ]
null
null
null
import os import sys from dataclasses import dataclass, field from typing import List, Set, Optional from nuclear.builder.rule import PrimaryOptionRule, ParameterRule, FlagRule, CliRule, SubcommandRule, \ PositionalArgumentRule, ManyArgumentsRule, DictionaryRule, ValueRule from nuclear.parser.context import RunCon...
35.22619
119
0.710037
1,447
11,836
5.508639
0.124395
0.020073
0.016058
0.008155
0.304981
0.233973
0.176766
0.144524
0.12558
0.12558
0
0.000518
0.184099
11,836
335
120
35.331343
0.824894
0.008026
0
0.141667
0
0
0.039278
0.001874
0
0
0
0
0
1
0.154167
false
0
0.045833
0.041667
0.416667
0.025
0
0
0
null
0
0
0
0
0
0
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
1
0
f553c00e89c0f5a71a1f1863c8dfb6394c78b550
1,997
py
Python
Apps/Engines/Nuke/NukeTools_1.01/Python/LookAt.py
geoffroygivry/CyclopsVFX-Unity
6ab9ab122b6c3e6200e90d49a0c2bf774e53d985
[ "MIT" ]
17
2017-06-27T04:14:42.000Z
2022-03-07T03:37:44.000Z
Apps/Engines/Nuke/NukeTools_1.01/Python/LookAt.py
geoffroygivry/Cyclops-VFX
6ab9ab122b6c3e6200e90d49a0c2bf774e53d985
[ "MIT" ]
2
2017-06-14T04:17:51.000Z
2018-08-23T20:12:44.000Z
Apps/Engines/Nuke/NukeTools_1.01/Python/LookAt.py
geoffroygivry/CyclopsVFX-Unity
6ab9ab122b6c3e6200e90d49a0c2bf774e53d985
[ "MIT" ]
2
2019-03-18T06:18:33.000Z
2019-08-14T21:07:53.000Z
#The MIT License (MIT) # #Copyright (c) 2015 Geoffroy Givry # #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, m...
46.44186
263
0.725588
288
1,997
5.03125
0.475694
0.060732
0.030366
0.045549
0.10766
0.078675
0.078675
0.078675
0.078675
0.078675
0
0.010837
0.168252
1,997
43
264
46.44186
0.861529
0.530796
0
0
0
0.133333
0.417143
0.336
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.133333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f554392a1fb675c44914e72f8067a655af6c342c
464
py
Python
graphql/main.py
py-in-the-sky/appengine-swapi
824d770cd11e5510b2300d1e248a9474e3fde8c2
[ "MIT" ]
null
null
null
graphql/main.py
py-in-the-sky/appengine-swapi
824d770cd11e5510b2300d1e248a9474e3fde8c2
[ "MIT" ]
null
null
null
graphql/main.py
py-in-the-sky/appengine-swapi
824d770cd11e5510b2300d1e248a9474e3fde8c2
[ "MIT" ]
null
null
null
""" `main` is the top level module where AppEngine gets access to your Flask application. """ from app import create_app from config import config from os import environ if environ['SERVER_SOFTWARE'].startswith('Development'): app_config = config['development'] else: app_config = config['production'] app ...
22.095238
60
0.752155
67
464
5.119403
0.61194
0.078717
0.087464
0
0
0
0
0
0
0
0
0
0.161638
464
20
61
23.2
0.881748
0.43319
0
0
0
0
0.185039
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1