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
625a19aeeb78d1a163e46b551accd53b6ef2d20c
532
py
Python
torch2trt/__init__.py
SnowMasaya/torch2trt
d526b2473805f9b9a704a201bef3ce5be25d284f
[ "MIT" ]
2
2020-07-10T06:26:03.000Z
2020-07-10T07:38:08.000Z
torch2trt/__init__.py
SnowMasaya/torch2trt
d526b2473805f9b9a704a201bef3ce5be25d284f
[ "MIT" ]
1
2020-02-16T09:43:35.000Z
2020-02-16T09:43:35.000Z
torch2trt/__init__.py
SnowMasaya/torch2trt
d526b2473805f9b9a704a201bef3ce5be25d284f
[ "MIT" ]
1
2019-10-14T01:11:23.000Z
2019-10-14T01:11:23.000Z
from .torch2trt import * from .converters import * import tensorrt as trt def load_plugins(): import os import ctypes ctypes.CDLL(os.path.join(os.path.dirname(__file__), 'libtorch2trt.so')) registry = trt.get_plugin_registry() torch2trt_creators = [c for c in registry.plugin_creator_list if c...
24.181818
103
0.716165
69
532
5.289855
0.536232
0.060274
0.032877
0
0
0
0
0
0
0
0
0.013986
0.193609
532
21
104
25.333333
0.83683
0
0
0
0
0
0.06203
0
0
0
0
0
0
1
0.0625
false
0
0.3125
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
6261f7a9c9b18a89ffbec87fba08c79cb2839e13
1,151
py
Python
code/glucocheck/homepage/migrations/0007_auto_20210315_1807.py
kmcgreg5/Glucocheck
4ab4ada7f967ae41c1241c94523d14e693e05dd4
[ "FSFAP" ]
null
null
null
code/glucocheck/homepage/migrations/0007_auto_20210315_1807.py
kmcgreg5/Glucocheck
4ab4ada7f967ae41c1241c94523d14e693e05dd4
[ "FSFAP" ]
null
null
null
code/glucocheck/homepage/migrations/0007_auto_20210315_1807.py
kmcgreg5/Glucocheck
4ab4ada7f967ae41c1241c94523d14e693e05dd4
[ "FSFAP" ]
null
null
null
# Generated by Django 3.1.7 on 2021-03-15 22:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('homepage', '0006_carbohydrate_glucose_insulin_recordingcategory'), ] operations = [ migrations.RenameField( model_name='carbohyd...
34.878788
338
0.600348
106
1,151
6.40566
0.518868
0.053019
0.047128
0.05891
0.088365
0
0
0
0
0
0
0.025791
0.258905
1,151
32
339
35.96875
0.770223
0.039096
0
0.307692
1
0
0.321558
0.069746
0
0
0
0
0
1
0
false
0
0.038462
0
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6262bae7dfc3df2c02ba7e5efae6983d3daa02cb
1,826
py
Python
models/SnapshotTeam.py
Fa1c0n35/RootTheBoxs
4f2a9886c8eedca3039604b93929c8c09866115e
[ "Apache-2.0" ]
1
2019-06-29T08:40:54.000Z
2019-06-29T08:40:54.000Z
models/SnapshotTeam.py
Fa1c0n35/RootTheBoxs
4f2a9886c8eedca3039604b93929c8c09866115e
[ "Apache-2.0" ]
null
null
null
models/SnapshotTeam.py
Fa1c0n35/RootTheBoxs
4f2a9886c8eedca3039604b93929c8c09866115e
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mar 11, 2012 @author: moloch Copyright 2012 Root the Box 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/licen...
29.451613
83
0.7092
242
1,826
5.264463
0.504132
0.047096
0.043956
0.025118
0.092622
0.056515
0
0
0
0
0
0.011065
0.208105
1,826
61
84
29.934426
0.869986
0.417853
0
0.074074
0
0
0.056093
0
0
0
0
0
0
1
0.074074
false
0
0.259259
0.037037
0.62963
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
62643e087525aca4ccc614812b7bfd674336652f
411
py
Python
pythonexercicios/ex101-funcvotacao.py
marroni1103/exercicios-pyton
734162cc4b63ed30d754a6efe4c5622baaa1a50b
[ "MIT" ]
null
null
null
pythonexercicios/ex101-funcvotacao.py
marroni1103/exercicios-pyton
734162cc4b63ed30d754a6efe4c5622baaa1a50b
[ "MIT" ]
null
null
null
pythonexercicios/ex101-funcvotacao.py
marroni1103/exercicios-pyton
734162cc4b63ed30d754a6efe4c5622baaa1a50b
[ "MIT" ]
null
null
null
def voto(num): from datetime import date anoatual = date.today().year idade = anoatual - num if idade < 16: return f"Com {idade} anos: NÃO VOTA" elif 16 <= idade < 18 or idade > 65: return f'Com {idade} anos: VOTO OPCIONAL' else: return f"Com {idade} anos: VOTO OBRIGATORI...
25.6875
52
0.610706
59
411
4.254237
0.610169
0.083665
0.119522
0.179283
0.258964
0.183267
0
0
0
0
0
0.033113
0.265207
411
15
53
27.4
0.798013
0
0
0
0
0
0.282238
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.384615
0.153846
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
626e4c17d238ffdd4b719fcf03cef903734ecb10
201
py
Python
secondstring.py
Kokouvi/reversorder
157e39eaf424d816715080dbce0850670836e8fd
[ "MIT" ]
null
null
null
secondstring.py
Kokouvi/reversorder
157e39eaf424d816715080dbce0850670836e8fd
[ "MIT" ]
null
null
null
secondstring.py
Kokouvi/reversorder
157e39eaf424d816715080dbce0850670836e8fd
[ "MIT" ]
null
null
null
str = "The quick brown fox jumps over the lazy dog." # initial string reversed = "".join(reversed(str)) #.join() method merges all of the charactera print(reversed[0:43:2]) # print the reversed string
50.25
78
0.731343
32
201
4.59375
0.6875
0
0
0
0
0
0
0
0
0
0
0.023392
0.149254
201
3
79
67
0.836257
0.412935
0
0
0
0
0.385965
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6280695be38110adda77e21a75a8350fbff3df45
9,433
py
Python
fabfile/data.py
nprapps/linklater
9ba8fbefcbe9148253e5d5c47572e8b887ce9485
[ "FSFAP" ]
null
null
null
fabfile/data.py
nprapps/linklater
9ba8fbefcbe9148253e5d5c47572e8b887ce9485
[ "FSFAP" ]
47
2015-01-22T16:12:16.000Z
2015-01-28T18:51:58.000Z
fabfile/data.py
nprapps/linklater
9ba8fbefcbe9148253e5d5c47572e8b887ce9485
[ "FSFAP" ]
1
2021-02-18T11:26:35.000Z
2021-02-18T11:26:35.000Z
#!/usr/bin/env python """ Commands that update or process the application data. """ from datetime import datetime import json from bs4 import BeautifulSoup from flask import render_template from fabric.api import task from fabric.state import env from facebook import GraphAPI from twitter import Twitter, OAuth from j...
31.029605
271
0.56578
1,105
9,433
4.647059
0.213575
0.025316
0.029796
0.016358
0.292502
0.231353
0.197079
0.185005
0.185005
0.164362
0
0.006714
0.27372
9,433
303
272
31.132013
0.742811
0.031697
0
0.222222
0
0.005051
0.204075
0.035274
0
0
0
0
0
0
null
null
0
0.065657
null
null
0.025253
0
0
0
null
0
0
0
0
0
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
6289d050b39c8fee926a510fc4214e7ee940d801
4,723
py
Python
dust/admin.py
MerlinEmris/eBazar
f159314183a8a95afd97d36b0d3d8cf22015a512
[ "MIT" ]
null
null
null
dust/admin.py
MerlinEmris/eBazar
f159314183a8a95afd97d36b0d3d8cf22015a512
[ "MIT" ]
null
null
null
dust/admin.py
MerlinEmris/eBazar
f159314183a8a95afd97d36b0d3d8cf22015a512
[ "MIT" ]
null
null
null
from django.utils.html import format_html def full_address(self): return format_html('%s - <b>%s,%s</b>' % (self.address, self.city, self.state)) # null derek yazylmaly hat admin.site.empty_value_display = '???' admin.site.register(Item) # str funksivany ady bilen gorkezyar class ItemAdmin(admin.ModelAdmin): ...
27.782353
94
0.724328
632
4,723
5.254747
0.332278
0.036134
0.03794
0.050587
0.367359
0.308642
0.276724
0.20807
0.185486
0.163204
0
0.003319
0.170654
4,723
169
95
27.946746
0.844524
0.176583
0
0.270588
0
0
0.089165
0.005443
0
0
0
0
0
0
null
null
0
0.094118
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
628f60f6980f2fba69cda100a9a49fdeb649e134
1,226
py
Python
notebook/dict_keys_values_items.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
174
2018-05-30T21:14:50.000Z
2022-03-25T07:59:37.000Z
notebook/dict_keys_values_items.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
5
2019-08-10T03:22:02.000Z
2021-07-12T20:31:17.000Z
notebook/dict_keys_values_items.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
53
2018-04-27T05:26:35.000Z
2022-03-25T07:59:37.000Z
d = {'key1': 1, 'key2': 2, 'key3': 3} for k in d: print(k) # key1 # key2 # key3 for k in d.keys(): print(k) # key1 # key2 # key3 keys = d.keys() print(keys) print(type(keys)) # dict_keys(['key1', 'key2', 'key3']) # <class 'dict_keys'> k_list = list(d.keys()) print(k_list) print(type(k_list)) # ['key1', 'key...
13.775281
53
0.546493
204
1,226
3.20098
0.112745
0.11026
0.068913
0.07657
0.194487
0.116386
0.116386
0
0
0
0
0.063636
0.192496
1,226
88
54
13.931818
0.59596
0.403752
0
0.057143
0
0
0.021771
0
0
0
0
0
0
1
0
false
0
0
0
0
0.657143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
65599b2db0af8388cda22867211e56c2902c85cb
3,815
py
Python
experiments/vitchyr/icml2017/watermaze_memory/generate_bellman_ablation_figure_data.py
Asap7772/rail-rl-franka-eval
4bf99072376828193d05b53cf83c7e8f4efbd3ba
[ "MIT" ]
null
null
null
experiments/vitchyr/icml2017/watermaze_memory/generate_bellman_ablation_figure_data.py
Asap7772/rail-rl-franka-eval
4bf99072376828193d05b53cf83c7e8f4efbd3ba
[ "MIT" ]
null
null
null
experiments/vitchyr/icml2017/watermaze_memory/generate_bellman_ablation_figure_data.py
Asap7772/rail-rl-franka-eval
4bf99072376828193d05b53cf83c7e8f4efbd3ba
[ "MIT" ]
null
null
null
""" Generate data for ablation analysis for ICML 2017 workshop paper. """ import random from torch.nn import functional as F from railrl.envs.pygame.water_maze import ( WaterMazeMemory, ) from railrl.exploration_strategies.ou_strategy import OUStrategy from railrl.launchers.launcher_util import ( run_experime...
30.03937
69
0.5827
417
3,815
4.961631
0.378897
0.038666
0.031899
0.02175
0.083132
0.051232
0.031899
0.031899
0.031899
0
0
0.031051
0.341547
3,815
126
70
30.277778
0.792596
0.024377
0
0.13913
1
0
0.060043
0.026925
0
0
0
0
0
1
0
false
0
0.078261
0
0.078261
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
655e6832b1d17e6f32fa6e6e3a8b08c294e9b6de
4,146
py
Python
jspp_imageutils/image/chunking.py
jspaezp/jspp_imageutils
6376e274a1b0675622a7979c181b9effc125aa09
[ "Apache-2.0" ]
null
null
null
jspp_imageutils/image/chunking.py
jspaezp/jspp_imageutils
6376e274a1b0675622a7979c181b9effc125aa09
[ "Apache-2.0" ]
null
null
null
jspp_imageutils/image/chunking.py
jspaezp/jspp_imageutils
6376e274a1b0675622a7979c181b9effc125aa09
[ "Apache-2.0" ]
null
null
null
import itertools import numpy as np from jspp_imageutils.image.types import GenImgArray, GenImgBatch from typing import Tuple, Iterable, Iterator # TODO: fix everywhere the x and y axis nomenclature """ chunk_image_on_position -> returns images chunk_image_generator -> returns images chunk_data_image_generator -> re...
33.168
74
0.605885
542
4,146
4.424354
0.239852
0.035029
0.041284
0.025021
0.232277
0.185988
0.164304
0.164304
0.125104
0.125104
0
0.023989
0.296189
4,146
124
75
33.435484
0.797807
0.239749
0
0.212121
0
0
0.021649
0
0
0
0
0.024194
0
1
0.045455
false
0
0.060606
0
0.106061
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
655fb86e683d32b0ac543bc333e3c26a2dfbef4d
1,256
py
Python
modules/transfer/scripts/info.py
sishuiliunian/falcon-plus
eb6e2a5c29b26812601535cec602b33ee42b0632
[ "Apache-2.0" ]
7,208
2017-01-15T08:32:54.000Z
2022-03-31T14:09:04.000Z
modules/transfer/scripts/info.py
sishuiliunian/falcon-plus
eb6e2a5c29b26812601535cec602b33ee42b0632
[ "Apache-2.0" ]
745
2017-01-17T06:55:21.000Z
2022-03-28T03:33:45.000Z
modules/transfer/scripts/info.py
sishuiliunian/falcon-plus
eb6e2a5c29b26812601535cec602b33ee42b0632
[ "Apache-2.0" ]
1,699
2017-01-11T09:16:44.000Z
2022-03-29T10:40:31.000Z
import requests # Copyright 2017 Xiaomi, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
32.205128
96
0.630573
168
1,256
4.714286
0.690476
0.075758
0.032828
0.040404
0.075758
0.075758
0.075758
0
0
0
0
0.041314
0.248408
1,256
38
97
33.052632
0.797669
0.512739
0
0.105263
0
0
0.41206
0.150754
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
65710b598ac66d11ae7f738f8a51d26c406a0a31
6,525
py
Python
cron/sync_cs_schedule.py
vovagalchenko/onsite-inflight
7acd4bc6a12b89ab09b465a81ae495bef35bab0a
[ "MIT" ]
null
null
null
cron/sync_cs_schedule.py
vovagalchenko/onsite-inflight
7acd4bc6a12b89ab09b465a81ae495bef35bab0a
[ "MIT" ]
1
2016-05-24T00:00:10.000Z
2016-05-24T00:00:10.000Z
cron/sync_cs_schedule.py
vovagalchenko/onsite-inflight
7acd4bc6a12b89ab09b465a81ae495bef35bab0a
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys import pprint from model.cs_rep import CS_Rep from pytz import timezone, utc from datetime import datetime, timedelta from lib.calendar import Google_Calendar, google_ts_to_datetime, DEFAULT_DATE, LOS_ANGELES_TZ from lib.conf import CFG from model.db_session import DB_Session_Factory f...
50.976563
255
0.630192
760
6,525
5.098684
0.215789
0.037161
0.016258
0.02529
0.365419
0.330323
0.273548
0.184258
0.184258
0.184258
0
0.007813
0.274176
6,525
127
256
51.377953
0.810389
0.004444
0
0.101852
0
0
0.068371
0.009239
0
0
0
0
0
0
null
null
0
0.138889
null
null
0.083333
0
0
0
null
0
0
0
0
0
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
657d1df2ec7237f7821e8629ba8c0b4d674b5456
2,406
py
Python
app/core/tests/test_admin.py
ido777/newish
298a3d5babf411ba1eb777101eb6e8f70b9e495f
[ "MIT" ]
null
null
null
app/core/tests/test_admin.py
ido777/newish
298a3d5babf411ba1eb777101eb6e8f70b9e495f
[ "MIT" ]
null
null
null
app/core/tests/test_admin.py
ido777/newish
298a3d5babf411ba1eb777101eb6e8f70b9e495f
[ "MIT" ]
null
null
null
import pytest from django.urls import reverse @pytest.mark.skip(reason="WIP moving to pytest tests") def test_with_authenticated_client(client, django_user_model): email = 'admin@somewhere.com' password = 'password123' admin_user = django_user_model.objects.create_superuser( email, password) c...
31.246753
102
0.676226
310
2,406
5.051613
0.193548
0.057471
0.076628
0.158365
0.747765
0.686462
0.686462
0.645594
0.645594
0.59834
0
0.016342
0.211554
2,406
76
103
31.657895
0.809172
0.02951
0
0.685714
0
0
0.178961
0.030789
0
0
0
0
0.114286
1
0.085714
false
0.228571
0.057143
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
6582ec795f9be718fba1c563c5c66e44261c6ce1
3,053
py
Python
tests/bugs/core_4160_test.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
tests/bugs/core_4160_test.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
tests/bugs/core_4160_test.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
#coding:utf-8 # # id: bugs.core_4160 # title: Parameterized exception does not accept not ASCII characters as parameter # decription: # tracker_id: CORE-4160 # min_versions: ['3.0'] # versions: 3.0 # qmid: None import pytest from firebird.qa import db_factory, isql_act, Action # vers...
31.802083
113
0.681625
432
3,053
4.601852
0.314815
0.065392
0.124245
0.098592
0.595573
0.578974
0.45171
0.342052
0.270624
0.117706
0
0.033684
0.222077
3,053
95
114
32.136842
0.803368
0.083852
0
0.347826
0
0
0.814722
0.10018
0
0
0
0
0.014493
1
0.014493
false
0
0.028986
0
0.043478
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6584791fe17e82f5787899fa97ce0db3fa35bfb0
1,535
py
Python
uhelpers/tests/test_archive_helpers.py
Johannes-Sahlmann/uhelpers
58f8e25ef8644ab5b24a5be76fd58a338a400912
[ "BSD-3-Clause" ]
null
null
null
uhelpers/tests/test_archive_helpers.py
Johannes-Sahlmann/uhelpers
58f8e25ef8644ab5b24a5be76fd58a338a400912
[ "BSD-3-Clause" ]
2
2020-12-21T18:08:48.000Z
2021-01-26T01:24:39.000Z
uhelpers/tests/test_archive_helpers.py
Johannes-Sahlmann/uhelpers
58f8e25ef8644ab5b24a5be76fd58a338a400912
[ "BSD-3-Clause" ]
5
2019-10-02T14:16:15.000Z
2021-12-27T18:46:18.000Z
#!/usr/bin/env python """Tests for the jwcf hawki module. Authors ------- Johannes Sahlmann """ import netrc import os from astropy.table import Table import pytest from ..archive_helpers import get_exoplanet_orbit_database, gacs_list_query local_dir = os.path.dirname(os.path.abspath(__file__)) ON_TRAVIS = os...
29.519231
104
0.70684
230
1,535
4.421739
0.434783
0.088496
0.051131
0.058997
0.129794
0.058997
0
0
0
0
0
0.008703
0.176547
1,535
51
105
30.098039
0.795886
0.171987
0
0
0
0
0.10757
0
0
0
0
0
0.035714
1
0.071429
false
0.071429
0.178571
0
0.25
0.035714
0
0
0
null
0
0
0
0
0
0
0
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
6584f2d684176e56a028fa83fba17e1495411607
1,264
py
Python
TP3/test.py
paul-arthurthiery/IAMethodesAlgos
f49fe17c278424588df263ab0e6778721cbc4394
[ "MIT" ]
null
null
null
TP3/test.py
paul-arthurthiery/IAMethodesAlgos
f49fe17c278424588df263ab0e6778721cbc4394
[ "MIT" ]
null
null
null
TP3/test.py
paul-arthurthiery/IAMethodesAlgos
f49fe17c278424588df263ab0e6778721cbc4394
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Dec 2 14:33:13 2018 @author: Nathan """ import numpy as np from sklearn.datasets import load_iris from sklearn.model_selection import train_test_split from sklearn.preprocessing import StandardScaler # load dataset data,target =load_iris().data,load_...
26.333333
99
0.77769
202
1,264
4.653465
0.425743
0.038298
0.067021
0.089362
0.12766
0.12766
0.059574
0.059574
0.059574
0.059574
0
0.01721
0.126582
1,264
48
100
26.333333
0.834239
0.302215
0
0
0
0
0.028835
0
0
0
0
0
0
1
0
false
0
0.368421
0
0.368421
0.105263
0
0
0
null
0
0
0
0
0
0
0
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
6587d36784219790a446003c11e770c4bed4d07f
8,409
py
Python
ratin_cpython/common/common.py
openearth/eo-rivers
752f90aed92fa862a2c107bb58bcae298c1bf313
[ "MIT" ]
2
2018-10-19T03:20:08.000Z
2020-05-06T22:56:20.000Z
ratin_cpython/common/common.py
openearth/eo-river
752f90aed92fa862a2c107bb58bcae298c1bf313
[ "MIT" ]
11
2018-06-05T09:41:15.000Z
2021-11-15T17:47:27.000Z
ratin_cpython/common/common.py
openearth/eo-rivers
752f90aed92fa862a2c107bb58bcae298c1bf313
[ "MIT" ]
2
2020-10-15T12:29:36.000Z
2021-12-13T22:53:58.000Z
import numpy as np from math import factorial import scipy.signal #Gaussian filter with convolution - faster and easier to handle ## Degree is equal to the number of values left and right of the central value ## of the gaussian window: ## ie degree=3 yields a window of length 7 ## It uses normalized weights (sum of ...
35.331933
97
0.631704
1,292
8,409
4.063467
0.26548
0.021333
0.004571
0.008381
0.139048
0.115238
0.076381
0.05619
0.037714
0.037714
0
0.028968
0.228208
8,409
238
98
35.331933
0.779969
0.199905
0
0.081301
0
0
0.05148
0
0
0
0
0.008403
0
0
null
null
0.01626
0.02439
null
null
0.01626
0
0
0
null
0
0
0
0
0
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
658c87d29e07d35154d2bbcefbc473d8ad660860
1,152
py
Python
renovation_core_graphql/auth/otp.py
e-lobo/renovation_core_graphql
31e464e00badc308bf03c70364331b08ad9d1b1d
[ "MIT" ]
1
2021-12-15T06:05:06.000Z
2021-12-15T06:05:06.000Z
renovation_core_graphql/auth/otp.py
e-lobo/renovation_core_graphql
31e464e00badc308bf03c70364331b08ad9d1b1d
[ "MIT" ]
5
2021-06-09T19:00:56.000Z
2022-01-23T09:51:13.000Z
renovation_core_graphql/auth/otp.py
e-lobo/renovation_core_graphql
31e464e00badc308bf03c70364331b08ad9d1b1d
[ "MIT" ]
1
2021-06-01T05:22:41.000Z
2021-06-01T05:22:41.000Z
from graphql import GraphQLResolveInfo import frappe from renovation_core.utils.auth import generate_otp, verify_otp VERIFY_OTP_STATUS_MAP = { "no_linked_user": "NO_LINKED_USER", "no_otp_for_mobile": "NO_OTP_GENERATED", "invalid_otp": "INVALID_OTP", "verified": "VERIFIED", } def generate_otp_resol...
29.538462
84
0.703993
158
1,152
4.822785
0.316456
0.11811
0.059055
0.070866
0.173228
0.110236
0
0
0
0
0
0.003161
0.176215
1,152
38
85
30.315789
0.799789
0
0
0
1
0
0.173611
0
0
0
0
0
0
1
0.071429
false
0
0.107143
0
0.25
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
65923c69268087aca7de1d2a3dc4a13663164289
5,813
py
Python
imutils/big/make_shards.py
JacobARose/image-utils
aa0e005c0b4df5198d188b074f4e21f8d8f97962
[ "MIT" ]
null
null
null
imutils/big/make_shards.py
JacobARose/image-utils
aa0e005c0b4df5198d188b074f4e21f8d8f97962
[ "MIT" ]
null
null
null
imutils/big/make_shards.py
JacobARose/image-utils
aa0e005c0b4df5198d188b074f4e21f8d8f97962
[ "MIT" ]
null
null
null
""" imutils/big/make_shards.py Generate one or more webdataset-compatible tar archive shards from an image classification dataset. Based on script: https://github.com/tmbdev-archive/webdataset-examples/blob/7f56e9a8b978254c06aa0a98572a1331968b0eb3/makeshards.py Added on: Sunday March 6th, 2022 Example usage: pytho...
31.085561
188
0.732152
809
5,813
5.118665
0.295426
0.036223
0.028737
0.030427
0.157208
0.134509
0.124366
0.124366
0.124366
0.109877
0
0.029311
0.148976
5,813
186
189
31.252688
0.807762
0.244624
0
0.064815
1
0.009259
0.249547
0.06573
0
0
0
0
0.037037
1
0.046296
false
0.009259
0.138889
0
0.222222
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6594ce65379700398a3a74c57669881f0dce9a22
1,182
py
Python
linear.py
AliRzvn/HW1
d6420c1656800372aae78e18327612df540b674e
[ "MIT" ]
null
null
null
linear.py
AliRzvn/HW1
d6420c1656800372aae78e18327612df540b674e
[ "MIT" ]
null
null
null
linear.py
AliRzvn/HW1
d6420c1656800372aae78e18327612df540b674e
[ "MIT" ]
null
null
null
import numpy as np from module import Module class Linear(Module): def __init__(self, name, input_dim, output_dim, l2_coef=.0): super(Linear, self).__init__(name) self.l2_coef = l2_coef # coefficient of l2 regularization. self.W = np.random.randn(input_dim, output_dim) # weights of the...
31.945946
80
0.600677
168
1,182
4.130952
0.380952
0.069164
0.086455
0.092219
0.152738
0.152738
0.152738
0.152738
0.080692
0
0
0.006098
0.306261
1,182
36
81
32.833333
0.840244
0.450085
0
0
0
0
0
0
0
0
0
0.055556
0
1
0.1875
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
6598ac2ebf4cb397f3e2b86a4a598e93fd0dbafd
659
py
Python
pages/login_page.py
0verchenko/PageObject
b50ec33b6f511680e5be14b16c379df825b87285
[ "Apache-2.0" ]
null
null
null
pages/login_page.py
0verchenko/PageObject
b50ec33b6f511680e5be14b16c379df825b87285
[ "Apache-2.0" ]
1
2021-06-02T00:14:07.000Z
2021-06-02T00:14:07.000Z
pages/login_page.py
0verchenko/PageObject
b50ec33b6f511680e5be14b16c379df825b87285
[ "Apache-2.0" ]
null
null
null
from .base_page import BasePage from .locators import LoginPageLocators class LoginPage(BasePage): def should_be_login_page(self): self.should_be_login_url() self.should_be_login_form() self.should_be_register_form() def should_be_login_url(self): assert "login" in self.brows...
29.954545
83
0.740516
86
659
5.290698
0.290698
0.123077
0.142857
0.105495
0.369231
0.189011
0
0
0
0
0
0
0.183612
659
21
84
31.380952
0.845725
0
0
0
0
0
0.007587
0
0
0
0
0
0.2
1
0.266667
false
0
0.133333
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
659af9491af7136fafb0016f0624386d06bcfa4b
3,280
py
Python
demo/demo/settings.py
ikcam/django-boilerplate
d8253665d74f0f18cf9a5fd46772598a60f20c5c
[ "Apache-2.0" ]
5
2016-10-02T04:57:10.000Z
2019-08-12T22:22:39.000Z
demo/demo/settings.py
ikcam/django-boilerplate
d8253665d74f0f18cf9a5fd46772598a60f20c5c
[ "Apache-2.0" ]
null
null
null
demo/demo/settings.py
ikcam/django-boilerplate
d8253665d74f0f18cf9a5fd46772598a60f20c5c
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Django settings for demo project. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ # Build paths inside the project like this: os.path.j...
24.661654
71
0.690549
365
3,280
6.076712
0.421918
0.076195
0.027051
0.037872
0.143372
0.098287
0.079351
0.051849
0.036069
0
0
0.007383
0.174085
3,280
132
72
24.848485
0.81137
0.225
0
0.025641
0
0
0.511905
0.426984
0
0
0
0
0
1
0
false
0
0.025641
0
0.025641
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
65a9792b2934e3a0bc3ead9a9eef72f6382f49c5
3,454
py
Python
Important_data/Thesis figure scripts/six_sigmoids.py
haakonvt/LearningTensorFlow
6988a15af2ac916ae1a5e23b2c5bde9630cc0519
[ "MIT" ]
5
2018-09-06T12:52:12.000Z
2020-05-09T01:40:12.000Z
Important_data/Thesis figure scripts/six_sigmoids.py
haakonvt/LearningTensorFlow
6988a15af2ac916ae1a5e23b2c5bde9630cc0519
[ "MIT" ]
null
null
null
Important_data/Thesis figure scripts/six_sigmoids.py
haakonvt/LearningTensorFlow
6988a15af2ac916ae1a5e23b2c5bde9630cc0519
[ "MIT" ]
4
2018-02-06T08:42:06.000Z
2019-04-16T11:23:06.000Z
from matplotlib import rc rc('font',**{'family':'sans-serif','sans-serif':['Helvetica']}) rc('text', usetex=True) rc('legend',**{'fontsize':11}) # Font size for legend from mpl_toolkits.axes_grid.axislines import SubplotZero import matplotlib as mpl mpl.rcParams['lines.linewidth'] = 2.5 import matplotlib.pyplot as plt...
40.635294
116
0.630573
600
3,454
3.591667
0.348333
0.018561
0.011137
0.027842
0.186543
0.132715
0.104872
0.078886
0.062181
0.062181
0
0.052632
0.17487
3,454
84
117
41.119048
0.703509
0.183555
0
0
0
0.046154
0.244381
0.10025
0
0
0
0
0
0
null
null
0
0.092308
null
null
0.030769
0
0
0
null
0
0
0
0
0
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
65aa73e15457005cd520549df842b9dc33211c7c
3,820
py
Python
src/web/modules/search/controllers/search/control.py
unkyulee/elastic-cms
3ccf4476c3523d4fefc0d8d9dee0196815b81489
[ "MIT" ]
2
2017-04-30T07:29:23.000Z
2017-04-30T07:36:27.000Z
src/web/modules/search/controllers/search/control.py
unkyulee/elastic-cms
3ccf4476c3523d4fefc0d8d9dee0196815b81489
[ "MIT" ]
null
null
null
src/web/modules/search/controllers/search/control.py
unkyulee/elastic-cms
3ccf4476c3523d4fefc0d8d9dee0196815b81489
[ "MIT" ]
null
null
null
import json import urllib2 import traceback import cgi from flask import render_template, request import web.util.tools as tools import lib.http as http import lib.es as es from web import app from lib.read import readfile def get(p): host = p['c']['host']; index = p['c']['index']; # debug p['debug'] = ...
33.217391
85
0.546073
472
3,820
4.353814
0.311441
0.038929
0.017518
0.009732
0.053528
0.017518
0.017518
0.017518
0
0
0
0.001435
0.270157
3,820
114
86
33.508772
0.735653
0.121728
0
0.026316
0
0
0.235594
0.015006
0
0
0
0
0
0
null
null
0
0.131579
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
65b8b4c75d35105b5ff106a11aa54530eaf30029
2,687
py
Python
stellar_sdk/xdr/survey_response_body.py
Shaptic/py-stellar-base
f5fa47f4d96f215889d99249fb25c7be002f5cf3
[ "Apache-2.0" ]
null
null
null
stellar_sdk/xdr/survey_response_body.py
Shaptic/py-stellar-base
f5fa47f4d96f215889d99249fb25c7be002f5cf3
[ "Apache-2.0" ]
27
2022-01-12T10:55:38.000Z
2022-03-28T01:38:24.000Z
stellar_sdk/xdr/survey_response_body.py
Shaptic/py-stellar-base
f5fa47f4d96f215889d99249fb25c7be002f5cf3
[ "Apache-2.0" ]
2
2021-12-02T12:42:03.000Z
2021-12-07T20:53:10.000Z
# This is an automatically generated file. # DO NOT EDIT or your changes may be overwritten import base64 from xdrlib import Packer, Unpacker from ..type_checked import type_checked from .survey_message_command_type import SurveyMessageCommandType from .topology_response_body import TopologyResponseBody __all__ = ["S...
32.373494
80
0.668031
287
2,687
5.996516
0.254355
0.139454
0.174317
0.083672
0.079024
0.079024
0
0
0
0
0
0.004948
0.24786
2,687
82
81
32.768293
0.846611
0.098623
0
0.051724
1
0
0.092662
0.031027
0
0
0
0
0
1
0.155172
false
0
0.086207
0
0.431034
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
65b9bd2ad1163a0006a5a233a9d9d9cd5e6a3646
763
py
Python
poll/migrations/0002_auto_20210114_2215.py
slk007/SahiGalat.com
786688e07237f3554187b90e01149225efaa1713
[ "MIT" ]
null
null
null
poll/migrations/0002_auto_20210114_2215.py
slk007/SahiGalat.com
786688e07237f3554187b90e01149225efaa1713
[ "MIT" ]
null
null
null
poll/migrations/0002_auto_20210114_2215.py
slk007/SahiGalat.com
786688e07237f3554187b90e01149225efaa1713
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-01-14 22:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('poll', '0001_initial'), ] operations = [ migrations.CreateModel( name='Topic', fields=[ ('id', model...
28.259259
114
0.571429
76
763
5.605263
0.697368
0.070423
0.084507
0.112676
0
0
0
0
0
0
0
0.044693
0.296199
763
26
115
29.346154
0.748603
0.058978
0
0.1
1
0
0.117318
0
0
0
0
0
0
1
0
false
0
0.05
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
65b9efe5fd413429042a21c46095ea299b352b7a
370
py
Python
Leetcode/Python/_1493.py
Xrenya/algorithms
aded82cacde2f4f2114241907861251e0e2e5638
[ "MIT" ]
null
null
null
Leetcode/Python/_1493.py
Xrenya/algorithms
aded82cacde2f4f2114241907861251e0e2e5638
[ "MIT" ]
null
null
null
Leetcode/Python/_1493.py
Xrenya/algorithms
aded82cacde2f4f2114241907861251e0e2e5638
[ "MIT" ]
null
null
null
class Solution: def longestSubarray(self, nums: List[int]) -> int: k = 1 max_len, i = 0, 0 for j in range(len(nums)): if nums[j] == 0: k -= 1 if k < 0: if nums[i] == 0: k += 1 i += 1 max_...
23.125
54
0.37027
49
370
2.714286
0.408163
0.180451
0.105263
0
0
0
0
0
0
0
0
0.050279
0.516216
370
15
55
24.666667
0.692737
0
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
65c1e68e0dc7466b357152cbb876f5ad24ac99ef
9,154
py
Python
SaIL/envs/state_lattice_planner_env.py
yonetaniryo/SaIL
c7404024c7787184c3638e9730bd185373ed0bf6
[ "BSD-3-Clause" ]
12
2018-05-18T19:29:09.000Z
2020-05-15T13:47:12.000Z
SaIL/envs/state_lattice_planner_env.py
yonetaniryo/SaIL
c7404024c7787184c3638e9730bd185373ed0bf6
[ "BSD-3-Clause" ]
1
2018-05-18T19:36:42.000Z
2018-07-20T03:03:13.000Z
SaIL/envs/state_lattice_planner_env.py
yonetaniryo/SaIL
c7404024c7787184c3638e9730bd185373ed0bf6
[ "BSD-3-Clause" ]
10
2018-01-11T21:23:40.000Z
2021-11-10T04:38:07.000Z
#!/usr/bin/env python """An environment that takes as input databases of environments and runs episodes, where each episode is a search based planner. It then returns the average number of expansions, and features (if training) Author: Mohak Bhardwaj """ from collections import defaultdict import numpy as np import os...
45.093596
192
0.693358
1,285
9,154
4.719844
0.224903
0.012366
0.016323
0.019291
0.179885
0.101401
0.085903
0.06249
0.06249
0.050948
0
0.007256
0.202097
9,154
202
193
45.316832
0.823111
0.179266
0
0.108696
0
0
0.041685
0
0
0
0
0
0.007246
0
null
null
0
0.086957
null
null
0.028986
0
0
0
null
0
0
0
0
0
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
65c266ffeb9dad82408ef950252b4d7368839fc3
966
py
Python
opi_dragon_api/auth/__init__.py
CEAC33/opi-dragon-api
8f050a0466dab4aaeec13151b9f49990bbd73640
[ "MIT" ]
null
null
null
opi_dragon_api/auth/__init__.py
CEAC33/opi-dragon-api
8f050a0466dab4aaeec13151b9f49990bbd73640
[ "MIT" ]
null
null
null
opi_dragon_api/auth/__init__.py
CEAC33/opi-dragon-api
8f050a0466dab4aaeec13151b9f49990bbd73640
[ "MIT" ]
null
null
null
from sanic_jwt import exceptions class User: def __init__(self, id, username, password): self.user_id = id self.username = username self.password = password def __repr__(self): return "User(id='{}')".format(self.user_id) def to_dict(self): return {"user_id": self....
29.272727
79
0.677019
129
966
4.922481
0.364341
0.056693
0.047244
0.050394
0.037795
0
0
0
0
0
0
0.003901
0.203934
966
33
80
29.272727
0.821847
0
0
0
0
0
0.131334
0
0
0
0
0
0
1
0.136364
false
0.318182
0.045455
0.090909
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
65c64d0d6e346b2c86db0238e477f1aee46d6160
2,313
py
Python
tensorflow/python/data/experimental/kernel_tests/serialization/textline_dataset_serialization_test.py
DanMitroshin/tensorflow
74aa353842f1788bdb7506ecceaf6ba99140e165
[ "Apache-2.0" ]
4
2021-06-02T03:21:44.000Z
2021-11-08T09:47:24.000Z
tensorflow/python/data/experimental/kernel_tests/serialization/textline_dataset_serialization_test.py
DanMitroshin/tensorflow
74aa353842f1788bdb7506ecceaf6ba99140e165
[ "Apache-2.0" ]
7
2021-11-10T20:21:23.000Z
2022-03-22T19:18:39.000Z
tensorflow/python/data/experimental/kernel_tests/serialization/textline_dataset_serialization_test.py
DanMitroshin/tensorflow
74aa353842f1788bdb7506ecceaf6ba99140e165
[ "Apache-2.0" ]
3
2021-05-09T13:41:29.000Z
2021-06-24T06:12:05.000Z
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
39.20339
89
0.750108
291
2,313
5.697595
0.474227
0.063329
0.072376
0.057901
0.126659
0.078408
0.059107
0.059107
0.059107
0
0
0.006119
0.152183
2,313
58
90
39.87931
0.839368
0.335063
0
0
0
0
0.010547
0
0
0
0
0
0
1
0.060606
false
0
0.30303
0.030303
0.424242
0.030303
0
0
0
null
0
0
0
0
0
0
0
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
65d0a80d19258c77b9d91fc06cfaa6455396ecc8
10,012
py
Python
octopus_deploy_swagger_client/models/phase_resource.py
cvent/octopus-deploy-api-client
0e03e842e1beb29b132776aee077df570b88366a
[ "Apache-2.0" ]
null
null
null
octopus_deploy_swagger_client/models/phase_resource.py
cvent/octopus-deploy-api-client
0e03e842e1beb29b132776aee077df570b88366a
[ "Apache-2.0" ]
null
null
null
octopus_deploy_swagger_client/models/phase_resource.py
cvent/octopus-deploy-api-client
0e03e842e1beb29b132776aee077df570b88366a
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Octopus Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 2019.6.7+Branch.tags-2019.6.7.Sha.aa18dc6809953218c66f57eff7d26481d9b23d6a Generated by: https://github.com/swagger-api...
33.373333
257
0.663504
1,102
10,012
5.742287
0.129764
0.102086
0.096081
0.087231
0.588021
0.495575
0.45354
0.278919
0.246681
0.125158
0
0.017811
0.259788
10,012
299
258
33.48495
0.836055
0.326808
0
0.075758
1
0
0.09478
0.069606
0
0
0
0
0
1
0.166667
false
0
0.030303
0
0.325758
0.015152
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
65d4761a181f8a12d33c2a0e4fbbb20be034782f
309
py
Python
project/server/main/modules/__init__.py
ardikabs/dnsmanager
4d2f302ea9f54fd4d5416328dc46a1c47b573e5b
[ "MIT" ]
1
2019-01-15T10:33:04.000Z
2019-01-15T10:33:04.000Z
project/server/main/modules/__init__.py
ardikabs/dnsmanager
4d2f302ea9f54fd4d5416328dc46a1c47b573e5b
[ "MIT" ]
null
null
null
project/server/main/modules/__init__.py
ardikabs/dnsmanager
4d2f302ea9f54fd4d5416328dc46a1c47b573e5b
[ "MIT" ]
null
null
null
""" All Available Module on Server Belong to Here """ AVAILABLE_MODULES = ( "api", ) def init_app(app, **kwargs): from importlib import import_module for module in AVAILABLE_MODULES: import_module( f".{module}", package=__name__ ).init_app(app, **kwargs)
23.769231
53
0.614887
36
309
5
0.611111
0.177778
0.111111
0.177778
0
0
0
0
0
0
0
0
0.275081
309
13
54
23.769231
0.803571
0.145631
0
0
0
0
0.046693
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.3
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
65d5f60d4b7acc40612bcf45d7c9efe894269057
1,050
py
Python
JSS Users Cleanup/setup.py
killahquam/JAMF
77b003a72375b9b01bdb961cb466b7519c859116
[ "MIT" ]
34
2015-06-11T16:37:54.000Z
2021-06-02T20:42:55.000Z
JSS Users Cleanup/setup.py
killahquam/JAMF
77b003a72375b9b01bdb961cb466b7519c859116
[ "MIT" ]
1
2016-01-03T04:05:30.000Z
2016-09-26T20:25:51.000Z
JSS Users Cleanup/setup.py
killahquam/JAMF
77b003a72375b9b01bdb961cb466b7519c859116
[ "MIT" ]
6
2015-12-29T20:39:56.000Z
2020-06-30T19:33:23.000Z
#!/usr/bin/python #Quam Sodji 2015 #Setup script to install the needed python modules #Installs kn/Slack and python-jss modules #We assume you have Git installed....... import subprocess import os import sys import shutil clone_jss = subprocess.check_output(['git','clone','git://github.com/sheagcraig/python-jss.git'])...
33.870968
97
0.75619
152
1,050
5.098684
0.355263
0.08129
0.108387
0.061935
0.224516
0.224516
0.224516
0.224516
0
0
0
0.005252
0.093333
1,050
31
98
33.870968
0.808824
0.197143
0
0
0
0
0.316986
0.084928
0
0
0
0
0
0
null
null
0
0.190476
null
null
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
1
0
0
0
0
0
0
0
0
1
65db99db18c44b4e940ff60964e5dae8b718ca83
3,988
py
Python
datamining_assignments/datamining_assiment_3/nmf.py
xuerenlv/PaperWork
f096b57a80e8d771f080a02b925a22edbbee722a
[ "Apache-2.0" ]
1
2015-10-15T12:26:07.000Z
2015-10-15T12:26:07.000Z
datamining_assignments/datamining_assiment_3/nmf.py
xuerenlv/PaperWork
f096b57a80e8d771f080a02b925a22edbbee722a
[ "Apache-2.0" ]
null
null
null
datamining_assignments/datamining_assiment_3/nmf.py
xuerenlv/PaperWork
f096b57a80e8d771f080a02b925a22edbbee722a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- ''' Created on Oct 27, 2015 @author: nlp ''' import numpy as np import math # nmf 聚类主体 def nmf(file_list, k): X = np.array(file_list).transpose() m_x, n_x = X.shape # 随机生成初始矩阵 U = np.random.rand(m_x, k) V = np.random.rand(n_x, k) is_convergence = False count =...
31.15625
89
0.570963
650
3,988
3.223077
0.170769
0.056802
0.08401
0.120764
0.436277
0.398568
0.367542
0.345585
0.334606
0.334606
0
0.018608
0.272317
3,988
127
90
31.401575
0.703308
0.082497
0
0.183908
0
0
0.011386
0
0
0
0
0
0
0
null
null
0.011494
0.022989
null
null
0.011494
0
0
0
null
0
0
0
0
0
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
65ddc57bb1b73bd27f58c41a027c88ec873b6740
2,541
py
Python
setup.py
jimbydamonk/jenkins-job-builder-addons
172672e25089992ed94dc223c7e30f29c46719b0
[ "Apache-2.0" ]
8
2015-08-21T15:53:22.000Z
2019-04-09T20:42:58.000Z
setup.py
jimbydamonk/jenkins-job-builder-addons
172672e25089992ed94dc223c7e30f29c46719b0
[ "Apache-2.0" ]
5
2016-03-23T17:46:16.000Z
2018-03-05T13:56:17.000Z
setup.py
jimbydamonk/jenkins-job-builder-addons
172672e25089992ed94dc223c7e30f29c46719b0
[ "Apache-2.0" ]
11
2015-10-05T21:58:33.000Z
2019-04-14T04:50:48.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools.command.test import test as TestCommand try: from setuptools import setup except ImportError: from distutils.core import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: h...
28.550562
75
0.637151
289
2,541
5.435986
0.449827
0.063017
0.064927
0.056015
0.038192
0
0
0
0
0
0
0.005181
0.240457
2,541
88
76
28.875
0.808808
0.066116
0
0.042857
0
0
0.351351
0.131757
0
0
0
0.011364
0
1
0.042857
false
0.014286
0.085714
0
0.157143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
65e1ff2eb00e84049f3aabe94179a02fc82570ba
802
py
Python
hw/scripts/__main__.py
jonasblixt/mongoose
4f392353f42d9c9245cdb5d9511348ec40bd936f
[ "BSD-3-Clause" ]
4
2019-07-31T17:59:14.000Z
2019-10-06T11:46:28.000Z
hw/scripts/__main__.py
jonasblixt/mongoose
4f392353f42d9c9245cdb5d9511348ec40bd936f
[ "BSD-3-Clause" ]
null
null
null
hw/scripts/__main__.py
jonasblixt/mongoose
4f392353f42d9c9245cdb5d9511348ec40bd936f
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import kicad import model from stackups import JLCPCB6Layers #from dram import lp4 # IMX8MM # Diff pairs should be matched within 1ps # CK_t/CK_c max 200 ps # CA[5:0] # CS[1:0] min: CK_t - 25ps, max: CK_t + 25ps # CKE[1:0] # DQS0_t/DQS0_c min: CK_t - 85ps, max CK_t + 85ps # DQ[7:0]...
21.675676
68
0.627182
144
802
3.229167
0.4375
0.045161
0.060215
0.030108
0.098925
0.098925
0.098925
0.098925
0.098925
0.098925
0
0.090909
0.218204
802
36
69
22.277778
0.650718
0.55611
0
0
0
0
0.123529
0.061765
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.125
0
0
0
null
0
0
0
0
0
0
0
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
65e2db02f151a8da25b3c6a7203333c4f0b917f2
4,795
py
Python
scripts/runOptimizer.py
sschulz365/PhC_Optimization
9a4add4eb638d797647cabbdf0f96b29b78114f2
[ "Naumen", "Condor-1.1", "MS-PL" ]
2
2017-05-13T05:33:06.000Z
2021-02-26T14:39:44.000Z
scripts/runOptimizer.py
sschulz365/PhC_Optimization
9a4add4eb638d797647cabbdf0f96b29b78114f2
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
scripts/runOptimizer.py
sschulz365/PhC_Optimization
9a4add4eb638d797647cabbdf0f96b29b78114f2
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
#Sean Billings, 2015 import random import numpy import subprocess import constraints from experiment import Experiment from objectiveFunctions import WeightedSumObjectiveFunction, IdealDifferentialObjectiveFunction from waveGuideMPBOptimizer import differentialEvolution, createPopulation, gradientDescentAlgorithm impor...
33.531469
104
0.737018
594
4,795
5.848485
0.340067
0.034542
0.024467
0.020725
0.045481
0.036269
0.019574
0.019574
0
0
0
0.028834
0.18269
4,795
142
105
33.767606
0.857617
0.403962
0
0
0
0
0.142857
0.0425
0
0
0
0
0
0
null
null
0
0.115385
null
null
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
65e31c331679c439236e3ccff96fa39b9166d6f4
435
py
Python
setup.py
jigyasudhingra/music-recommendation-system
09c66c4f207002b200d6394cf72e853741e44b6e
[ "MIT" ]
2
2021-12-04T08:47:41.000Z
2021-12-06T16:54:36.000Z
setup.py
jigyasudhingra/music-recommendation-system
09c66c4f207002b200d6394cf72e853741e44b6e
[ "MIT" ]
null
null
null
setup.py
jigyasudhingra/music-recommendation-system
09c66c4f207002b200d6394cf72e853741e44b6e
[ "MIT" ]
1
2020-12-12T15:55:20.000Z
2020-12-12T15:55:20.000Z
import os import urllib.request from zipfile import ZipFile HOME_DIRECTORY = os.path.join('datasets','raw') ROOT_URL = 'https://os.unil.cloud.switch.ch/fma/fma_metadata.zip' if not os.path.isdir(HOME_DIRECTORY): os.makedirs(HOME_DIRECTORY) zip_path = os.path.join(HOME_DIRECTORY, 'data.zip') urllib.request.urlretr...
29
65
0.758621
68
435
4.691176
0.5
0.203762
0.094044
0
0
0
0
0
0
0
0
0
0.103448
435
15
66
29
0.817949
0
0
0
0
0
0.176606
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.083333
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
65e8c2b06a56311edf49d920f21df0bd1cab027c
708
py
Python
StationeersSaveFileDebugTools.py
lostinplace/StationeersSaveFileDebugTools
372a2fc86a9fc3af25044a56131271b577d4d97b
[ "MIT" ]
null
null
null
StationeersSaveFileDebugTools.py
lostinplace/StationeersSaveFileDebugTools
372a2fc86a9fc3af25044a56131271b577d4d97b
[ "MIT" ]
1
2021-01-10T21:12:41.000Z
2021-01-10T21:14:49.000Z
StationeersSaveFileDebugTools.py
lostinplace/StationeersSaveFileDebugTools
372a2fc86a9fc3af25044a56131271b577d4d97b
[ "MIT" ]
null
null
null
import click @click.group() def cli(): pass @cli.command("restore_atmo") @click.argument('currentFile') @click.argument('backupFile') @click.argument('newFilePath') def restore_atmo(current_file, backup_file, new_file_path): from Utils.AtmoFileProcessing.RestoreAtmo import create_restored_world_file cre...
26.222222
108
0.79661
86
708
6.139535
0.44186
0.098485
0.064394
0.079545
0.246212
0.121212
0.121212
0
0
0
0
0
0.103107
708
27
109
26.222222
0.831496
0
0
0
0
0
0.114245
0.03385
0
0
0
0
0
1
0.157895
false
0.052632
0.157895
0
0.315789
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
028ccbb703922e522d9de79fd431e21d9aeac192
909
py
Python
src/main/python/server/test.py
areichmann-tgm/client_travis
c00163e6d7630ff4efaf28605b134e356e02a9d1
[ "MIT" ]
null
null
null
src/main/python/server/test.py
areichmann-tgm/client_travis
c00163e6d7630ff4efaf28605b134e356e02a9d1
[ "MIT" ]
null
null
null
src/main/python/server/test.py
areichmann-tgm/client_travis
c00163e6d7630ff4efaf28605b134e356e02a9d1
[ "MIT" ]
null
null
null
import pytest from server import rest @pytest.fixture def client(): rest.app.testing = True #rest.app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///server.MyStudents' client = rest.app.test_client() yield client def test_get(client): res = client.get('/schueler') assert res.status_code ==...
25.971429
133
0.667767
119
909
4.966387
0.352941
0.059222
0.126904
0.128596
0.57022
0.490694
0.490694
0.138748
0
0
0
0.028497
0.150715
909
34
134
26.735294
0.737047
0.212321
0
0.285714
0
0
0.1622
0
0
0
0
0
0.238095
1
0.285714
false
0
0.095238
0
0.380952
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
028dbb898943de5745b9b0587b4aecb405f08834
3,143
py
Python
helper-scripts/instrnocombine.py
felixaestheticus/realcode-validation
c599cc41797fc074bd2b71d205d6b2b904e1d64b
[ "BSD-3-Clause" ]
null
null
null
helper-scripts/instrnocombine.py
felixaestheticus/realcode-validation
c599cc41797fc074bd2b71d205d6b2b904e1d64b
[ "BSD-3-Clause" ]
null
null
null
helper-scripts/instrnocombine.py
felixaestheticus/realcode-validation
c599cc41797fc074bd2b71d205d6b2b904e1d64b
[ "BSD-3-Clause" ]
null
null
null
#combine.py, combines available dictionaries into one, and generates csv file for latex #f = open('dict_random') mem_ops = 'MOVS','MOV','LDR','LDRH','LDRB','LDRSH','LDRSB','LDM','STR','STRH','STRB','STM' ari_ops = 'ADDS','ADD','ADC','ADCS','ADR','SUBS','SUB','SBCS','RSBS','MULS','MUL','RSB','SBC' com_ops = 'CMP','CM...
25.144
119
0.602291
547
3,143
3.35649
0.330896
0.133987
0.151961
0.058824
0.381264
0.355664
0.303922
0.198257
0.172113
0.12963
0
0.012588
0.14063
3,143
124
120
25.346774
0.66716
0.154311
0
0.289157
1
0
0.189087
0.025767
0
0
0
0
0
1
0
false
0
0.012048
0
0.012048
0.060241
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
02974a7f2e55a4545889ad1727cb810be5d621b5
1,254
py
Python
file/txt2bin.py
QPointNotebook/PythonSample
53c2a54da2bf9a61449ed1c7d2864c5c0eedc5e0
[ "MIT" ]
null
null
null
file/txt2bin.py
QPointNotebook/PythonSample
53c2a54da2bf9a61449ed1c7d2864c5c0eedc5e0
[ "MIT" ]
null
null
null
file/txt2bin.py
QPointNotebook/PythonSample
53c2a54da2bf9a61449ed1c7d2864c5c0eedc5e0
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from file.file import file class txt2bin( file ): def read( self, file ): datas = [] with open( file, 'r', encoding='utf-8' ) as f: lines = f.readlines() for line in lines: data = line....
31.35
77
0.369219
138
1,254
3.34058
0.463768
0.05423
0.056399
0.073753
0.173536
0.10846
0
0
0
0
0
0.030547
0.503987
1,254
39
78
32.153846
0.710611
0.11244
0
0.071429
0
0
0.020833
0
0
0
0.003623
0
0
1
0.071429
false
0
0.035714
0
0.178571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
029b069d68471e7fbe34c10e131ca57fcd80d3f5
892
py
Python
blog/app/admin/views.py
web-user/flask-blog
130f5dbcdb18b8f325c7aa8dd3d71cbc7190485a
[ "MIT" ]
null
null
null
blog/app/admin/views.py
web-user/flask-blog
130f5dbcdb18b8f325c7aa8dd3d71cbc7190485a
[ "MIT" ]
null
null
null
blog/app/admin/views.py
web-user/flask-blog
130f5dbcdb18b8f325c7aa8dd3d71cbc7190485a
[ "MIT" ]
null
null
null
from flask import Flask, render_template, session, redirect, url_for, request, flash, abort, current_app, make_response from flask_login import login_user, logout_user, login_required, current_user from . import admin from .. import db from ..models import User, Post from ..form import PostForm from functools import wr...
34.307692
119
0.690583
121
892
4.983471
0.454545
0.044776
0.069652
0
0
0
0
0
0
0
0
0
0.180493
892
25
120
35.68
0.824897
0
0
0
0
0
0.097753
0
0
0
0
0
0
1
0.045455
false
0.045455
0.363636
0
0.5
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
029ed725f1f2d111375bab605c9d49677c361f7c
2,858
py
Python
src/tests/crud/test_user.py
Behnam-sn/neat-backend
ba6e6356ee092eba27179f72fd2a15e25c68d1b8
[ "MIT" ]
1
2022-03-07T22:16:48.000Z
2022-03-07T22:16:48.000Z
src/tests/crud/test_user.py
Behnam-sn/neat-backend
ba6e6356ee092eba27179f72fd2a15e25c68d1b8
[ "MIT" ]
null
null
null
src/tests/crud/test_user.py
Behnam-sn/neat-backend
ba6e6356ee092eba27179f72fd2a15e25c68d1b8
[ "MIT" ]
1
2022-03-07T22:16:49.000Z
2022-03-07T22:16:49.000Z
from sqlalchemy.orm import Session from src import crud from src.core.security import verify_password from src.schemas.user import UserCreate, UserUpdate from src.tests.utils.user import create_random_user_by_api from src.tests.utils.utils import random_lower_string def test_create_user(db: Session): username = ...
26.220183
74
0.747726
369
2,858
5.457995
0.124661
0.098312
0.151936
0.099305
0.57994
0.495531
0.46574
0.46574
0.423535
0.386792
0
0
0.175647
2,858
108
75
26.462963
0.854839
0
0
0.388889
0
0
0.005248
0
0
0
0
0
0.208333
1
0.111111
false
0.277778
0.083333
0
0.194444
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
02a4beb0015cd6725cf78ab2fb76439c197ecfc1
2,073
py
Python
sims/s251/calc-err.py
ammarhakim/ammar-simjournal
85b64ddc9556f01a4fab37977864a7d878eac637
[ "MIT", "Unlicense" ]
1
2019-12-19T16:21:13.000Z
2019-12-19T16:21:13.000Z
sims/s251/calc-err.py
ammarhakim/ammar-simjournal
85b64ddc9556f01a4fab37977864a7d878eac637
[ "MIT", "Unlicense" ]
null
null
null
sims/s251/calc-err.py
ammarhakim/ammar-simjournal
85b64ddc9556f01a4fab37977864a7d878eac637
[ "MIT", "Unlicense" ]
2
2020-01-08T06:23:33.000Z
2020-01-08T07:06:50.000Z
from pylab import * import tables def exactSol(X, Y, t): return exp(-2*t)*sin(X)*cos(Y) fh = tables.openFile("s251-dg-diffuse-2d_q_1.h5") q = fh.root.StructGridField nx, ny, nc = q.shape dx = 2*pi/nx Xf = linspace(0, 2*pi-dx, nx) dy = 2*pi/ny Yf = linspace(0, 2*pi-dy, ny) XX, YY = meshgrid(Xf, Yf) Xhr = linspace...
21.371134
65
0.578389
412
2,073
2.900485
0.269417
0.016736
0.030126
0.040167
0.244351
0.16569
0.098745
0.098745
0
0
0
0.131325
0.199228
2,073
96
66
21.59375
0.588554
0.039074
0
0.144928
0
0
0.037336
0.012614
0
0
0
0
0
0
null
null
0
0.028986
null
null
0.014493
0
0
0
null
0
0
0
0
0
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
02a600c96645d56c182f0a175380bb6948a7e4b5
973
py
Python
PyCharm/Exercicios/Aula12/ex041.py
fabiodarice/Python
15ec1c7428f138be875111ac98ba38cf2eec1a93
[ "MIT" ]
null
null
null
PyCharm/Exercicios/Aula12/ex041.py
fabiodarice/Python
15ec1c7428f138be875111ac98ba38cf2eec1a93
[ "MIT" ]
null
null
null
PyCharm/Exercicios/Aula12/ex041.py
fabiodarice/Python
15ec1c7428f138be875111ac98ba38cf2eec1a93
[ "MIT" ]
null
null
null
# Importação de bibliotecas from datetime import date # Título do programa print('\033[1;34;40mCLASSIFICAÇÃO DE CATEGORIAS PARA NATAÇÃO\033[m') # Objetos nascimento = int(input('\033[30mDigite o ano do seu nascimento:\033[m ')) idade = date.today().year - nascimento mirim = 9 infantil = 14 junior = 19 senior = 20 # ...
38.92
109
0.693731
172
973
3.924419
0.313953
0.071111
0.044444
0.103704
0.496296
0.496296
0.425185
0.365926
0.365926
0.365926
0
0.139759
0.146968
973
25
110
38.92
0.673494
0.060637
0
0
0
0.277778
0.553846
0.156044
0
0
0
0
0
1
0
false
0
0.055556
0
0.055556
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
02a632349d6da6f348ea1c189802c694c33a0241
1,681
py
Python
github-bot/harvester_github_bot/config.py
futuretea/bot
5f1f1a08e0fca6519e0126ff8f0b87fec23a38e3
[ "Apache-2.0" ]
null
null
null
github-bot/harvester_github_bot/config.py
futuretea/bot
5f1f1a08e0fca6519e0126ff8f0b87fec23a38e3
[ "Apache-2.0" ]
null
null
null
github-bot/harvester_github_bot/config.py
futuretea/bot
5f1f1a08e0fca6519e0126ff8f0b87fec23a38e3
[ "Apache-2.0" ]
null
null
null
from everett.component import RequiredConfigMixin, ConfigOptions from everett.manager import ConfigManager, ConfigOSEnv class BotConfig(RequiredConfigMixin): required_config = ConfigOptions() required_config.add_option('flask_loglevel', parser=str, default='info', doc='Set the log level for Flask.') requi...
64.653846
121
0.606782
172
1,681
5.767442
0.325581
0.127016
0.137097
0.185484
0.444556
0.410282
0.349798
0.235887
0.235887
0.133065
0
0
0.303986
1,681
25
122
67.24
0.847863
0
0
0.095238
0
0
0.293278
0.013087
0
0
0
0
0
1
0.047619
false
0.047619
0.095238
0
0.285714
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
02b2cd966c362b3581d56d85cfd72c1cf6dfa614
1,212
py
Python
finetwork/plotter/_centrality_metrics.py
annakuchko/FinNetwork
4566ff96b33fb5668f9b28f41a94791d1cf9249c
[ "MIT" ]
5
2021-12-07T22:14:10.000Z
2022-03-30T14:09:15.000Z
finetwork/plotter/_centrality_metrics.py
annakuchko/FinNetwork
4566ff96b33fb5668f9b28f41a94791d1cf9249c
[ "MIT" ]
null
null
null
finetwork/plotter/_centrality_metrics.py
annakuchko/FinNetwork
4566ff96b33fb5668f9b28f41a94791d1cf9249c
[ "MIT" ]
null
null
null
import networkx as nx class _CentralityMetrics: def __init__(self, G, metrics): self.G = G self.metrics = metrics def _compute_metrics(self): metrics = self.metrics if metrics == 'degree_centrality': c = self.degree_centrality() elif...
32.756757
72
0.615512
116
1,212
6.215517
0.198276
0.15534
0.083218
0.144244
0.25104
0.25104
0.25104
0.191401
0
0
0
0
0.302805
1,212
36
73
33.666667
0.853254
0
0
0.142857
0
0
0.089286
0.037415
0
0
0
0
0
1
0.214286
false
0
0.035714
0
0.464286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
02b6a5972aef51ad1a07e6ff7ba0827ae6cad8a4
2,235
py
Python
t/text_test.py
gsnedders/Template-Python
4081e4d820c1be0c0448a8dcb79e0703066da099
[ "Artistic-2.0" ]
null
null
null
t/text_test.py
gsnedders/Template-Python
4081e4d820c1be0c0448a8dcb79e0703066da099
[ "Artistic-2.0" ]
6
2015-10-13T13:46:10.000Z
2019-06-17T09:39:57.000Z
t/text_test.py
gsnedders/Template-Python
4081e4d820c1be0c0448a8dcb79e0703066da099
[ "Artistic-2.0" ]
3
2018-12-03T13:15:21.000Z
2019-03-13T09:12:09.000Z
from template import Template from template.test import TestCase, main class Stringy: def __init__(self, text): self.text = text def asString(self): return self.text __str__ = asString class TextTest(TestCase): def testText(self): tt = (("basic", Template()), ("interp", Template({ "I...
14.607843
71
0.503803
293
2,235
3.784983
0.242321
0.028855
0.043282
0.054103
0.58972
0.580703
0.580703
0.553652
0.553652
0.553652
0
0.019596
0.246532
2,235
152
72
14.703947
0.638955
0
0
0.640625
0
0.03125
0.760412
0
0
0
0
0
0
1
0.023438
false
0
0.015625
0.007813
0.070313
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
02bb2ad5f8635de13653c1ed22f4978ec39fcfc6
377
py
Python
performance_test.py
alan-augustine/python_singly_linkedlist
f227a4154b22de8a273d319ecdd6329035d5d258
[ "MIT" ]
null
null
null
performance_test.py
alan-augustine/python_singly_linkedlist
f227a4154b22de8a273d319ecdd6329035d5d258
[ "MIT" ]
null
null
null
performance_test.py
alan-augustine/python_singly_linkedlist
f227a4154b22de8a273d319ecdd6329035d5d258
[ "MIT" ]
null
null
null
from time import time import os import sys sys.path.append(os.path.join(os.path.dirname(__file__), 'src')) from singly_linkedlist.singly_linkedlist import SinglyLinkedList start = time() linked_list = SinglyLinkedList() for i in range(100000): linked_list.insert_head(111111111111) end = time() print("Took {0} sec...
23.5625
64
0.774536
54
377
5.203704
0.592593
0.106762
0
0
0
0
0
0
0
0
0
0.05638
0.106101
377
15
65
25.133333
0.777448
0.074271
0
0
0
0
0.054913
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
02bea4753652cd78237dd184ed6e67ea923d42ea
454
py
Python
dataprocess/print_msg.py
lifelong-robotic-vision/openloris-scene-tools
ce6a4839f618bf036d3f3dbae14561bfc7413641
[ "MIT" ]
13
2021-03-27T15:49:21.000Z
2022-03-19T13:26:30.000Z
dataprocess/print_msg.py
lifelong-robotic-vision/openloris-scene-tools
ce6a4839f618bf036d3f3dbae14561bfc7413641
[ "MIT" ]
4
2021-03-30T10:40:43.000Z
2022-03-28T01:36:57.000Z
dataprocess/print_msg.py
lifelong-robotic-vision/openloris-scene-tools
ce6a4839f618bf036d3f3dbae14561bfc7413641
[ "MIT" ]
1
2022-02-16T13:42:32.000Z
2022-02-16T13:42:32.000Z
#!/usr/bin/env python2 import rosbag import sys filename = sys.argv[1] topics = sys.argv[2:] with rosbag.Bag(filename) as bag: for topic, msg, t in bag.read_messages(topics): print('%s @%.7f ----------------------------' % (topic, t.to_sec())) print(msg) print('Press ENTER to continue') ...
25.222222
76
0.497797
54
454
4.12963
0.722222
0.06278
0
0
0
0
0
0
0
0
0
0.013158
0.330396
454
17
77
26.705882
0.720395
0.046256
0
0
0
0
0.138889
0.064815
0
0
0
0
0
1
0
false
0.066667
0.133333
0
0.133333
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
1
0
0
0
0
0
1
02beda4568a4663c141bf81401d0595971779e3a
1,011
py
Python
alegra/resources/invoice.py
okchaty/alegra
6c423b23a24650c9121da5f165f6f03669b98468
[ "MIT" ]
1
2022-03-31T03:44:50.000Z
2022-03-31T03:44:50.000Z
alegra/resources/invoice.py
okchaty/alegra
6c423b23a24650c9121da5f165f6f03669b98468
[ "MIT" ]
4
2020-03-24T17:54:03.000Z
2021-06-02T00:48:50.000Z
alegra/resources/invoice.py
okchaty/alegra
6c423b23a24650c9121da5f165f6f03669b98468
[ "MIT" ]
null
null
null
from alegra.api_requestor import APIRequestor from alegra.resources.abstract import CreateableAPIResource from alegra.resources.abstract import EmailableAPIResource from alegra.resources.abstract import ListableAPIResource from alegra.resources.abstract import UpdateableAPIResource from alegra.resources.abstract impor...
29.735294
68
0.681503
96
1,011
7.0625
0.385417
0.088496
0.140118
0.199115
0.243363
0
0
0
0
0
0
0
0.246291
1,011
33
69
30.636364
0.889764
0
0
0
0
0
0.017804
0
0
0
0
0
0
1
0.033333
false
0
0.2
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
02c18f6d2d3ebb8100e01a783419de97602121b6
1,723
py
Python
code/generateElevationFile.py
etcluvic/sme.altm
ffdb51d380a6b8cd8073d5ef3bd6fd15fa0779ea
[ "CC-BY-4.0" ]
null
null
null
code/generateElevationFile.py
etcluvic/sme.altm
ffdb51d380a6b8cd8073d5ef3bd6fd15fa0779ea
[ "CC-BY-4.0" ]
null
null
null
code/generateElevationFile.py
etcluvic/sme.altm
ffdb51d380a6b8cd8073d5ef3bd6fd15fa0779ea
[ "CC-BY-4.0" ]
null
null
null
from bs4 import BeautifulSoup from datetime import datetime from lxml import etree import time import codecs import pickle import os def printSeparator(character, times): print(character * times) if __name__ == '__main__': doiPrefix = '10.7202' #erudit's doi prefix myTime = datetime.now().strftime('%Y-%m-%d_...
22.671053
89
0.663958
218
1,723
5.183486
0.490826
0.070796
0.055752
0.031858
0
0
0
0
0
0
0
0.029799
0.162507
1,723
75
90
22.973333
0.753292
0.03018
0
0.106383
0
0
0.194245
0.082134
0.021277
0
0
0
0
0
null
null
0
0.148936
null
null
0.340426
0
0
0
null
0
0
0
0
0
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
02c8b5302247d3f0de4a0fcfd8043adc64146600
1,564
py
Python
setup.py
nilp0inter/threadedprocess
0120d6e795782c9f527397490846cd214d9196e1
[ "PSF-2.0" ]
9
2018-03-21T22:19:10.000Z
2021-06-08T12:10:15.000Z
setup.py
nilp0inter/threadedprocess
0120d6e795782c9f527397490846cd214d9196e1
[ "PSF-2.0" ]
3
2019-09-18T19:57:28.000Z
2020-07-17T08:06:54.000Z
setup.py
nilp0inter/threadedprocess
0120d6e795782c9f527397490846cd214d9196e1
[ "PSF-2.0" ]
4
2018-03-24T23:10:38.000Z
2020-06-18T02:26:24.000Z
import os from setuptools import setup try: import concurrent.futures except ImportError: CONCURRENT_FUTURES_PRESENT = False else: CONCURRENT_FUTURES_PRESENT = True def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name="threadedprocess", version="0....
34
71
0.658568
160
1,564
6.35
0.56875
0.187008
0.246063
0.102362
0
0
0
0
0
0
0
0.013889
0.217391
1,564
45
72
34.755556
0.816176
0
0
0
0
0
0.535166
0.048593
0
0
0
0
0
1
0.025
false
0
0.1
0.025
0.15
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
02c90b77315d19cadcdffd4cbada1b9dd920626e
2,592
py
Python
coremltools/converters/mil/mil/passes/const_elimination.py
VadimLevin/coremltools
66c17b0fa040a0d8088d33590ab5c355478a9e5c
[ "BSD-3-Clause" ]
3
2018-10-02T17:23:01.000Z
2020-08-15T04:47:07.000Z
coremltools/converters/mil/mil/passes/const_elimination.py
holzschu/coremltools
5ece9069a1487d5083f00f56afe07832d88e3dfa
[ "BSD-3-Clause" ]
null
null
null
coremltools/converters/mil/mil/passes/const_elimination.py
holzschu/coremltools
5ece9069a1487d5083f00f56afe07832d88e3dfa
[ "BSD-3-Clause" ]
1
2021-05-07T15:38:20.000Z
2021-05-07T15:38:20.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2020, Apple Inc. All rights reserved. # # Use of this source code is governed by a BSD-3-clause license that can be # found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause import numpy as np from coremltools.converters.mil.mil import Builder as mb...
32
83
0.58179
341
2,592
4.255132
0.451613
0.02481
0.02481
0.037216
0.082702
0
0
0
0
0
0
0.012557
0.324074
2,592
80
84
32.4
0.815639
0.359182
0
0.051282
0
0
0.051298
0
0
0
0
0
0
1
0.076923
false
0.051282
0.076923
0
0.230769
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
02d235dc4031cc79fd9ab325030c238874738554
2,232
py
Python
epochCiCdApi/ita/viewsOperations.py
matsumoto-epoch/epoch
c4b1982e68aa8cb108e6ae9b1c0de489d40d4db5
[ "Apache-2.0" ]
null
null
null
epochCiCdApi/ita/viewsOperations.py
matsumoto-epoch/epoch
c4b1982e68aa8cb108e6ae9b1c0de489d40d4db5
[ "Apache-2.0" ]
null
null
null
epochCiCdApi/ita/viewsOperations.py
matsumoto-epoch/epoch
c4b1982e68aa8cb108e6ae9b1c0de489d40d4db5
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 NEC Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed...
28.987013
108
0.72043
297
2,232
5.255892
0.508418
0.038437
0.035874
0.043562
0
0
0
0
0
0
0
0.016757
0.171147
2,232
76
109
29.368421
0.827027
0.306004
0
0.045455
0
0
0.142202
0.02228
0
0
0
0
0
1
0.045455
false
0.045455
0.363636
0
0.477273
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
02d56efb28c0baac4d608dce2e0ed1e45b667e10
932
py
Python
src/service/uri_generator.py
HalbardHobby/git-LFS-for-Lambda
d19ba6fc4605d5dc2dba52acb4236c68787f8bde
[ "MIT" ]
null
null
null
src/service/uri_generator.py
HalbardHobby/git-LFS-for-Lambda
d19ba6fc4605d5dc2dba52acb4236c68787f8bde
[ "MIT" ]
null
null
null
src/service/uri_generator.py
HalbardHobby/git-LFS-for-Lambda
d19ba6fc4605d5dc2dba52acb4236c68787f8bde
[ "MIT" ]
null
null
null
"""Generates pre-signed uri's for blob handling.""" from boto3 import client import os s3_client = client('s3') def create_uri(repo_name, resource_oid, upload=False, expires_in=300): """Create a download uri for the given oid and repo.""" action = 'get_object' if upload: action = 'put_object' ...
31.066667
71
0.626609
122
932
4.565574
0.467213
0.057451
0.114901
0.136445
0.186715
0.10772
0.10772
0
0
0
0
0.015896
0.257511
932
29
72
32.137931
0.789017
0.149142
0
0
1
0
0.10296
0
0
0
0
0
0
1
0.105263
false
0
0.105263
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
02d7c80b9c168487db13fab6edd36bd30ed15c3d
4,919
py
Python
rnn/chatbot/chatbot.py
llichengtong/yx4
17de7a6257a9f0c38e12089b2d1947927ec54c90
[ "Apache-2.0" ]
128
2017-03-04T08:53:44.000Z
2020-06-05T11:19:16.000Z
rnn/chatbot/chatbot.py
github-jinwei/TensorFlowBook
17de7a6257a9f0c38e12089b2d1947927ec54c90
[ "Apache-2.0" ]
null
null
null
rnn/chatbot/chatbot.py
github-jinwei/TensorFlowBook
17de7a6257a9f0c38e12089b2d1947927ec54c90
[ "Apache-2.0" ]
120
2017-02-07T09:41:25.000Z
2022-03-17T00:57:59.000Z
# coding=utf8 import logging import os import random import re import numpy as np import tensorflow as tf from seq2seq_conversation_model import seq2seq_model from seq2seq_conversation_model import data_utils from seq2seq_conversation_model import tokenizer from seq2seq_conversation_model.seq2seq_conversation_model imp...
36.708955
98
0.645456
625
4,919
4.8608
0.328
0.026333
0.0395
0.036866
0.129032
0.084924
0
0
0
0
0
0.009101
0.262858
4,919
133
99
36.984962
0.828737
0.084163
0
0.052632
0
0
0.058292
0.005234
0
0
0
0
0
0
null
null
0
0.115789
null
null
0.010526
0
0
0
null
0
0
0
0
0
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
02d7c976dba252653f990cef7776c119996e55c4
5,986
py
Python
chip8_pygame_integration/config_test.py
Artoooooor/chip8
d5132348f3081aeb9af19814d8251084ae723379
[ "MIT" ]
null
null
null
chip8_pygame_integration/config_test.py
Artoooooor/chip8
d5132348f3081aeb9af19814d8251084ae723379
[ "MIT" ]
null
null
null
chip8_pygame_integration/config_test.py
Artoooooor/chip8
d5132348f3081aeb9af19814d8251084ae723379
[ "MIT" ]
null
null
null
import unittest import pygame from chip8_pygame_integration.config import get_config, KeyBind, to_text DEFAULT = [KeyBind(pygame.K_o, pygame.KMOD_CTRL, 'some_command')] class ConfigLoadTest(unittest.TestCase): def setUp(self): self.default = None def test_empty_pattern_returns_empty_array(self): ...
36.278788
77
0.664885
791
5,986
4.646018
0.132743
0.06966
0.072381
0.069388
0.602449
0.557551
0.542313
0.49415
0.472381
0.420136
0
0.011072
0.200301
5,986
164
78
36.5
0.756633
0
0
0.274194
0
0
0.051119
0
0
0
0
0
0.032258
1
0.274194
false
0
0.024194
0.008065
0.322581
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
02db29d58f9fcbf982055980d5e6b51e86d8c020
2,419
py
Python
Form-Filler.py
Zaidtech/AUTOMATION-SCRIPTS
88c83e1edca02b0b86f3de4981a5f27f398b4441
[ "MIT" ]
4
2020-11-04T13:25:48.000Z
2022-03-29T01:21:49.000Z
Form-Filler.py
Zaidtech/AUTOMATION-SCRIPTS
88c83e1edca02b0b86f3de4981a5f27f398b4441
[ "MIT" ]
null
null
null
Form-Filler.py
Zaidtech/AUTOMATION-SCRIPTS
88c83e1edca02b0b86f3de4981a5f27f398b4441
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ This script has been tested on various custom google forms and other various forms with few alteratios .. Google forms which does include the input type "token" attribute are found to be safer than those who don't. Any form contains various fields. 1. input text fields 2. radio 3. checkb...
27.804598
107
0.653162
345
2,419
4.530435
0.489855
0.051184
0.038388
0.034549
0.120282
0.099808
0.099808
0.071657
0.071657
0.071657
0
0.013362
0.22654
2,419
86
108
28.127907
0.82202
0.503514
0
0.263158
0
0
0.185532
0
0
0
0
0
0
1
0
false
0.052632
0.105263
0
0.105263
0.157895
0
0
0
null
0
0
0
0
0
0
0
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
02dbf3b5b09c9427c60b05103927121e020bab72
1,375
py
Python
controllers/main.py
dduarte-odoogap/odoo_jenkins
69bfcf088f75426c0e4b961a60b5c15a65b37979
[ "BSD-2-Clause" ]
5
2018-10-26T19:52:45.000Z
2021-11-04T03:59:22.000Z
controllers/main.py
dduarte-odoogap/odoo_jenkins
69bfcf088f75426c0e4b961a60b5c15a65b37979
[ "BSD-2-Clause" ]
null
null
null
controllers/main.py
dduarte-odoogap/odoo_jenkins
69bfcf088f75426c0e4b961a60b5c15a65b37979
[ "BSD-2-Clause" ]
6
2017-11-10T07:15:40.000Z
2021-02-24T10:55:15.000Z
# -*- coding: utf-8 -*- from odoo import http from odoo.http import request import jenkins class JenkinsController(http.Controller): @http.route('/web/jenkins/jobs', type='json', auth='user') def jenkins_get_jobs(self, **kw): params = request.env['ir.config_parameter'] jenkins_url = params....
33.536585
95
0.611636
160
1,375
5.06875
0.30625
0.061652
0.048089
0.066584
0.348952
0.348952
0.184957
0.184957
0.184957
0.184957
0
0.00097
0.250182
1,375
40
96
34.375
0.785645
0.015273
0
0.064516
0
0
0.128793
0
0
0
0
0
0
1
0.064516
false
0.129032
0.096774
0
0.258065
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
02f4fc8fa710340e57d5ba18128bb096623e09a7
871
py
Python
start_palpeo.py
RealDebian/Palpeo
23be184831a3c529cf933277944e7aacda08cdad
[ "MIT" ]
null
null
null
start_palpeo.py
RealDebian/Palpeo
23be184831a3c529cf933277944e7aacda08cdad
[ "MIT" ]
null
null
null
start_palpeo.py
RealDebian/Palpeo
23be184831a3c529cf933277944e7aacda08cdad
[ "MIT" ]
null
null
null
from link_extractor import run_enumeration from colorama import Fore from utils.headers import HEADERS from time import sleep import requests import database import re import json from bs4 import BeautifulSoup import colorama print(Fore.GREEN + '-----------------------------------' + Fore.RESET, Fore.RED) print('尸闩㇄尸㠪...
24.194444
80
0.624569
108
871
4.981481
0.481481
0.078067
0.052045
0.066915
0.085502
0
0
0
0
0
0
0.013908
0.174512
871
35
81
24.885714
0.732962
0
0
0.129032
0
0
0.263218
0.08046
0
0
0
0
0
1
0
false
0
0.322581
0
0.322581
0.290323
0
0
0
null
0
0
0
0
0
0
0
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
02f6d5351b6d28ac6a5a83e1bce309686a5a07fc
833
py
Python
src/backend/backend/shopit/migrations/0024_auto_20201028_2008.py
tejpratap545/E-Commerce-Application
c1aada5d86f231e5acd6ba4c6c9b88ff4b351f7a
[ "MIT" ]
null
null
null
src/backend/backend/shopit/migrations/0024_auto_20201028_2008.py
tejpratap545/E-Commerce-Application
c1aada5d86f231e5acd6ba4c6c9b88ff4b351f7a
[ "MIT" ]
7
2021-08-13T23:05:47.000Z
2022-02-27T10:23:46.000Z
src/backend/backend/shopit/migrations/0024_auto_20201028_2008.py
tejpratap545/E-Commerce-Application
c1aada5d86f231e5acd6ba4c6c9b88ff4b351f7a
[ "MIT" ]
null
null
null
# Generated by Django 3.1.2 on 2020-10-28 14:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('shopit', '0023_availablefilterselectoptions_value'), ] operations = [ migrations.RemoveField( model_name='productinfo', ...
26.03125
80
0.57503
75
833
6.293333
0.573333
0.076271
0.110169
0.127119
0.351695
0.351695
0
0
0
0
0
0.036649
0.312125
833
31
81
26.870968
0.787086
0.054022
0
0.56
1
0
0.143766
0.049618
0
0
0
0
0
1
0
false
0
0.04
0
0.16
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
02f79e3624d623adc544da46b4a6554d6c1bfa3b
849
py
Python
fileo/accounts/forms.py
Tiqur/Fileo
0c663f3bb28985d2d7b4cb475a95b1592cfb2013
[ "MIT" ]
null
null
null
fileo/accounts/forms.py
Tiqur/Fileo
0c663f3bb28985d2d7b4cb475a95b1592cfb2013
[ "MIT" ]
null
null
null
fileo/accounts/forms.py
Tiqur/Fileo
0c663f3bb28985d2d7b4cb475a95b1592cfb2013
[ "MIT" ]
null
null
null
from django import forms from django.contrib.auth import authenticate from django.contrib.auth.forms import UserCreationForm from .models import FileoUser User = FileoUser() class UserLoginForm(forms.ModelForm): password = forms.CharField(label='Password', widget=forms.PasswordInput) class Meta: mode...
29.275862
82
0.69258
92
849
6.347826
0.521739
0.05137
0.058219
0.071918
0.116438
0.116438
0
0
0
0
0
0.005926
0.204947
849
28
83
30.321429
0.859259
0
0
0.2
0
0
0.121319
0
0
0
0
0
0
1
0.05
false
0.25
0.2
0
0.55
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
02f8318053016bd127b7feb86e89f4c704276dce
465
py
Python
kagi/upper/west/_capital/four.py
jedhsu/kagi
1301f7fc437bb445118b25ca92324dbd58d6ad2d
[ "MIT" ]
null
null
null
kagi/upper/west/_capital/four.py
jedhsu/kagi
1301f7fc437bb445118b25ca92324dbd58d6ad2d
[ "MIT" ]
null
null
null
kagi/upper/west/_capital/four.py
jedhsu/kagi
1301f7fc437bb445118b25ca92324dbd58d6ad2d
[ "MIT" ]
null
null
null
""" *Upper-West Capital 4* ⠨ The upper-west capital four gi. """ from dataclasses import dataclass from ....._gi import Gi from ....capital import CapitalGi from ...._gi import StrismicGi from ....west import WesternGi from ...._number import FourGi from ..._gi import UpperGi __all__ = ["UpperWestCapital4...
15
33
0.668817
52
465
5.846154
0.442308
0.059211
0.118421
0
0
0
0
0
0
0
0
0.019126
0.212903
465
30
34
15.5
0.808743
0.126882
0
0
0
0
0.058974
0
0
0
0
0
0
1
0
false
0
0.388889
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
02f8b65e136d03ceacb32c0a454b3d2ad573a0cb
191
py
Python
acmicpc/5612.py
juseongkr/BOJ
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
7
2020-02-03T10:00:19.000Z
2021-11-16T11:03:57.000Z
acmicpc/5612.py
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2021-01-03T06:58:24.000Z
2021-01-03T06:58:24.000Z
acmicpc/5612.py
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2020-01-22T14:34:03.000Z
2020-01-22T14:34:03.000Z
n = int(input()) m = int(input()) r = m for i in range(n): a, b = map(int, input().split()) m += a m -= b if m < 0: print(0) exit() r = max(r, m) print(r)
14.692308
36
0.418848
35
191
2.285714
0.514286
0.3
0
0
0
0
0
0
0
0
0
0.016667
0.371728
191
12
37
15.916667
0.65
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
02f942ae72f558610fdbd2e0d719bb8a1bc37d6c
1,849
py
Python
users/models.py
uoe-compsci-grp30/campusgame
d2d7ba99210f352a7b45a1db06cea0a09e3b8c31
[ "MIT" ]
null
null
null
users/models.py
uoe-compsci-grp30/campusgame
d2d7ba99210f352a7b45a1db06cea0a09e3b8c31
[ "MIT" ]
null
null
null
users/models.py
uoe-compsci-grp30/campusgame
d2d7ba99210f352a7b45a1db06cea0a09e3b8c31
[ "MIT" ]
null
null
null
import uuid from django.contrib.auth.models import AbstractUser from django.db import models """ The user model that represents a user participating in the game. Implemented using the built-in Django user model: AbstractUser. """ class User(AbstractUser): """ The User class that represents a user that has crea...
52.828571
449
0.760411
277
1,849
5.043321
0.31769
0.055118
0.068719
0.064424
0.245526
0.204009
0.178955
0.120258
0.075877
0
0
0.001318
0.179557
1,849
34
450
54.382353
0.919578
0.538129
0
0
0
0
0.029806
0
0
0
0
0
0
1
0
false
0
0.230769
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
02fcd2548a49becf32a01085ecf16e34635af225
32,807
py
Python
train.py
EdwardLeeMacau/PFFNet
dfa6e45062627ce6ab7a1b1a37bada5cccae7167
[ "MIT" ]
null
null
null
train.py
EdwardLeeMacau/PFFNet
dfa6e45062627ce6ab7a1b1a37bada5cccae7167
[ "MIT" ]
null
null
null
train.py
EdwardLeeMacau/PFFNet
dfa6e45062627ce6ab7a1b1a37bada5cccae7167
[ "MIT" ]
null
null
null
""" FileName [ train.py ] PackageName [ PFFNet ] Synopsis [ Train the model ] Usage: >>> python train.py --normalized --cuda """ import argparse import os import shutil from datetime import date import matplotlib import numpy as np import pandas as pd import torch import torchvision import torchvi...
33.648205
140
0.572073
3,648
32,807
5.055921
0.124726
0.007862
0.010627
0.013663
0.645088
0.6099
0.58111
0.578562
0.548146
0.532422
0
0.013145
0.278843
32,807
974
141
33.682752
0.766431
0.113787
0
0.541744
0
0.003711
0.097176
0
0
0
0
0.005133
0
0
null
null
0
0.050093
null
null
0.053803
0
0
0
null
0
0
0
0
0
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
02fe97635bdf12eb93fa73109a7854ea036f69bf
546
py
Python
python_high/chapter_3/3.1.py
Rolling-meatballs/deepshare
47c1e599c915ccd0a123fa9ab26e1f20738252ef
[ "MIT" ]
null
null
null
python_high/chapter_3/3.1.py
Rolling-meatballs/deepshare
47c1e599c915ccd0a123fa9ab26e1f20738252ef
[ "MIT" ]
null
null
null
python_high/chapter_3/3.1.py
Rolling-meatballs/deepshare
47c1e599c915ccd0a123fa9ab26e1f20738252ef
[ "MIT" ]
null
null
null
name = " alberT" one = name.rsplit() print("one:", one) two = name.index('al', 0) print("two:", two) three = name.index('T', -1) print("three:", three) four = name.replace('l', 'p') print("four:", four) five = name.split('l') print("five:", five) six = name.upper() print("six:", six) seven = name.lower() print("...
14.756757
29
0.598901
82
546
3.987805
0.365854
0.082569
0.061162
0
0
0
0
0
0
0
0
0.012848
0.144689
546
37
30
14.756757
0.687366
0
0
0
0
0
0.140768
0
0
0
0
0
0
1
0
false
0
0
0
0
0.48
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
02feb42fde4ca975bc72c9c78d9e0931c5f1d4a2
384
py
Python
src/views/simplepage/models.py
svenvandescheur/svenv.nl-new
c448714853d96ad31d26c825d8b35c4890be40a1
[ "MIT" ]
null
null
null
src/views/simplepage/models.py
svenvandescheur/svenv.nl-new
c448714853d96ad31d26c825d8b35c4890be40a1
[ "MIT" ]
null
null
null
src/views/simplepage/models.py
svenvandescheur/svenv.nl-new
c448714853d96ad31d26c825d8b35c4890be40a1
[ "MIT" ]
null
null
null
from cms.extensions import PageExtension from cms.extensions.extension_pool import extension_pool from django.utils.translation import ugettext as _ from filer.fields.image import FilerImageField class SimplePageExtension(PageExtension): """ A generic website page. """ image = FilerImageField(verbose_...
25.6
56
0.796875
42
384
7.142857
0.595238
0.13
0.113333
0
0
0
0
0
0
0
0
0
0.130208
384
14
57
27.428571
0.898204
0.059896
0
0
0
0
0.014493
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f302cba30df57e2c4fa0a9201628774e666043a8
3,021
py
Python
Ideas/cricket-umpire-assistance-master/visualization/test2.py
hsspratt/Nott-Hawkeye1
178f4f0fef62e8699f6057d9d50adfd61a851047
[ "MIT" ]
null
null
null
Ideas/cricket-umpire-assistance-master/visualization/test2.py
hsspratt/Nott-Hawkeye1
178f4f0fef62e8699f6057d9d50adfd61a851047
[ "MIT" ]
1
2021-11-11T22:15:36.000Z
2021-11-11T22:15:36.000Z
Ideas/cricket-umpire-assistance-master/visualization/test2.py
hsspratt/Nott-Hawkeye1
178f4f0fef62e8699f6057d9d50adfd61a851047
[ "MIT" ]
null
null
null
### INITIALIZE VPYTHON # ----------------------------------------------------------------------- from __future__ import division from visual import * from physutil import * from visual.graph import * ### SETUP ELEMENTS FOR GRAPHING, SIMULATION, VISUALIZATION, TIMING # -------------------------------------------------...
32.138298
98
0.589209
411
3,021
4.321168
0.428224
0.036036
0.028153
0.045045
0.023649
0.023649
0
0
0
0
0
0.031967
0.19232
3,021
94
99
32.138298
0.695902
0.567693
0
0
0
0
0.029553
0
0
0
0
0
0
0
null
null
0
0.102564
null
null
0.051282
0
0
0
null
0
0
0
0
0
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
f3041c623ca233066149adf01d25baef21dbb909
727
py
Python
parking_systems/models.py
InaraShalfei/parking_system
f1b326f12037808ab80e3b1d6b305235ba59a0db
[ "MIT" ]
null
null
null
parking_systems/models.py
InaraShalfei/parking_system
f1b326f12037808ab80e3b1d6b305235ba59a0db
[ "MIT" ]
null
null
null
parking_systems/models.py
InaraShalfei/parking_system
f1b326f12037808ab80e3b1d6b305235ba59a0db
[ "MIT" ]
null
null
null
from django.db import models class Parking(models.Model): def __str__(self): return f'Парковочное место №{self.id}' class Reservation(models.Model): parking_space = models.ForeignKey(Parking, on_delete=models.CASCADE, related_name='reservations', verbose_name='...
33.045455
119
0.671252
90
727
5.255556
0.544444
0.069767
0.042283
0.12685
0.164905
0.164905
0
0
0
0
0
0
0.207703
727
21
120
34.619048
0.814236
0
0
0.142857
0
0.071429
0.314993
0.096286
0
0
0
0
0
1
0.142857
false
0
0.071429
0.071429
0.785714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f30640fd7966c16ad8a70aa7a32537803f35f977
3,172
py
Python
src/dummy/toga_dummy/widgets/canvas.py
Donyme/toga
2647c7dc5db248025847e3a60b115ff51d4a0d4a
[ "BSD-3-Clause" ]
null
null
null
src/dummy/toga_dummy/widgets/canvas.py
Donyme/toga
2647c7dc5db248025847e3a60b115ff51d4a0d4a
[ "BSD-3-Clause" ]
null
null
null
src/dummy/toga_dummy/widgets/canvas.py
Donyme/toga
2647c7dc5db248025847e3a60b115ff51d4a0d4a
[ "BSD-3-Clause" ]
null
null
null
import re from .base import Widget class Canvas(Widget): def create(self): self._action('create Canvas') def set_on_draw(self, handler): self._set_value('on_draw', handler) def set_context(self, context): self._set_value('context', context) def line_width(self, width=2.0): ...
31.72
165
0.573455
430
3,172
4.090698
0.237209
0.108016
0.01535
0.020466
0.212621
0.109153
0.078454
0
0
0
0
0.00962
0.279004
3,172
99
166
32.040404
0.75951
0.067465
0
0.046154
0
0.015385
0.10339
0
0
0
0
0
0
1
0.353846
false
0.015385
0.030769
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
f309247f76f7d18c28aea4b2f1973377cd29af7f
5,470
py
Python
Objected-Oriented Systems/Python_OOP_SDA/Task1.py
syedwaleedhyder/Freelance_Projects
7e2b85fc968850fc018014667b5ce9af0f00cb09
[ "MIT" ]
1
2020-08-13T17:26:13.000Z
2020-08-13T17:26:13.000Z
Objected-Oriented Systems/Python_OOP_SDA/Task1.py
syedwaleedhyder/Freelance_Projects
7e2b85fc968850fc018014667b5ce9af0f00cb09
[ "MIT" ]
null
null
null
Objected-Oriented Systems/Python_OOP_SDA/Task1.py
syedwaleedhyder/Freelance_Projects
7e2b85fc968850fc018014667b5ce9af0f00cb09
[ "MIT" ]
null
null
null
from abc import ABCMeta, abstractmethod, abstractproperty from datetime import datetime, date class Item(metaclass=ABCMeta): def __init__(self, code, name, quantity, cost, offer): self.item_code=code self.item_name=name self.quantity_on_hand=quantity self.cost_price=cost sel...
31.988304
233
0.609506
696
5,470
4.58046
0.198276
0.0367
0.052698
0.033877
0.461731
0.361669
0.347867
0.347867
0.292033
0.242472
0
0.016995
0.25777
5,470
171
234
31.988304
0.768227
0.026143
0
0.436508
0
0
0.064949
0
0
0
0
0
0
1
0.222222
false
0.039683
0.015873
0.055556
0.436508
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
f30949586393ae32e93e9cb38a2df996aa7486fd
1,116
py
Python
compose/production/mongodb_backup/scripts/list_dbs.py
IMTEK-Simulation/mongodb-backup-container-image
b0e04c03cab9321d6b4277ee88412938fec95726
[ "MIT" ]
null
null
null
compose/production/mongodb_backup/scripts/list_dbs.py
IMTEK-Simulation/mongodb-backup-container-image
b0e04c03cab9321d6b4277ee88412938fec95726
[ "MIT" ]
null
null
null
compose/production/mongodb_backup/scripts/list_dbs.py
IMTEK-Simulation/mongodb-backup-container-image
b0e04c03cab9321d6b4277ee88412938fec95726
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 host = 'mongodb' port = 27017 ssl_ca_cert='/run/secrets/rootCA.pem' ssl_certfile='/run/secrets/tls_cert.pem' ssl_keyfile='/run/secrets/tls_key.pem' # don't turn these signal into exceptions, just die. # necessary for integrating into bash script pipelines seamlessly. import signal signal.signal(...
27.9
74
0.750896
159
1,116
5.157233
0.54717
0.060976
0.065854
0.043902
0
0
0
0
0
0
0
0.00627
0.142473
1,116
39
75
28.615385
0.850575
0.31362
0
0
0
0
0.162055
0.150198
0
0
0
0
0
1
0
false
0.115385
0.076923
0
0.076923
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
1
0
0
0
0
0
1
f3133d707d13f1d41040304efdb1e48fd46e0e3f
4,270
py
Python
src/piminder_service/resources/db_autoinit.py
ZAdamMac/pyminder
059f57cb7cea4f517f77b1bbf391ce99f25d83bb
[ "MIT" ]
null
null
null
src/piminder_service/resources/db_autoinit.py
ZAdamMac/pyminder
059f57cb7cea4f517f77b1bbf391ce99f25d83bb
[ "MIT" ]
3
2021-05-05T21:08:24.000Z
2021-06-23T10:47:40.000Z
src/piminder_service/resources/db_autoinit.py
ZAdamMac/pyminder
059f57cb7cea4f517f77b1bbf391ce99f25d83bb
[ "MIT" ]
null
null
null
""" This script is a component of Piminder's back-end controller. Specifically, it is a helper utility to be used to intialize a database for the user and message tables. Author: Zac Adam-MacEwen (zadammac@kenshosec.com) An Arcana Labs utility. Produced under license. Full license and documentation to be found at: htt...
31.865672
111
0.646136
532
4,270
5.078947
0.370301
0.026647
0.031458
0.048113
0.129534
0.112509
0.088823
0
0
0
0
0.010986
0.253864
4,270
133
112
32.105263
0.8371
0.230211
0
0.25641
0
0.012821
0.251733
0.016782
0
0
0
0
0
1
0.051282
false
0.115385
0.051282
0
0.115385
0.192308
0
0
0
null
0
0
0
0
0
0
0
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
f3159c44193bd89a772b6f2bca9dbffb2ffaa8bc
5,933
py
Python
test/search/capacity.py
sbutler/spotseeker_server
02bd2d646eab9f26ddbe8536b30e391359796c9c
[ "Apache-2.0" ]
null
null
null
test/search/capacity.py
sbutler/spotseeker_server
02bd2d646eab9f26ddbe8536b30e391359796c9c
[ "Apache-2.0" ]
null
null
null
test/search/capacity.py
sbutler/spotseeker_server
02bd2d646eab9f26ddbe8536b30e391359796c9c
[ "Apache-2.0" ]
null
null
null
""" Copyright 2012, 2013 UW Information Technology, University of Washington 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 r...
36.398773
98
0.532783
697
5,933
4.430416
0.213773
0.129534
0.051813
0.062176
0.599741
0.552785
0.552785
0.543394
0.533355
0.533355
0
0.035157
0.36238
5,933
162
99
36.623457
0.781126
0.110905
0
0.739837
0
0
0.095011
0.013764
0
0
0
0
0.203252
1
0.00813
false
0
0.073171
0
0.089431
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f31ce1a1719984d1cf324a95ea4f226d430436e1
361
py
Python
DEQModel/utils/debug.py
JunLi-Galios/deq
80eb6b598357e8e01ad419126465fa3ed53b12c7
[ "MIT" ]
548
2019-09-05T04:25:21.000Z
2022-03-22T01:49:35.000Z
DEQModel/utils/debug.py
JunLi-Galios/deq
80eb6b598357e8e01ad419126465fa3ed53b12c7
[ "MIT" ]
21
2019-10-04T16:36:05.000Z
2022-03-24T02:20:28.000Z
DEQModel/utils/debug.py
JunLi-Galios/deq
80eb6b598357e8e01ad419126465fa3ed53b12c7
[ "MIT" ]
75
2019-09-05T22:40:32.000Z
2022-03-31T09:40:44.000Z
import torch from torch.autograd import Function class Identity(Function): @staticmethod def forward(ctx, x, name): ctx.name = name return x.clone() def backward(ctx, grad): import pydevd pydevd.settrace(suspend=False, trace_only_current_thread=True) grad_temp = gr...
24.066667
70
0.65928
45
361
5.177778
0.622222
0.06867
0
0
0
0
0
0
0
0
0
0
0.257618
361
15
71
24.066667
0.869403
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.25
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
0
0
1
0
0
1
f327633efe0ce2c9e557f60f7f82ada184c4948d
576
py
Python
bottomline/blweb/migrations/0012_vehicleconfig_color.py
mcm219/BottomLine
db82eef403c79bffa3864c4db6bc336632abaca5
[ "MIT" ]
null
null
null
bottomline/blweb/migrations/0012_vehicleconfig_color.py
mcm219/BottomLine
db82eef403c79bffa3864c4db6bc336632abaca5
[ "MIT" ]
1
2021-06-14T02:20:40.000Z
2021-06-14T02:20:40.000Z
bottomline/blweb/migrations/0012_vehicleconfig_color.py
mcm219/BottomLine
db82eef403c79bffa3864c4db6bc336632abaca5
[ "MIT" ]
null
null
null
# Generated by Django 3.2.2 on 2021-07-10 03:16 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('blweb', '0011_vehiclecolor'), ] operations = [ migrations.AddField( model_name='vehicleconfig',...
28.8
211
0.663194
69
576
5.463768
0.681159
0.06366
0.074271
0.116711
0
0
0
0
0
0
0
0.042035
0.215278
576
19
212
30.315789
0.792035
0.078125
0
0
1
0
0.179584
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
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
b823df535990bd76d900f1381be1d7cc948408cf
11,634
py
Python
src/acs_3dpsf.py
davidharvey1986/rrg
26b4658f14279af21af1a61d57e9936daf315a71
[ "MIT" ]
2
2019-11-18T12:51:09.000Z
2019-12-11T03:13:51.000Z
src/acs_3dpsf.py
davidharvey1986/rrg
26b4658f14279af21af1a61d57e9936daf315a71
[ "MIT" ]
5
2017-06-09T10:06:27.000Z
2019-07-19T11:28:18.000Z
src/acs_3dpsf.py
davidharvey1986/rrg
26b4658f14279af21af1a61d57e9936daf315a71
[ "MIT" ]
2
2017-07-19T15:48:33.000Z
2017-08-09T16:07:20.000Z
import numpy as np from . import acs_map_xy as acs_map def acs_3dpsf_basisfunctions( degree, x, y, focus ): # Generate relevant basis functions n_stars=np.max( np.array([len(x),len(y),len(focus)])) basis_function_order=np.zeros((1,3)) # All zeros for k in range(degree[2]+1): for j in range(...
39.979381
122
0.565068
1,617
11,634
3.760049
0.118738
0.083224
0.080592
0.02352
0.57023
0.460197
0.286513
0.222697
0.159539
0.159539
0
0.026493
0.260272
11,634
290
123
40.117241
0.679991
0.11389
0
0.096774
1
0
0.026172
0
0
0
0
0
0
1
0.043011
false
0
0.010753
0.010753
0.096774
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b826697289acc6bb7f13171d32f3b15f39b8d6bc
411
py
Python
mundo-1/ex-014.py
guilhermesm28/python-curso-em-video
50ab4e76b1903e62d4daa579699c5908329b26c8
[ "MIT" ]
null
null
null
mundo-1/ex-014.py
guilhermesm28/python-curso-em-video
50ab4e76b1903e62d4daa579699c5908329b26c8
[ "MIT" ]
null
null
null
mundo-1/ex-014.py
guilhermesm28/python-curso-em-video
50ab4e76b1903e62d4daa579699c5908329b26c8
[ "MIT" ]
null
null
null
# Escreva um programa que converta uma temperatura digitando em graus Celsius e converta para graus Fahrenheit. print('-' * 100) print('{: ^100}'.format('EXERCÍCIO 014 - CONVERSOR DE TEMPERATURAS')) print('-' * 100) c = float(input('Informe a temperatura em ºC: ')) f = ((9 * c) / 5) + 32 print(f'A temperatura de {c:...
27.4
111
0.6691
61
411
4.508197
0.622951
0.116364
0
0
0
0
0
0
0
0
0
0.06087
0.160584
411
14
112
29.357143
0.736232
0.265207
0
0.375
0
0
0.533333
0
0
0
0
0
0
1
0
false
0
0
0
0
0.625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
b82ba735b06701323afbbc1adb2108b231b98638
1,647
py
Python
CxMetrics/calcMetrics.py
Danielhiversen/pyCustusx
5a7fca51d885ad30f4db46ab725485d86fb2d17a
[ "MIT" ]
null
null
null
CxMetrics/calcMetrics.py
Danielhiversen/pyCustusx
5a7fca51d885ad30f4db46ab725485d86fb2d17a
[ "MIT" ]
null
null
null
CxMetrics/calcMetrics.py
Danielhiversen/pyCustusx
5a7fca51d885ad30f4db46ab725485d86fb2d17a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sat Oct 24 11:39:42 2015 @author: dahoiv """ import numpy as np def loadMetrics(filepath): mr_points=dict() us_points=dict() with open(filepath, 'r') as file : for line in file.readlines(): line = line.translate(None, '"') ...
32.294118
82
0.571342
240
1,647
3.7375
0.329167
0.089186
0.026756
0.022297
0.316611
0.285396
0.205128
0.205128
0.205128
0.205128
0
0.049414
0.275046
1,647
51
83
32.294118
0.701843
0.01275
0
0.054054
0
0
0.122045
0.084345
0
0
0
0
0
0
null
null
0
0.027027
null
null
0.108108
0
0
0
null
0
0
0
0
0
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
b842ca4df0f85a27ac428ca98c508bc0fd8473bb
379
py
Python
pages/page1.py
kalimuthu123/dash-app
90bf4c570abb1770ea0f082989e8f97d62b98346
[ "MIT" ]
null
null
null
pages/page1.py
kalimuthu123/dash-app
90bf4c570abb1770ea0f082989e8f97d62b98346
[ "MIT" ]
null
null
null
pages/page1.py
kalimuthu123/dash-app
90bf4c570abb1770ea0f082989e8f97d62b98346
[ "MIT" ]
null
null
null
import dash_html_components as html from utils import Header def create_layout(app): # Page layouts return html.Div( [ html.Div([Header(app)]), # page 1 # add your UI here, and callbacks go at the bottom of app.py # assets and .js go in assets folder ...
25.266667
72
0.564644
52
379
4.057692
0.711538
0.066351
0
0
0
0
0
0
0
0
0
0.004184
0.369393
379
15
73
25.266667
0.878661
0.382586
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.25
0.125
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
b845201c7741d5e90f7173c09fe9315087e66057
2,046
py
Python
svca_limix/limix/core/covar/test/test_categorical.py
DenisSch/svca
bd029c120ca8310f43311253e4d7ce19bc08350c
[ "Apache-2.0" ]
65
2015-01-20T20:46:26.000Z
2021-06-27T14:40:35.000Z
svca_limix/limix/core/covar/test/test_categorical.py
DenisSch/svca
bd029c120ca8310f43311253e4d7ce19bc08350c
[ "Apache-2.0" ]
29
2015-02-01T22:35:17.000Z
2017-08-07T08:18:23.000Z
svca_limix/limix/core/covar/test/test_categorical.py
DenisSch/svca
bd029c120ca8310f43311253e4d7ce19bc08350c
[ "Apache-2.0" ]
35
2015-02-01T17:26:50.000Z
2019-09-13T07:06:16.000Z
"""LMM testing code""" import unittest import scipy as sp import numpy as np from limix.core.covar import CategoricalCov from limix.utils.check_grad import mcheck_grad class TestCategoricalLowRank(unittest.TestCase): """test class for CategoricalCov cov""" def setUp(self): sp.random.seed(1) sel...
26.921053
62
0.580645
267
2,046
4.348315
0.273408
0.086133
0.072351
0.024117
0.753661
0.668389
0.552972
0.552972
0.552972
0.552972
0
0.012952
0.282991
2,046
75
63
27.28
0.778459
0.205279
0
0.755556
0
0
0.0225
0
0
0
0
0
0.044444
1
0.177778
false
0
0.111111
0
0.422222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b8493d2511af44620ab30010ea879f211db8a17b
11,878
py
Python
modules/administrator.py
Gaeta/Delta
c76e149d0c17e025fe2648964e2512440fc0b4c7
[ "MIT" ]
1
2021-07-04T10:34:11.000Z
2021-07-04T10:34:11.000Z
modules/administrator.py
Gaeta/Delta
c76e149d0c17e025fe2648964e2512440fc0b4c7
[ "MIT" ]
null
null
null
modules/administrator.py
Gaeta/Delta
c76e149d0c17e025fe2648964e2512440fc0b4c7
[ "MIT" ]
null
null
null
import discord, sqlite3, asyncio, utils, re from discord.ext import commands from datetime import datetime TIME_REGEX = re.compile("(?:(\d{1,5})\s?(h|hours|hrs|hour|hr|s|seconds|secs|sec|second|m|mins|minutes|minute|min|d|days|day))+?") TIME_DICT = {"h": 3600, "s": 1, "m": 60, "d": 86400} class TimeConverter...
46.217899
272
0.594124
1,441
11,878
4.822346
0.163775
0.033098
0.049647
0.059577
0.684271
0.662541
0.65808
0.657361
0.642682
0.624262
0
0.007165
0.283213
11,878
257
273
46.217899
0.80902
0
0
0.50838
0
0.022346
0.225157
0.035164
0
0
0
0
0
1
0.011173
false
0
0.01676
0
0.134078
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b84bfe3e24cf3fa88c7b90891f02c84318e2faae
7,473
py
Python
nextai_lib/inference.py
jav0927/nextai
9de0c338a41a3ce0297b95f625290fa814a83344
[ "Apache-2.0" ]
null
null
null
nextai_lib/inference.py
jav0927/nextai
9de0c338a41a3ce0297b95f625290fa814a83344
[ "Apache-2.0" ]
1
2021-09-28T05:33:17.000Z
2021-09-28T05:33:17.000Z
nextai_lib/inference.py
jav0927/nextai
9de0c338a41a3ce0297b95f625290fa814a83344
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: 02_inference.ipynb (unless otherwise specified). __all__ = ['device', 'pad_output', 'get_activ_offsets_mns'] # Cell #from fastai.vision.all import * from fastai import * from typing import * from torch import tensor, Tensor import torch import torchvision # Needed to i...
59.784
174
0.640707
1,072
7,473
4.277985
0.224813
0.027911
0.012211
0.017008
0.262102
0.170955
0.161797
0.13672
0.129089
0.11993
0
0.013033
0.281279
7,473
125
175
59.784
0.840812
0.459387
0
0
1
0
0.023895
0.005396
0
0
0
0
0
1
0.029412
false
0.014706
0.073529
0
0.147059
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b84c1c6e378f4059bee57b13f1d84bcf63b4ae74
2,141
py
Python
code.py
ashweta81/data-wrangling-pandas-code-along-practice
af49250a45c616f46d763990f2321f470d439916
[ "MIT" ]
null
null
null
code.py
ashweta81/data-wrangling-pandas-code-along-practice
af49250a45c616f46d763990f2321f470d439916
[ "MIT" ]
null
null
null
code.py
ashweta81/data-wrangling-pandas-code-along-practice
af49250a45c616f46d763990f2321f470d439916
[ "MIT" ]
null
null
null
# -------------- import pandas as pd import numpy as np # Read the data using pandas module. data=pd.read_csv(path) # Find the list of unique cities where matches were played print("The unique cities where matches were played are ", data.city.unique()) print('*'*80) # Find the columns which contains null values if a...
40.396226
109
0.712751
351
2,141
4.296296
0.353276
0.041777
0.029841
0.03183
0.225464
0.198939
0.079576
0.079576
0.043767
0
0
0.042276
0.105091
2,141
52
110
41.173077
0.744781
0.249416
0
0.25
0
0
0.272613
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.055556
0.527778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
b85115da00994686b76087d8e81c839619f86fa0
338
py
Python
scss/setup.py
Jawbone/pyScss
b1f483c253ec4aaceb3b8d4d630ca5528590e9b8
[ "MIT" ]
null
null
null
scss/setup.py
Jawbone/pyScss
b1f483c253ec4aaceb3b8d4d630ca5528590e9b8
[ "MIT" ]
null
null
null
scss/setup.py
Jawbone/pyScss
b1f483c253ec4aaceb3b8d4d630ca5528590e9b8
[ "MIT" ]
null
null
null
from distutils.core import setup, Extension setup(name='jawbonePyScss', version='1.1.8', description='jawbonePyScss', ext_modules=[ Extension( '_scss', sources=['src/_scss.c', 'src/block_locator.c', 'src/scanner.c'], libraries=['pcre'], optional=True ...
22.533333
76
0.553254
34
338
5.382353
0.735294
0.043716
0
0
0
0
0
0
0
0
0
0.012605
0.295858
338
14
77
24.142857
0.756303
0
0
0
0
0
0.245562
0
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
b85283b049e0e58e8a7c62f87369d905b8440e5f
3,101
py
Python
src/flagon/backends/redis_backend.py
ashcrow/flagon
50e6aa96854468a89399ef08573e4f814a002d26
[ "MIT" ]
18
2015-08-27T03:49:42.000Z
2021-05-12T21:48:17.000Z
src/flagon/backends/redis_backend.py
ashcrow/flagon
50e6aa96854468a89399ef08573e4f814a002d26
[ "MIT" ]
2
2016-07-18T13:48:46.000Z
2017-05-20T15:56:03.000Z
src/flagon/backends/redis_backend.py
ashcrow/flagon
50e6aa96854468a89399ef08573e4f814a002d26
[ "MIT" ]
5
2015-09-20T08:46:01.000Z
2021-06-10T03:41:04.000Z
# The MIT License (MIT) # # Copyright (c) 2014 Steve Milner # # 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, modi...
32.642105
78
0.639471
408
3,101
4.813725
0.397059
0.039206
0.022403
0.03055
0.232688
0.220468
0.181263
0.127291
0.075356
0.075356
0
0.003967
0.268301
3,101
94
79
32.989362
0.861613
0.525637
0
0.142857
0
0
0.054927
0
0
0
0
0.010638
0
1
0.178571
false
0
0.107143
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
b85adde254fd21cc8c4987b399dbf5487b008f43
445
py
Python
tests/test_example.py
jlane9/mockerena
a3fd1bd39af6269dc96846967b4bba47759bab41
[ "MIT" ]
1
2019-09-10T05:12:38.000Z
2019-09-10T05:12:38.000Z
tests/test_example.py
jlane9/mockerena
a3fd1bd39af6269dc96846967b4bba47759bab41
[ "MIT" ]
10
2019-09-10T16:14:35.000Z
2019-12-19T17:13:51.000Z
tests/test_example.py
jlane9/mockerena
a3fd1bd39af6269dc96846967b4bba47759bab41
[ "MIT" ]
2
2019-09-10T05:11:58.000Z
2020-04-29T17:59:47.000Z
"""test_example .. codeauthor:: John Lane <john.lane93@gmail.com> """ from flask import url_for from eve import Eve import pytest @pytest.mark.example def test_example(client: Eve): """Example test for reference :param Eve client: Mockerena app instance :raises: AssertionError """ res = clien...
19.347826
67
0.698876
60
445
5.066667
0.633333
0.072368
0
0
0
0
0
0
0
0
0
0.013736
0.182022
445
22
68
20.227273
0.821429
0.352809
0
0
0
0
0.10687
0
0
0
0
0
0.25
1
0.125
false
0
0.375
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b85e1207d6e09dc9d3b5821470f14d0eed8e2190
394
py
Python
subcontent/backup/python3_closure_nonlocal.py
fingerkc/fingerkc.github.io
0bfe5163ea28be3747756c8b6be64ad4f09b2fbf
[ "MIT" ]
2
2019-06-13T07:22:22.000Z
2019-11-23T03:55:21.000Z
subcontent/backup/python3_closure_nonlocal.py
fingerkc/fingerkc.github.io
0bfe5163ea28be3747756c8b6be64ad4f09b2fbf
[ "MIT" ]
1
2019-12-15T04:10:59.000Z
2019-12-15T04:10:59.000Z
subcontent/backup/python3_closure_nonlocal.py
fingerkc/fingerkc.github.io
0bfe5163ea28be3747756c8b6be64ad4f09b2fbf
[ "MIT" ]
1
2019-06-24T08:17:13.000Z
2019-06-24T08:17:13.000Z
#!/usr/bin/python3 ##python3 闭包 与 nonlocal #如果在一个内部函数里,对在外部作用域(但不是在全局作用域)的变量进行引用, #那么内部函数就被认为是闭包(closure) def A_(): var = 0 def clo_B(): var_b = 1 # 闭包的局部变量 var = 100 print(var) # 引用外部的var , 但是不会改变var 的值 return clo_B #clo_B是一个闭包 #nonlocal 关键字 def A_(): var = 0 def clo_B(): nonlocal var # nonlocal关...
15.153846
50
0.670051
57
394
4.508772
0.596491
0.046693
0.054475
0.062257
0.116732
0.116732
0.116732
0
0
0
0
0.029316
0.220812
394
25
51
15.76
0.807818
0.532995
0
0.5
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.416667
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
b86adccb9d42d87933b32bb27aaf25b01696f8a9
818
py
Python
django_for_startups/django_customizations/drf_customizations.py
Alex3917/django_for_startups
9dda54f5777247f7367a963d668f25e797c9adf1
[ "MIT" ]
102
2021-02-28T00:58:36.000Z
2022-03-30T09:29:34.000Z
django_for_startups/django_customizations/drf_customizations.py
Alex3917/django_for_startups
9dda54f5777247f7367a963d668f25e797c9adf1
[ "MIT" ]
1
2021-07-11T18:45:29.000Z
2021-07-11T18:45:29.000Z
django_for_startups/django_customizations/drf_customizations.py
Alex3917/django_for_startups
9dda54f5777247f7367a963d668f25e797c9adf1
[ "MIT" ]
16
2021-06-23T18:34:46.000Z
2022-03-30T09:27:34.000Z
# Standard Library imports # Core Django imports # Third-party imports from rest_framework import permissions from rest_framework.throttling import UserRateThrottle, AnonRateThrottle # App imports class BurstRateThrottle(UserRateThrottle): scope = 'burst' class SustainedRateThrottle(UserRateThrottle): sc...
24.787879
94
0.734719
94
818
6.351064
0.691489
0.026801
0.056951
0.046901
0
0
0
0
0
0
0
0.010687
0.199267
818
32
95
25.5625
0.900763
0.298289
0
0
0
0
0.053016
0
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.923077
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
b86ccfc144647099cbf5ac1e80b91ec536893766
171,517
py
Python
python/mapCells.py
claraya/meTRN
a4e4911b26a295e22d7309d5feda026db3325885
[ "MIT" ]
2
2019-11-18T22:54:13.000Z
2019-11-18T22:55:18.000Z
python/mapCells.py
claraya/meTRN
a4e4911b26a295e22d7309d5feda026db3325885
[ "MIT" ]
null
null
null
python/mapCells.py
claraya/meTRN
a4e4911b26a295e22d7309d5feda026db3325885
[ "MIT" ]
null
null
null
#!/usr/bin/env python # perform cellular-resolution expression analyses! import sys import time import optparse import general import hyper import numpy import math import pickle import pdb import metrn import modencode import itertools import os import re import datetime import calendar #import simplejson as json fr...
42.815027
384
0.692007
19,863
171,517
5.904848
0.066808
0.00752
0.007503
0.008415
0.522492
0.45147
0.407339
0.37535
0.332413
0.30883
0
0.004334
0.168654
171,517
4,006
385
42.815027
0.81822
0.113015
0
0.377008
0
0.001428
0.149897
0.00517
0
0
0
0
0
0
null
null
0
0.009282
null
null
0.157087
0
0
0
null
0
0
0
0
0
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
b86fc82da8dc94ff37ad24a384c231a1a48f881c
7,780
py
Python
IR_Extraction.py
Kazuhito00/yolo2_onnx
95c5e2063071d610ec8e98963f3639e0b25efb59
[ "MIT" ]
15
2018-07-02T19:11:09.000Z
2022-03-31T07:12:53.000Z
IR_Extraction.py
Kazuhito00/yolo2_onnx
95c5e2063071d610ec8e98963f3639e0b25efb59
[ "MIT" ]
null
null
null
IR_Extraction.py
Kazuhito00/yolo2_onnx
95c5e2063071d610ec8e98963f3639e0b25efb59
[ "MIT" ]
9
2018-05-08T01:58:53.000Z
2022-01-28T06:36:02.000Z
from Onnx import make_dir, OnnxImportExport import subprocess import pickle import os import numpy as np import time def generate_svg(modelName, marked_nodes=[]): """ generate SVG figure from existed ONNX file """ if marked_nodes ==[]: addfilenamestr = "" add_command_str = "" els...
35.525114
166
0.579434
1,018
7,780
4.223969
0.191552
0.029767
0.014651
0.022791
0.183256
0.111163
0.08907
0.061163
0.053488
0.018605
0
0.009959
0.277249
7,780
219
167
35.525114
0.754757
0.164396
0
0.131387
1
0.007299
0.117006
0.003366
0
0
0
0
0.007299
1
0.072993
false
0
0.051095
0
0.218978
0.094891
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
b870e2ce26d78dfa9746e5e88adb9ed1463fb9fc
944
py
Python
communications/migrations/0002_auto_20190902_1759.py
shriekdj/django-social-network
3654051e334996ee1b0b60f83c4f809a162ddf4a
[ "MIT" ]
368
2019-10-10T18:02:09.000Z
2022-03-31T14:31:39.000Z
communications/migrations/0002_auto_20190902_1759.py
shriekdj/django-social-network
3654051e334996ee1b0b60f83c4f809a162ddf4a
[ "MIT" ]
19
2020-05-09T19:10:29.000Z
2022-03-04T18:22:51.000Z
communications/migrations/0002_auto_20190902_1759.py
shriekdj/django-social-network
3654051e334996ee1b0b60f83c4f809a162ddf4a
[ "MIT" ]
140
2019-10-10T18:01:59.000Z
2022-03-14T09:37:39.000Z
# Generated by Django 2.2.4 on 2019-09-02 11:59 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('communications', '0001_i...
32.551724
153
0.665254
106
944
5.754717
0.443396
0.052459
0.068852
0.108197
0.544262
0.544262
0.419672
0.419672
0.419672
0.252459
0
0.028807
0.227754
944
28
154
33.714286
0.807956
0.047669
0
0.363636
1
0
0.091416
0
0
0
0
0
0
1
0
false
0
0.136364
0
0.272727
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
b871aaee0feb9ef1cdc6b28c76ed73a977fed9b3
1,126
py
Python
examples/sht2x.py
kungpfui/python-i2cmod
57d9cc8de372aa38526c3503ceec0d8924665c04
[ "MIT" ]
null
null
null
examples/sht2x.py
kungpfui/python-i2cmod
57d9cc8de372aa38526c3503ceec0d8924665c04
[ "MIT" ]
null
null
null
examples/sht2x.py
kungpfui/python-i2cmod
57d9cc8de372aa38526c3503ceec0d8924665c04
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Sensirion SHT2x humidity sensor. Drives SHT20, SHT21 and SHT25 humidity and temperature sensors. Sensirion `SHT2x Datasheets <https://www.sensirion.com/en/environmental-sensors/humidity-sensors/humidity-temperature-sensor-sht2x-digital-i2c-accurate/>` """ from i2cmo...
34.121212
154
0.579041
126
1,126
5.071429
0.587302
0.093897
0.056338
0.059468
0
0
0
0
0
0
0
0.065139
0.263766
1,126
32
155
35.1875
0.703257
0.262877
0
0
0
0
0.258222
0
0
0
0.019488
0
0
1
0.055556
true
0
0.055556
0
0.111111
0.388889
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
b87f562e23be6f95cf850092c0a407380227775e
975
py
Python
setup.py
remiolsen/anglerfish
5caabebf5864180e5552b3e40de3650fc5fcabd6
[ "MIT" ]
null
null
null
setup.py
remiolsen/anglerfish
5caabebf5864180e5552b3e40de3650fc5fcabd6
[ "MIT" ]
19
2019-10-07T11:14:54.000Z
2022-03-28T12:36:47.000Z
setup.py
remiolsen/anglerfish
5caabebf5864180e5552b3e40de3650fc5fcabd6
[ "MIT" ]
2
2019-05-28T14:15:26.000Z
2022-03-28T09:28:44.000Z
#!/usr/bin/env python from setuptools import setup, find_packages import sys, os setup( name='anglerfish', version='0.4.1', description='Anglerfish, a tool to demultiplex Illumina libraries from ONT data', author='Remi-Andre Olsen', author_email='remi-andre.olsen@scilifelab.se', url='https://gi...
29.545455
85
0.645128
101
975
6.178218
0.772277
0.076923
0.044872
0
0
0
0
0
0
0
0
0.005229
0.215385
975
32
86
30.46875
0.810458
0.020513
0
0
0
0
0.560797
0.054507
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
b8833e3d9f3a2008bcf62eb119ccbf510334b106
796
py
Python
670/main.py
pauvrepetit/leetcode
6ad093cf543addc4dfa52d72a8e3c0d05a23b771
[ "MIT" ]
null
null
null
670/main.py
pauvrepetit/leetcode
6ad093cf543addc4dfa52d72a8e3c0d05a23b771
[ "MIT" ]
null
null
null
670/main.py
pauvrepetit/leetcode
6ad093cf543addc4dfa52d72a8e3c0d05a23b771
[ "MIT" ]
null
null
null
# 670. 最大交换 # # 20200905 # huao class Solution: def maximumSwap(self, num: int) -> int: return int(self.maximumSwapStr(str(num))) def maximumSwapStr(self, num: str) -> str: s = list(num) if len(s) == 1: return num maxNum = '0' maxLoc = 0 for i in ran...
22.742857
56
0.5
97
796
4.103093
0.340206
0.130653
0.241206
0
0
0
0
0
0
0
0
0.068627
0.359296
796
34
57
23.411765
0.711765
0.028894
0
0
0
0
0.001302
0
0
0
0
0
0
1
0.076923
false
0
0
0.038462
0.269231
0.153846
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b8860c8f4169552c8561caf03f121aafce628fa6
333
py
Python
tests/resources/test_codegen/template.py
come2ry/atcoder-tools
d7ecf5c19427848e6c8f0aaa3c1a8af04c467f1b
[ "MIT" ]
313
2016-12-04T13:25:21.000Z
2022-03-31T09:46:15.000Z
tests/resources/test_codegen/template.py
come2ry/atcoder-tools
d7ecf5c19427848e6c8f0aaa3c1a8af04c467f1b
[ "MIT" ]
232
2016-12-02T22:55:20.000Z
2022-03-27T06:48:02.000Z
tests/resources/test_codegen/template.py
come2ry/atcoder-tools
d7ecf5c19427848e6c8f0aaa3c1a8af04c467f1b
[ "MIT" ]
90
2017-09-23T15:09:48.000Z
2022-03-17T03:13:40.000Z
#!/usr/bin/env python3 import sys def solve(${formal_arguments}): return def main(): def iterate_tokens(): for line in sys.stdin: for word in line.split(): yield word tokens = iterate_tokens() ${input_part} solve(${actual_arguments}) if __name__ == '__main__'...
16.65
37
0.588589
40
333
4.575
0.65
0.142077
0
0
0
0
0
0
0
0
0
0.004219
0.288288
333
19
38
17.526316
0.767932
0.063063
0
0
0
0
0.025723
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b88ad3cd16814edcf01716b7796117d85426c826
691
py
Python
salamander/mktcalendar.py
cclauss/statarb
a59366f70122c355fc93a2391362a3e8818a290e
[ "Apache-2.0" ]
51
2019-02-01T19:43:37.000Z
2022-03-16T09:07:03.000Z
salamander/mktcalendar.py
cclauss/statarb
a59366f70122c355fc93a2391362a3e8818a290e
[ "Apache-2.0" ]
2
2019-02-23T18:54:22.000Z
2019-11-09T01:30:32.000Z
salamander/mktcalendar.py
cclauss/statarb
a59366f70122c355fc93a2391362a3e8818a290e
[ "Apache-2.0" ]
35
2019-02-08T02:00:31.000Z
2022-03-01T23:17:00.000Z
from pandas.tseries.holiday import AbstractHolidayCalendar, Holiday, nearest_workday, \ USMartinLutherKingJr, USPresidentsDay, GoodFriday, USMemorialDay, \ USLaborDay, USThanksgivingDay from pandas.tseries.offsets import CustomBusinessDay class USTradingCalendar(AbstractHolidayCalendar): rules = [ ...
31.409091
88
0.691751
53
691
9
0.584906
0.041929
0.071279
0.243187
0
0
0
0
0
0
0
0.014925
0.224313
691
21
89
32.904762
0.875
0
0
0
0
0
0.055224
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1