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
6a29d2f85143afe8ae63f5fd3499c691c4db69b3
2,792
py
Python
test/test_parameter_set.py
crest-cassia/caravan_search_engine
5c3bd3176b44e8c3145ba67b4240678e18a1394e
[ "MIT" ]
null
null
null
test/test_parameter_set.py
crest-cassia/caravan_search_engine
5c3bd3176b44e8c3145ba67b4240678e18a1394e
[ "MIT" ]
null
null
null
test/test_parameter_set.py
crest-cassia/caravan_search_engine
5c3bd3176b44e8c3145ba67b4240678e18a1394e
[ "MIT" ]
null
null
null
import unittest from caravan.tables import Tables from caravan.parameter_set import ParameterSet class ParameterSetTest(unittest.TestCase): def setUp(self): self.t = Tables.get() self.t.clear() def test_ps(self): ps = ParameterSet(500, (2, 3, 4, 5)) self.assertEqual(ps.id, 500...
36.736842
71
0.609599
419
2,792
3.904535
0.147971
0.21088
0.102689
0.176039
0.678484
0.606968
0.510391
0.465159
0.465159
0.336797
0
0.065783
0.243195
2,792
75
72
37.226667
0.708471
0
0
0.285714
0
0
0.002865
0
0
0
0
0
0.396825
1
0.142857
false
0
0.047619
0
0.206349
0
0
0
0
null
1
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
2
6a3682a6dc34888138320be2d7fc9fac096c4fc7
1,962
py
Python
modules/star_se_SP.py
tbersez/Allmine
092fb1f5abcb4fd4e40b4a25386f05ecb2dea55b
[ "MIT" ]
5
2019-02-13T13:47:24.000Z
2019-04-27T18:27:03.000Z
modules/star_se_SP.py
tbersez/Allmine
092fb1f5abcb4fd4e40b4a25386f05ecb2dea55b
[ "MIT" ]
null
null
null
modules/star_se_SP.py
tbersez/Allmine
092fb1f5abcb4fd4e40b4a25386f05ecb2dea55b
[ "MIT" ]
null
null
null
# STAR aligner single end mode, second pass # # This module runs the second pass of the STAR aligner 2 path # strategy. The goal is to align reads taking in account splice # junction found in the fist pass.. # # Inputs: # - sample_trim.fastq.gz # - splicing junction files (.tab) # # Output: # ...
34.421053
73
0.5316
190
1,962
5.431579
0.6
0.02907
0.021318
0
0
0
0
0
0
0
0
0.014879
0.349134
1,962
56
74
35.035714
0.793265
0.234455
0
0
0
0
0.30236
0.146018
0
0
0
0
0
0
null
null
0.0625
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
6a37f82fb39de7a27271cf8fb84d1b4b6b384c9f
534
py
Python
src/xbot/util/path.py
xinyang178/xbot
dad1fc67062dc6fd21802899fd68f7eb91c96569
[ "MIT" ]
77
2020-10-27T12:19:01.000Z
2022-03-16T09:13:17.000Z
src/xbot/util/path.py
xinyang178/xbot
dad1fc67062dc6fd21802899fd68f7eb91c96569
[ "MIT" ]
7
2020-12-09T14:05:07.000Z
2021-04-28T02:37:05.000Z
src/xbot/util/path.py
xinyang178/xbot
dad1fc67062dc6fd21802899fd68f7eb91c96569
[ "MIT" ]
45
2020-09-24T07:28:32.000Z
2022-03-03T17:09:04.000Z
import os def get_root_path(): current_path = os.path.abspath(os.path.dirname(__file__)) root_path = os.path.dirname( os.path.dirname(os.path.dirname(os.path.dirname(current_path))) ) return os.path.join(root_path, "xbot") def get_config_path(): config_path = os.path.abspath(os.path.join...
24.272727
87
0.666667
78
534
4.230769
0.192308
0.236364
0.275758
0.154545
0.493939
0.493939
0.424242
0.424242
0.424242
0.266667
0
0
0.170412
534
21
88
25.428571
0.744921
0
0
0
0
0
0.050562
0
0
0
0
0
0
1
0.2
false
0
0.066667
0
0.466667
0
0
0
0
null
1
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
2
6a3b1a3262144d987829d88570c7ef9a23bfd4a5
53,568
py
Python
ansible/venv/lib/python2.7/site-packages/ansible/modules/network/fortios/fortios_system_virtual_wan_link.py
gvashchenkolineate/gvashchenkolineate_infra_trytravis
0fb18850afe0d8609693ba4b23f29c7cda17d97f
[ "MIT" ]
17
2017-06-07T23:15:01.000Z
2021-08-30T14:32:36.000Z
ansible/venv/lib/python2.7/site-packages/ansible/modules/network/fortios/fortios_system_virtual_wan_link.py
gvashchenkolineate/gvashchenkolineate_infra_trytravis
0fb18850afe0d8609693ba4b23f29c7cda17d97f
[ "MIT" ]
32
2018-10-09T04:13:42.000Z
2020-05-11T07:20:28.000Z
ansible/venv/lib/python2.7/site-packages/ansible/modules/network/fortios/fortios_system_virtual_wan_link.py
gvashchenkolineate/gvashchenkolineate_infra_trytravis
0fb18850afe0d8609693ba4b23f29c7cda17d97f
[ "MIT" ]
11
2018-10-09T00:14:53.000Z
2021-11-03T10:54:09.000Z
#!/usr/bin/python from __future__ import (absolute_import, division, print_function) # Copyright 2019 Fortinet, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the Lic...
45.823781
158
0.396823
3,858
53,568
5.392691
0.145153
0.041384
0.083345
0.041336
0.533045
0.449267
0.355684
0.292718
0.247104
0.199712
0
0.012819
0.523802
53,568
1,168
159
45.863014
0.802775
0.013348
0
0.504942
0
0.01168
0.731571
0.047486
0
0
0
0
0
1
0.006289
false
0.010782
0.006289
0.000898
0.017071
0.000898
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6a3d5a0b8814fbb4a8dcce839502382dcb8efe0a
1,120
py
Python
src/Puerta.py
victorlujan/Dise-odeSoftwarePatrones
b9845cc1c4abdc44867c90b9e9784246e57f16b3
[ "MIT" ]
null
null
null
src/Puerta.py
victorlujan/Dise-odeSoftwarePatrones
b9845cc1c4abdc44867c90b9e9784246e57f16b3
[ "MIT" ]
null
null
null
src/Puerta.py
victorlujan/Dise-odeSoftwarePatrones
b9845cc1c4abdc44867c90b9e9784246e57f16b3
[ "MIT" ]
null
null
null
from ElementoMapa import ElementoMapa class Puerta (ElementoMapa): def __init__(self): self.abierta= True self.lado2=None self.lado1=None def get_abierta(self): return self.abierta def print_cosas(self): print("hola") def set_abierta(self, value): self.ab...
24.347826
101
0.583036
136
1,120
4.720588
0.316176
0.102804
0.070093
0.05919
0
0
0
0
0
0
0
0.018373
0.319643
1,120
45
102
24.888889
0.824147
0
0
0.058824
0
0
0.067144
0
0
0
0
0
0
1
0.323529
false
0.029412
0.029412
0.117647
0.5
0.147059
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
6a3f9be772e906ade3549d2b743f072bfd37aa55
245
py
Python
get_block_data/relation.py
cyclone923/blocks-world
808127e6b4fde2a9cb499cf6934db7ff73e2f534
[ "Apache-2.0", "BSD-3-Clause" ]
1
2021-05-19T10:58:54.000Z
2021-05-19T10:58:54.000Z
get_block_data/relation.py
cyclone923/blocks-world
808127e6b4fde2a9cb499cf6934db7ff73e2f534
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
get_block_data/relation.py
cyclone923/blocks-world
808127e6b4fde2a9cb499cf6934db7ff73e2f534
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
class SceneRelation: def __init__(self): self.on_ground = set() self.on_block = {} self.clear = set() def print_relation(self): print(self.on_ground) print(self.on_block) print(self.clear)
24.5
30
0.583673
30
245
4.466667
0.4
0.179104
0.179104
0
0
0
0
0
0
0
0
0
0.302041
245
10
31
24.5
0.783626
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.333333
0.444444
0
0
0
null
0
0
0
0
0
0
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
1
0
2
6a42bb37de5c18887c2934162db7f55a1fffd8c4
1,277
py
Python
sarpy/io/general/nitf_elements/tres/unclass/BANDSA.py
pressler-vsc/sarpy
fa6c951c42b9a7d9df2edfa53c771494cb0246fb
[ "MIT" ]
1
2021-02-04T08:44:18.000Z
2021-02-04T08:44:18.000Z
sarpy/io/general/nitf_elements/tres/unclass/BANDSA.py
pressler-vsc/sarpy
fa6c951c42b9a7d9df2edfa53c771494cb0246fb
[ "MIT" ]
null
null
null
sarpy/io/general/nitf_elements/tres/unclass/BANDSA.py
pressler-vsc/sarpy
fa6c951c42b9a7d9df2edfa53c771494cb0246fb
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from ..tre_elements import TREExtension, TREElement __classification__ = "UNCLASSIFIED" __author__ = "Thomas McCullough" class BAND(TREElement): def __init__(self, value): super(BAND, self).__init__() self.add_field('BANDPEAK', 's', 5, value) self.add_field('BANDL...
33.605263
59
0.623336
165
1,277
4.509091
0.321212
0.150538
0.241935
0.297043
0.53629
0.474462
0.153226
0.083333
0
0
0
0.015905
0.212216
1,277
37
60
34.513514
0.723658
0.016445
0
0.071429
0
0
0.168262
0
0
0
0
0
0
1
0.071429
false
0
0.035714
0
0.285714
0
0
0
0
null
0
1
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
2
6a49a67108b03dc7cb60670594dde145fc227190
218
py
Python
defense/jpeg_compress.py
TrustworthyDL/LeBA
3289c1330585f438dc5b931951cbb682c5513053
[ "Apache-2.0" ]
19
2020-10-20T10:17:50.000Z
2022-03-27T10:56:08.000Z
defense/jpeg_compress.py
TrustworthyDL/LeBA
3289c1330585f438dc5b931951cbb682c5513053
[ "Apache-2.0" ]
3
2020-11-03T03:08:54.000Z
2021-01-08T02:38:09.000Z
defense/jpeg_compress.py
TrustworthyDL/LeBA
3289c1330585f438dc5b931951cbb682c5513053
[ "Apache-2.0" ]
4
2020-12-14T06:52:00.000Z
2022-01-25T07:58:22.000Z
def _jpeg_compression(im): assert torch.is_tensor(im) im = ToPILImage()(im) savepath = BytesIO() im.save(savepath, 'JPEG', quality=75) im = Image.open(savepath) im = ToTensor()(im) return im
27.25
41
0.637615
29
218
4.689655
0.62069
0
0
0
0
0
0
0
0
0
0
0.011765
0.220183
218
8
42
27.25
0.788235
0
0
0
0
0
0.018265
0
0
0
0
0
0.125
1
0.125
false
0
0
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6a4a66b1a2f63505cf706ff9fb8521db9d0bf0ee
2,127
py
Python
tests/test_results.py
babinyurii/RECAN
b49326b47bae22316c3776fee2f398e09a98ba96
[ "MIT" ]
7
2019-09-23T12:46:03.000Z
2022-02-16T11:32:58.000Z
tests/test_results.py
babinyurii/RECAN
b49326b47bae22316c3776fee2f398e09a98ba96
[ "MIT" ]
14
2020-01-28T16:20:15.000Z
2021-04-13T17:24:00.000Z
tests/test_results.py
babinyurii/RECAN
b49326b47bae22316c3776fee2f398e09a98ba96
[ "MIT" ]
8
2020-01-03T11:47:51.000Z
2021-09-17T03:43:43.000Z
# -*- coding: utf-8 -*- """ Created on Tue Oct 22 15:58:44 2019 @author: babin """ posits_def = [251, 501, 751, 1001, 1251, 1501, 1751, 2001, 2251, 2501, 2751, 3001, 3215] dist_whole_align_ref = {'AB048704.1_genotype_C_': [0.88, 0.938, 0.914, 0.886, 0.89, 0.908, 0.938, 0.948, 0.948, 0.886, 0.8...
15.302158
88
0.608839
302
2,127
4.201987
0.390728
0.022065
0.027581
0.042553
0.109535
0.052009
0.017336
0
0
0
0
0.698818
0.244476
2,127
138
89
15.413043
0.090853
0.034791
0
0.532258
0
0
0.051345
0.032274
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6a4a72c7391f2894d44f2f4cea661cdcb3c4d282
4,999
py
Python
lxmls/readers/simple_data_set.py
SimonSuster/lxmls-toolkit
6a57884f8b7c98da816a60eb88593e0a1585d434
[ "MIT" ]
1
2015-09-20T05:16:38.000Z
2015-09-20T05:16:38.000Z
lxmls/readers/simple_data_set.py
daviddao/LxMLS-labs-solution
78413c1ee61752ca33988c454e3b2c27326e7063
[ "MIT" ]
null
null
null
lxmls/readers/simple_data_set.py
daviddao/LxMLS-labs-solution
78413c1ee61752ca33988c454e3b2c27326e7063
[ "MIT" ]
null
null
null
import numpy as np # This class generates a 2D dataset with two classes, "positive" and "negative". # Each class follows a Gaussian distribution. class SimpleDataSet(): ''' A simple two dimentional dataset for visualization purposes. The date set contains points from two gaussians with mean u_i and std_i''' d...
43.469565
327
0.595319
832
4,999
3.408654
0.173077
0.024683
0.024683
0.007052
0.260578
0.190056
0.151622
0.06347
0.021157
0.021157
0
0.05791
0.240048
4,999
114
328
43.850877
0.688602
0.060412
0
0.06383
1
0.010638
0.052134
0
0
0
0
0
0
0
null
null
0
0.021277
null
null
0.053191
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
1
0
0
0
0
0
0
0
0
2
dbdfe8bd7432ddafe572e5360642d04fff53f125
593
py
Python
tests/csrf_tests/test_context_processor.py
Yoann-Vie/esgi-hearthstone
115d03426c7e8e80d89883b78ac72114c29bed12
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
tests/csrf_tests/test_context_processor.py
Yoann-Vie/esgi-hearthstone
115d03426c7e8e80d89883b78ac72114c29bed12
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
tests/csrf_tests/test_context_processor.py
Yoann-Vie/esgi-hearthstone
115d03426c7e8e80d89883b78ac72114c29bed12
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
from django.http import HttpRequest from django.middleware.csrf import _compare_salted_tokens as equivalent_tokens from django.template.context_processors import csrf from django.test import SimpleTestCase class TestContextProcessor(SimpleTestCase): def test_force_token_to_string(self): request ...
39.533333
88
0.768971
63
593
7
0.507937
0.090703
0
0
0
0
0
0
0
0
0
0.012097
0.163575
593
14
89
42.357143
0.877016
0
0
0
0
0
0.146805
0.110535
0
0
0
0
0.090909
1
0.090909
false
0
0.363636
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
dbebfc8120396c97668055085f91d5e5e0b1e5af
2,183
py
Python
Medium/200.py
Hellofafar/Leetcode
7a459e9742958e63be8886874904e5ab2489411a
[ "CNRI-Python" ]
6
2017-09-25T18:05:50.000Z
2019-03-27T00:23:15.000Z
Medium/200.py
Hellofafar/Leetcode
7a459e9742958e63be8886874904e5ab2489411a
[ "CNRI-Python" ]
1
2017-10-29T12:04:41.000Z
2018-08-16T18:00:37.000Z
Medium/200.py
Hellofafar/Leetcode
7a459e9742958e63be8886874904e5ab2489411a
[ "CNRI-Python" ]
null
null
null
# ------------------------------ # 200. Number of Islands # # Description: # Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. You may assume all four edges of the grid are all surrou...
29.106667
258
0.44022
321
2,183
2.993769
0.271028
0.020812
0.037461
0.033299
0.323621
0.320499
0.305931
0.305931
0.305931
0.305931
0
0.072443
0.355016
2,183
75
259
29.106667
0.610085
0.741182
0
0
0
0
0.004193
0
0
0
0
0
0
1
0.222222
false
0
0
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
1
0
0
0
0
1
0
0
2
dbf638d5301c89db06eb944d0fa138829b04d587
243
py
Python
pages/feature_modal.py
jack-skerrett-bluefruit/Python-ScreenPlay
045486bdf441fa3a7a6cde59e7b7e12a7d53fbed
[ "MIT" ]
null
null
null
pages/feature_modal.py
jack-skerrett-bluefruit/Python-ScreenPlay
045486bdf441fa3a7a6cde59e7b7e12a7d53fbed
[ "MIT" ]
null
null
null
pages/feature_modal.py
jack-skerrett-bluefruit/Python-ScreenPlay
045486bdf441fa3a7a6cde59e7b7e12a7d53fbed
[ "MIT" ]
null
null
null
from selenium.webdriver.common.by import By class feature_modal: title_textbox = (By.ID, "feature-name") description_textbox = (By.ID, "description") save_button = (By.XPATH, "/html/body/app/div[3]/div[2]/div/div/div/button[1]")
30.375
82
0.699588
37
243
4.486486
0.648649
0.108434
0.13253
0
0
0
0
0
0
0
0
0.014218
0.131687
243
7
83
34.714286
0.772512
0
0
0
0
0.2
0.300412
0.205761
0
0
0
0
0
1
0
false
0
0.2
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
e0097d9cfd4f53f9d94ad08b373e659436909217
444
py
Python
readthedocs/docsitalia/management/commands/clear_elasticsearch.py
italia/readthedocs.org
440d3885380d20ec24081f76e26d20701749e179
[ "MIT" ]
19
2018-03-28T12:28:35.000Z
2022-02-14T20:09:42.000Z
readthedocs/docsitalia/management/commands/clear_elasticsearch.py
berez23/docs.italia.it
440d3885380d20ec24081f76e26d20701749e179
[ "MIT" ]
274
2017-10-10T07:59:04.000Z
2022-03-12T00:56:03.000Z
readthedocs/docsitalia/management/commands/clear_elasticsearch.py
italia/readthedocs.org
440d3885380d20ec24081f76e26d20701749e179
[ "MIT" ]
13
2018-04-03T09:49:50.000Z
2021-04-18T22:04:15.000Z
"""Remove the readthedocs elasticsearch index.""" from __future__ import absolute_import from django.conf import settings from django.core.management.base import BaseCommand from elasticsearch import Elasticsearch class Command(BaseCommand): """Clear elasticsearch index.""" def handle(self, *args, **opti...
23.368421
51
0.725225
51
444
6.137255
0.607843
0.115016
0
0
0
0
0
0
0
0
0
0
0.168919
444
18
52
24.666667
0.848238
0.193694
0
0
0
0
0.011696
0
0
0
0
0
0
1
0.125
false
0
0.5
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
e0112c386596780c5a86b0d6086dc2f7b6c2be8a
429
py
Python
Numbers/Roman Number Generator/tests.py
fossabot/IdeaBag2-Solutions
73b554d9796510fc86e5fc55016732aa866266c6
[ "MIT" ]
10
2018-07-06T22:05:45.000Z
2021-05-22T11:29:04.000Z
Numbers/Roman Number Generator/tests.py
jarik-marwede/IdeaBag2-Projects
c5fe9524ef03a6ebc098ab8aaee7448f5b877828
[ "MIT" ]
22
2018-07-13T17:16:43.000Z
2022-01-11T11:16:08.000Z
Numbers/Roman Number Generator/tests.py
jarik-marwede/IdeaBag2-Projects
c5fe9524ef03a6ebc098ab8aaee7448f5b877828
[ "MIT" ]
1
2020-06-13T18:53:51.000Z
2020-06-13T18:53:51.000Z
#!/usr/bin/env python3 import unittest from roman_number_generator import arabic_to_roman class Test(unittest.TestCase): def _start_arabic_to_roman(self): self.assertRaises(ValueError, arabic_to_roman, 4000) self.assertEqual(arabic_to_roman(4), "IV") self.assertEqual(arabic_to_roman(12),...
23.833333
60
0.717949
57
429
4.982456
0.54386
0.169014
0.274648
0.242958
0.295775
0
0
0
0
0
0
0.028011
0.167832
429
17
61
25.235294
0.767507
0.048951
0
0
0
0
0.036855
0
0
0
0
0
0.4
1
0.1
false
0
0.2
0
0.4
0
0
0
0
null
0
1
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
2
e01e00717692398432049be3d51d551f012c222e
1,958
py
Python
tests/pipegeojson_test/test_pipegeojson.py
kamyarrasta/berrl
1cf2ba8194498ec8f80d2908399ad00f1e963d83
[ "Apache-2.0" ]
1
2016-03-04T18:30:48.000Z
2016-03-04T18:30:48.000Z
tests/pipegeojson_test/test_pipegeojson.py
kamyarrasta/berrl
1cf2ba8194498ec8f80d2908399ad00f1e963d83
[ "Apache-2.0" ]
null
null
null
tests/pipegeojson_test/test_pipegeojson.py
kamyarrasta/berrl
1cf2ba8194498ec8f80d2908399ad00f1e963d83
[ "Apache-2.0" ]
null
null
null
# testing the output of pipegeojson against different input types import berrl as bl import itertools # making line with csv file location line1=bl.make_line('csvs/line_example.csv') # making line with list testlist=bl.read('csvs/line_example.csv') line2=bl.make_line(testlist,list=True) # testing each line geojson ...
22.25
65
0.759959
339
1,958
4.342183
0.19764
0.032609
0.054348
0.05163
0.640625
0.640625
0.605299
0.587636
0.537364
0.537364
0
0.023866
0.144025
1,958
87
66
22.505747
0.854415
0.389173
0
0.56
0
0
0.195745
0.154894
0
0
0
0
0
0
null
null
0.26
0.04
null
null
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
e02d1d4df9c56883a92d8546af5497c549276afd
1,106
py
Python
src/sweetrpg_library_api/application/blueprints/systems/manager.py
paulyhedral/sweetrpg-library-api
0105e963ef4321398aa66d7cb3aa9c2df1c4f375
[ "MIT" ]
null
null
null
src/sweetrpg_library_api/application/blueprints/systems/manager.py
paulyhedral/sweetrpg-library-api
0105e963ef4321398aa66d7cb3aa9c2df1c4f375
[ "MIT" ]
33
2021-09-18T23:52:05.000Z
2022-03-30T12:25:49.000Z
src/sweetrpg_library_api/application/blueprints/systems/manager.py
sweetrpg/library-api
0105e963ef4321398aa66d7cb3aa9c2df1c4f375
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- __author__ = "Paul Schifferer <dm@sweetrpg.com>" """ """ from flask_rest_jsonapi import ResourceList, ResourceDetail, ResourceRelationship from sweetrpg_library_objects.api.system.schema import SystemAPISchema from sweetrpg_api_core.data import APIData from sweetrpg_library_objects.model.syste...
28.358974
106
0.683544
116
1,106
6.293103
0.327586
0.086301
0.10411
0.123288
0.453425
0.363014
0.363014
0.363014
0.363014
0.363014
0
0.001131
0.200723
1,106
38
107
29.105263
0.824661
0.232369
0
0.105263
0
0
0.116727
0
0
0
0
0
0
1
0
false
0
0.315789
0
0.631579
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
0
1
0
1
0
0
2
e033806ab7ea22ebae1fd718d44b4fe732b6c01d
360
py
Python
models/SelectionGAN/person_transfer/tool/rm_insnorm_running_vars.py
xianjian-xie/pose-generation
ad0495e80c6fe1e7690fa8691f1eb11b4e9bca32
[ "MIT" ]
445
2019-04-14T17:48:11.000Z
2022-03-20T11:53:30.000Z
models/SelectionGAN/person_transfer/tool/rm_insnorm_running_vars.py
xianjian-xie/pose-generation
ad0495e80c6fe1e7690fa8691f1eb11b4e9bca32
[ "MIT" ]
17
2019-06-03T11:34:22.000Z
2022-02-28T01:26:13.000Z
models/SelectionGAN/person_transfer/tool/rm_insnorm_running_vars.py
xianjian-xie/pose-generation
ad0495e80c6fe1e7690fa8691f1eb11b4e9bca32
[ "MIT" ]
71
2019-04-16T01:55:39.000Z
2022-03-22T05:09:59.000Z
import torch ckp_path = './checkpoints/fashion_PATN/latest_net_netG.pth' save_path = './checkpoints/fashion_PATN_v1.0/latest_net_netG.pth' states_dict = torch.load(ckp_path) states_dict_new = states_dict.copy() for key in states_dict.keys(): if "running_var" in key or "running_mean" in key: del states_dict_new[key]...
32.727273
65
0.794444
62
360
4.258065
0.467742
0.227273
0.147727
0.19697
0
0
0
0
0
0
0
0.006135
0.094444
360
11
66
32.727273
0.803681
0
0
0
0
0
0.33241
0.268698
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
1
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
2
e03a335c46211edd43cb24ddb42d950cbfd7fa71
1,184
py
Python
test/mock_module.py
ariffyasri/lale
326012c3c3dd884fae0093fe0c45596e4f9c0d72
[ "Apache-2.0" ]
1
2020-04-28T11:27:48.000Z
2020-04-28T11:27:48.000Z
test/mock_module.py
ariffyasri/lale
326012c3c3dd884fae0093fe0c45596e4f9c0d72
[ "Apache-2.0" ]
null
null
null
test/mock_module.py
ariffyasri/lale
326012c3c3dd884fae0093fe0c45596e4f9c0d72
[ "Apache-2.0" ]
1
2020-07-30T10:06:23.000Z
2020-07-30T10:06:23.000Z
# Copyright 2019 IBM 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 to in writing, ...
34.823529
74
0.72973
165
1,184
5.145455
0.618182
0.070671
0.030624
0.037691
0
0
0
0
0
0
0
0.009414
0.192568
1,184
33
75
35.878788
0.878661
0.572635
0
0
0
0
0.04898
0
0
0
0
0
0
1
0.333333
false
0
0.083333
0.166667
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
1
0
0
0
1
0
0
0
2
e0553357877f320fcfcfc9bb4fdd3aa6b5cc2f78
2,947
py
Python
sensor_core/sleep.py
JorisHerbots/niip_iot_zombie_apocalypse
3ff848f3dab1dde9d2417d0a2c56a76a85e18920
[ "MIT" ]
null
null
null
sensor_core/sleep.py
JorisHerbots/niip_iot_zombie_apocalypse
3ff848f3dab1dde9d2417d0a2c56a76a85e18920
[ "MIT" ]
null
null
null
sensor_core/sleep.py
JorisHerbots/niip_iot_zombie_apocalypse
3ff848f3dab1dde9d2417d0a2c56a76a85e18920
[ "MIT" ]
null
null
null
import machine import pycom import utime from exceptions import Exceptions class Sleep: @property def wakeReason(self): return machine.wake_reason()[0] @property def wakePins(self): return machine.wake_reason()[1] @property def powerOnWake(self): return...
32.032609
121
0.646759
340
2,947
5.341176
0.258824
0.053965
0.053965
0.055066
0.352423
0.209251
0.209251
0.062775
0.062775
0.062775
0
0.012885
0.26264
2,947
91
122
32.384615
0.822826
0.015948
0
0.183099
0
0
0.027441
0
0
0
0
0
0
1
0.211268
false
0
0.056338
0.126761
0.450704
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
e061da410580634f463731e3265faeb51909f55c
1,071
py
Python
taln2016/icsisumm-primary-sys34_v1/nltk/nltk-0.9.2/nltk/model/__init__.py
hectormartinez/rougexstem
32da9eab253cb88fc1882e59026e8b5b40900a25
[ "Apache-2.0" ]
null
null
null
taln2016/icsisumm-primary-sys34_v1/nltk/nltk-0.9.2/nltk/model/__init__.py
hectormartinez/rougexstem
32da9eab253cb88fc1882e59026e8b5b40900a25
[ "Apache-2.0" ]
null
null
null
taln2016/icsisumm-primary-sys34_v1/nltk/nltk-0.9.2/nltk/model/__init__.py
hectormartinez/rougexstem
32da9eab253cb88fc1882e59026e8b5b40900a25
[ "Apache-2.0" ]
null
null
null
# Natural Language Toolkit: Language Models # # Copyright (C) 2001-2008 University of Pennsylvania # Author: Steven Bird <sb@csse.unimelb.edu.au> # URL: <http://nltk.sf.net> # For license information, see LICENSE.TXT class ModelI(object): """ A processing interface for assigning a probability to the next word....
31.5
78
0.6676
135
1,071
5.251852
0.533333
0.169252
0.152327
0.050776
0.112835
0.112835
0
0
0
0
0
0.00978
0.236228
1,071
33
79
32.454545
0.856968
0.548086
0
0.454545
0
0
0
0
0
0
0
0
0
1
0.454545
false
0
0
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
e0651470e7323b974d75e2d23e40d53bc5af99ea
4,146
py
Python
planning/scenario_planning/lane_driving/motion_planning/obstacle_avoidance_planner/scripts/trajectory_visualizer.py
kmiya/AutowareArchitectureProposal.iv
386b52c9cc90f4535ad833014f2f9500f0e64ccf
[ "Apache-2.0" ]
null
null
null
planning/scenario_planning/lane_driving/motion_planning/obstacle_avoidance_planner/scripts/trajectory_visualizer.py
kmiya/AutowareArchitectureProposal.iv
386b52c9cc90f4535ad833014f2f9500f0e64ccf
[ "Apache-2.0" ]
null
null
null
planning/scenario_planning/lane_driving/motion_planning/obstacle_avoidance_planner/scripts/trajectory_visualizer.py
kmiya/AutowareArchitectureProposal.iv
386b52c9cc90f4535ad833014f2f9500f0e64ccf
[ "Apache-2.0" ]
1
2021-07-20T09:38:30.000Z
2021-07-20T09:38:30.000Z
# Copyright 2020 Tier IV, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
30.485294
109
0.600338
529
4,146
4.557656
0.357278
0.039818
0.026545
0.016176
0.159685
0.126918
0.099544
0.099544
0.099544
0.099544
0
0.020074
0.279064
4,146
135
110
30.711111
0.786551
0.940907
0
null
0
null
0
0
null
0
0
0.007407
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
e067ec51a3742d007fe87145e158ef565747647f
2,642
py
Python
main/forms.py
agokhale11/test2
deddf17e7bb67777251cf73cbdb5f6970c16050a
[ "MIT" ]
null
null
null
main/forms.py
agokhale11/test2
deddf17e7bb67777251cf73cbdb5f6970c16050a
[ "MIT" ]
7
2020-06-05T18:32:16.000Z
2022-03-11T23:24:17.000Z
main/forms.py
agokhale11/test2
deddf17e7bb67777251cf73cbdb5f6970c16050a
[ "MIT" ]
null
null
null
from django.contrib.auth.forms import AuthenticationForm, UserCreationForm from django.contrib.auth.models import User from django import forms class UploadFileForm(forms.Form): title = forms.CharField(max_length=50) file = forms.FileField() # If you don't do this you cannot use Bootstrap CSS class LoginFor...
41.28125
136
0.62869
291
2,642
5.621993
0.233677
0.05868
0.06846
0.102689
0.577628
0.512836
0.512836
0.474939
0.447433
0.447433
0
0.013786
0.231264
2,642
64
137
41.28125
0.791728
0.018547
0
0.413043
0
0
0.174383
0
0
0
0
0
0
1
0.043478
false
0.217391
0.065217
0
0.543478
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
1
0
0
2
e0702674ad6cf140cbb31a3b885b600b8569c9c4
17,033
py
Python
option_c.py
wrosecrans/colormap
0b6a3b7e4caa5df72e7bad8ba196acfbbe5e5946
[ "CC0-1.0" ]
231
2015-06-03T01:28:13.000Z
2022-03-27T02:02:42.000Z
option_c.py
CatarinaL/colormap
bc549477db0c12b54a5928087552ad2cf274980f
[ "CC0-1.0" ]
10
2015-06-06T23:06:06.000Z
2019-10-25T20:10:48.000Z
option_c.py
CatarinaL/colormap
bc549477db0c12b54a5928087552ad2cf274980f
[ "CC0-1.0" ]
97
2015-06-04T00:46:34.000Z
2022-01-23T17:37:24.000Z
from matplotlib.colors import LinearSegmentedColormap from numpy import nan, inf # Used to reconstruct the colormap in viscm parameters = {'xp': [-5.4895292543686764, 14.790571669586654, 82.5546687431056, 29.15531114139253, -4.1316769886951761, -13.002076438907238], 'yp': [-35.948168839230306, -42.27337...
60.187279
141
0.577291
2,411
17,033
4.070095
0.356698
0.034546
0
0
0
0
0
0
0
0
0
0.6799
0.251688
17,033
282
142
60.400709
0.089989
0.002407
0
0
0
0
0.004415
0
0
0
0
0
0
1
0
false
0
0.021898
0
0.021898
0.00365
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0ec2342f96bb22e61801a222fde8647beb3203c5
304
py
Python
udemy-python/mediaponderada.py
AlbertoAlfredo/exercicios-cursos
792096ad1f853188adec8fc3e5c629742c8dd7ab
[ "MIT" ]
1
2017-08-27T00:57:20.000Z
2017-08-27T00:57:20.000Z
udemy-python/mediaponderada.py
AlbertoAlfredo/exercicios-cursos
792096ad1f853188adec8fc3e5c629742c8dd7ab
[ "MIT" ]
2
2020-09-09T04:22:06.000Z
2020-12-24T16:25:36.000Z
udemy-python/mediaponderada.py
AlbertoAlfredo/exercicios-cursos
792096ad1f853188adec8fc3e5c629742c8dd7ab
[ "MIT" ]
null
null
null
nota1 = float(input('Digite a nota da primeira nota ')) peso1 = float(input('Digite o peso da primeira nota ')) nota2 = float(input('Digite a nota da seugundo nota ')) peso2 = float(input('Digite o peso da segundo nota ')) media = (nota1/peso1+nota2/peso2)/2 print('A média das duas notas é:', media)
30.4
55
0.703947
50
304
4.28
0.46
0.186916
0.299065
0.158879
0.429907
0.429907
0
0
0
0
0
0.035294
0.161184
304
9
56
33.777778
0.803922
0
0
0
0
0
0.486842
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0ec3610585ba69b4e61119ece94d8d89e44e43cc
27,448
py
Python
examples/oldexamples/sample_program.py
learningequality/klorimin
c569cd4048ac670bc55a83f4fdda0b818c7f626e
[ "MIT" ]
null
null
null
examples/oldexamples/sample_program.py
learningequality/klorimin
c569cd4048ac670bc55a83f4fdda0b818c7f626e
[ "MIT" ]
null
null
null
examples/oldexamples/sample_program.py
learningequality/klorimin
c569cd4048ac670bc55a83f4fdda0b818c7f626e
[ "MIT" ]
null
null
null
#!/usr/bin/env python import json import os import re from enum import Enum from os.path import join from le_utils.constants import content_kinds from le_utils.constants import exercises from le_utils.constants import file_formats from le_utils.constants import licenses from ricecooker.chefs import SushiChef from ric...
45.594684
1,965
0.620847
2,579
27,448
6.393176
0.194649
0.040696
0.055495
0.046943
0.549976
0.505762
0.474406
0.464944
0.459425
0.448811
0
0.031639
0.280312
27,448
601
1,966
45.670549
0.803027
0.063174
0
0.298
0
0.024
0.301265
0.161062
0
1
0
0
0
1
0.016
false
0
0.04
0
0.128
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
2
0ec42be3581d1c9d5c9ab4c954473cd6061146b5
3,555
py
Python
tests/test_handler.py
CJSoldier/webssh
b3c33ff6bd76f4f5df40cc1fe9a138cf0cecd08c
[ "MIT" ]
13
2018-09-16T15:51:38.000Z
2019-10-16T09:13:18.000Z
tests/test_handler.py
CJSoldier/webssh
b3c33ff6bd76f4f5df40cc1fe9a138cf0cecd08c
[ "MIT" ]
null
null
null
tests/test_handler.py
CJSoldier/webssh
b3c33ff6bd76f4f5df40cc1fe9a138cf0cecd08c
[ "MIT" ]
null
null
null
import unittest import paramiko from tornado.httputil import HTTPServerRequest from tests.utils import read_file, make_tests_data_path from webssh.handler import MixinHandler, IndexHandler, InvalidValueError class TestMixinHandler(unittest.TestCase): def test_get_real_client_addr(self): handler = MixinH...
40.397727
72
0.686639
427
3,555
5.487119
0.175644
0.088775
0.10542
0.05079
0.788732
0.757576
0.618438
0.580879
0.474178
0.474178
0
0.017394
0.207595
3,555
87
73
40.862069
0.814342
0
0
0.449275
0
0
0.070042
0.01294
0
0
0
0
0.318841
1
0.072464
false
0.15942
0.072464
0
0.173913
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
0ed56ff83d82e72563699b9ea8ce0b02dcd84908
999
py
Python
botlib/cli.py
relikd/botlib
d0c5072d27db1aa3fad432457c90c9e3f23f22cc
[ "MIT" ]
null
null
null
botlib/cli.py
relikd/botlib
d0c5072d27db1aa3fad432457c90c9e3f23f22cc
[ "MIT" ]
null
null
null
botlib/cli.py
relikd/botlib
d0c5072d27db1aa3fad432457c90c9e3f23f22cc
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import os from argparse import ArgumentParser, ArgumentTypeError, FileType, Namespace from typing import Any def DirType(string: str) -> str: if os.path.isdir(string): return string raise ArgumentTypeError( 'Directory does not exist: "{}"'.format(os.path.abspath(string))...
31.21875
75
0.640641
129
999
4.829457
0.387597
0.064205
0.088283
0.109149
0.348315
0.348315
0.309791
0.309791
0.309791
0.235955
0
0.001253
0.201201
999
31
76
32.225806
0.779449
0.021021
0
0
0
0
0.041965
0
0
0
0
0
0
1
0.333333
false
0
0.142857
0.047619
0.619048
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
1
0
0
2
0ee65ef56e608d8cc1f10a29c3d522f07069ba46
9,006
py
Python
tests/sentry/utils/http/tests.py
arya-s/sentry
959ffbd37cb4a7821f7a2676c137be54cad171a8
[ "BSD-3-Clause" ]
1
2021-06-16T06:57:35.000Z
2021-06-16T06:57:35.000Z
tests/sentry/utils/http/tests.py
arya-s/sentry
959ffbd37cb4a7821f7a2676c137be54cad171a8
[ "BSD-3-Clause" ]
null
null
null
tests/sentry/utils/http/tests.py
arya-s/sentry
959ffbd37cb4a7821f7a2676c137be54cad171a8
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import import mock from exam import fixture from sentry import options from sentry.models import Project from sentry.testutils import TestCase from sentry.utils.http import ( is_same_domain, is_valid_origin, get_origins, absolute_uri, is_valid_ip, ) clas...
38.652361
94
0.663002
1,164
9,006
4.937285
0.115979
0.076562
0.132069
0.117453
0.774665
0.723682
0.699843
0.631634
0.56151
0.482513
0
0.022624
0.190207
9,006
232
95
38.818966
0.765391
0.002332
0
0.321637
0
0
0.193254
0.024379
0
0
0
0
0.298246
1
0.245614
false
0
0.040936
0.005848
0.333333
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
0eec4303c142298ab8af1f1876c980b2e097801b
1,503
py
Python
interface/docstring.py
karttur/geoimagine02-grass
09c207707ddd0dae04a871e006e184409aa87d99
[ "BSD-3-Clause" ]
null
null
null
interface/docstring.py
karttur/geoimagine02-grass
09c207707ddd0dae04a871e006e184409aa87d99
[ "BSD-3-Clause" ]
null
null
null
interface/docstring.py
karttur/geoimagine02-grass
09c207707ddd0dae04a871e006e184409aa87d99
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- def docstring_property(class_doc): """Property attribute for docstrings. Took from: https://gist.github.com/bfroehle/4041015 >>> class A(object): ... '''Main docstring''' ... def __init__(self, x): ... self.x = x ... @docstring_property(__doc__)...
26.839286
78
0.611444
187
1,503
4.652406
0.40107
0.064368
0.041379
0.022989
0.027586
0
0
0
0
0
0
0.011029
0.276114
1,503
55
79
27.327273
0.788603
0.537591
0
0
0
0
0.068562
0
0
0
0
0
0
1
0.352941
false
0
0
0.058824
0.647059
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
1
0
0
2
0eefcd2d4671b89d12e5ea2a56457ebf60bf3929
458
py
Python
data/migrations/0023_discardaction_answers.py
SIXMON/peps
48c09a951a0193ada7b91c8bb6efc4b1232c3520
[ "MIT" ]
5
2019-08-29T13:55:47.000Z
2021-11-15T08:30:33.000Z
data/migrations/0023_discardaction_answers.py
SIXMON/peps
48c09a951a0193ada7b91c8bb6efc4b1232c3520
[ "MIT" ]
295
2019-08-19T12:40:29.000Z
2022-01-24T14:03:20.000Z
data/migrations/0023_discardaction_answers.py
SIXMON/peps
48c09a951a0193ada7b91c8bb6efc4b1232c3520
[ "MIT" ]
7
2020-05-27T06:28:48.000Z
2021-11-17T10:00:54.000Z
# Generated by Django 2.2.4 on 2019-11-14 16:48 import django.contrib.postgres.fields.jsonb from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('data', '0022_discardaction'), ] operations = [ migrations.AddField( model_name='discardactio...
22.9
88
0.637555
50
458
5.8
0.7
0.089655
0.144828
0.186207
0.22069
0
0
0
0
0
0
0.055072
0.246725
458
19
89
24.105263
0.785507
0.098253
0
0
1
0
0.10219
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0eefd82c5da7e16c24688892ee11d187a2303e65
1,297
py
Python
app/models.py
juanitodread/pitaya-falcon
f4b889f9fa39072aeb9f1c71fe5f3bb259082e93
[ "Apache-2.0" ]
null
null
null
app/models.py
juanitodread/pitaya-falcon
f4b889f9fa39072aeb9f1c71fe5f3bb259082e93
[ "Apache-2.0" ]
null
null
null
app/models.py
juanitodread/pitaya-falcon
f4b889f9fa39072aeb9f1c71fe5f3bb259082e93
[ "Apache-2.0" ]
null
null
null
from json import JSONEncoder from time import time class Jsonable: """Abstract class to standardize the toJson method to be implemented by any class that wants to be serialized to JSON""" def toJson(self): """Abstract method""" raise NotImplementedError('You should implement this method in...
27.595745
109
0.621434
160
1,297
4.9625
0.38125
0.04534
0.065491
0.071788
0.198992
0.141058
0.078086
0.078086
0
0
0
0.004145
0.255975
1,297
46
110
28.195652
0.818653
0.14495
0
0.28125
0
0
0.065197
0
0
0
0
0
0
1
0.25
false
0
0.0625
0.09375
0.625
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
1
0
0
2
160b1c97ac3f8a38cfc9b68c4f0651550e3df491
266
py
Python
employees/choices.py
sauli6692/barbershop
862357bd78235e720b2e3b868d2423a57bb4e328
[ "MIT" ]
null
null
null
employees/choices.py
sauli6692/barbershop
862357bd78235e720b2e3b868d2423a57bb4e328
[ "MIT" ]
null
null
null
employees/choices.py
sauli6692/barbershop
862357bd78235e720b2e3b868d2423a57bb4e328
[ "MIT" ]
null
null
null
from django.utils.translation import ugettext_lazy as _ USER_TYPE_STAFF = 'STAFF' USER_TYPE_ADMIN = 'ADMIN' USER_TYPE_BARBER = 'BARBER' USER_TYPE_CHOICES = ( (USER_TYPE_STAFF, _('Dev')), (USER_TYPE_ADMIN, _('Admin')), (USER_TYPE_BARBER, _('Barber')), )
24.181818
55
0.714286
35
266
4.885714
0.428571
0.327485
0.152047
0.210526
0.444444
0.444444
0.444444
0.444444
0
0
0
0
0.142857
266
11
56
24.181818
0.75
0
0
0
0
0
0.11236
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
1
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
2
160fd3286e288456d5bdd6bcd283afcbe0cfc945
399
py
Python
aldryn_search/cms_apps.py
lab360-ch/aldryn-search
15a319edac126aa1e44f22d34a7bcb5aec3e3dde
[ "BSD-3-Clause" ]
11
2019-03-29T10:32:13.000Z
2021-02-26T11:44:44.000Z
aldryn_search/cms_apps.py
lab360-ch/aldryn-search
15a319edac126aa1e44f22d34a7bcb5aec3e3dde
[ "BSD-3-Clause" ]
23
2019-01-31T16:20:57.000Z
2021-11-10T19:57:58.000Z
aldryn_search/cms_apps.py
lab360-ch/aldryn-search
15a319edac126aa1e44f22d34a7bcb5aec3e3dde
[ "BSD-3-Clause" ]
23
2019-02-14T09:59:40.000Z
2022-03-10T12:38:48.000Z
from django.utils.translation import ugettext_lazy as _ from cms.app_base import CMSApp from cms.apphook_pool import apphook_pool from .conf import settings class AldrynSearchApphook(CMSApp): name = _("aldryn search") def get_urls(self, *args, **kwargs): return ['aldryn_search.urls'] if settings....
22.166667
55
0.77193
51
399
5.803922
0.588235
0.111486
0
0
0
0
0
0
0
0
0
0
0.150376
399
17
56
23.470588
0.873156
0
0
0
0
0
0.077694
0
0
0
0
0
0
1
0.1
false
0
0.4
0.1
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
161b1ad3ceff80971c5c3ea0ba2b51d497a4a215
264
py
Python
Curso-Em-Video-Python/Mundo-2/EXs/EX038.py
victor-da-costa/Aprendendo-Python
8fd19b93a13953cda30de02de7dac22b4e62fb5b
[ "MIT" ]
null
null
null
Curso-Em-Video-Python/Mundo-2/EXs/EX038.py
victor-da-costa/Aprendendo-Python
8fd19b93a13953cda30de02de7dac22b4e62fb5b
[ "MIT" ]
null
null
null
Curso-Em-Video-Python/Mundo-2/EXs/EX038.py
victor-da-costa/Aprendendo-Python
8fd19b93a13953cda30de02de7dac22b4e62fb5b
[ "MIT" ]
null
null
null
num1 = int(input('Digite o 1º número: ')) num2 = int(input('Digite o 2º número: ')) if num1 > num2: print('O {} é maior que {}'.format(num1, num2)) elif num1 < num2: print('O {} é maior que4 {}'.format(num2, num1)) else: print('Os números são iguais')
29.333333
52
0.613636
42
264
3.857143
0.52381
0.148148
0.17284
0.185185
0.246914
0.246914
0
0
0
0
0
0.061611
0.200758
264
8
53
33
0.706161
0
0
0
0
0
0.378788
0
0
0
0
0
0
1
0
false
0
0
0
0
0.375
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
161de43480d9d0733aef7b6ee4c05009bd0cafa3
810
py
Python
tools/leetcode.127.Word Ladder/leetcode.127.Word Ladder.submission1.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
4
2015-10-10T00:30:55.000Z
2020-07-27T19:45:54.000Z
tools/leetcode.127.Word Ladder/leetcode.127.Word Ladder.submission1.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
null
null
null
tools/leetcode.127.Word Ladder/leetcode.127.Word Ladder.submission1.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
null
null
null
class Solution: # @param {string} beginWord # @param {string} endWord # @param {set<string>} wordDict # @return {integer} def ladderLength(self, beginWord, endWord, wordDict): # BFS scanLayer = [beginWord] distRecord = [1] while scanLayer: curWord = scanLa...
810
810
0.504938
73
810
5.60274
0.452055
0.05379
0
0
0
0
0
0
0
0
0
0.012448
0.404938
810
1
810
810
0.8361
0.124691
0
0
0
0
0.036932
0.036932
0
0
0
0
0
1
0.058824
false
0
0
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
162c1fe872f535df8473bc4c5719a90f0e1d8d91
4,518
py
Python
django_customflow/mixins.py
Brad19940809/django-customflow
502eed512d7c29e8d176c67fa62a7fce0be492d7
[ "MIT" ]
1
2019-08-06T09:28:11.000Z
2019-08-06T09:28:11.000Z
django_customflow/mixins.py
Brad19940809/django-customflow
502eed512d7c29e8d176c67fa62a7fce0be492d7
[ "MIT" ]
null
null
null
django_customflow/mixins.py
Brad19940809/django-customflow
502eed512d7c29e8d176c67fa62a7fce0be492d7
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- # create_time: 2019/8/5 16:02 # __author__ = 'brad' from . import utils from .tasks.base import WaitingTask, BaseTask class WorkflowMixin(object): """Mixin class to make objects workflow aware. """ def get_workflow(self): """Returns the current workflow of the object. ...
34.227273
112
0.626162
544
4,518
5.051471
0.248162
0.039301
0.021834
0.018559
0.216521
0.144833
0.115721
0.090247
0.090247
0.090247
0
0.003462
0.296813
4,518
131
113
34.48855
0.861505
0.263612
0
0.202899
0
0
0.063863
0
0
0
0
0.007634
0
1
0.202899
false
0
0.057971
0.043478
0.521739
0.057971
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
1631ce5936a7d3f836485152fc8ba3c55b4623c2
722
py
Python
corehq/apps/sms/tests.py
dslowikowski/commcare-hq
ad8885cf8dab69dc85cb64f37aeaf06106124797
[ "BSD-3-Clause" ]
1
2015-02-10T23:26:39.000Z
2015-02-10T23:26:39.000Z
corehq/apps/sms/tests.py
SEL-Columbia/commcare-hq
992ee34a679c37f063f86200e6df5a197d5e3ff6
[ "BSD-3-Clause" ]
1
2022-03-12T01:03:25.000Z
2022-03-12T01:03:25.000Z
corehq/apps/sms/tests.py
johan--/commcare-hq
86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # vim: ai ts=4 sts=4 et sw=4 encoding=utf-8 from util import clean_phone_number, clean_outgoing_sms_text from django.test import TestCase class UtilTestCase(TestCase): def setUp(self): pass def testCleanPhoneNumber(self): phone_number = " 324 23-23421241" cl...
32.818182
106
0.685596
103
722
4.68932
0.621359
0.091097
0.066253
0.082816
0.049689
0.049689
0
0
0
0
0
0.089317
0.209141
722
21
107
34.380952
0.756567
0.16205
0
0
0
0.076923
0.202658
0.112957
0
0
0
0
0.153846
1
0.230769
false
0.076923
0.153846
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
1645daef0bb42b38a2691d6bb4f86fefa0af94a5
283
py
Python
task/CheckAllocations.py
wookiee2187/vc3-login-pod
3c0f5490c094bf0b4587a743efac68d722ea5ee2
[ "MIT" ]
1
2019-07-17T19:01:34.000Z
2019-07-17T19:01:34.000Z
task/CheckAllocations.py
wookiee2187/vc3-login-pod
3c0f5490c094bf0b4587a743efac68d722ea5ee2
[ "MIT" ]
null
null
null
task/CheckAllocations.py
wookiee2187/vc3-login-pod
3c0f5490c094bf0b4587a743efac68d722ea5ee2
[ "MIT" ]
null
null
null
#!/usr/bin/env python from vc3master.task import VC3Task class CheckAllocations(VC3Task): ''' Plugin to do consistency/sanity checks on Allocations. ''' def runtask(self): ''' ''' self.log.info("Running task %s" % self.section)
16.647059
58
0.590106
31
283
5.387097
0.870968
0
0
0
0
0
0
0
0
0
0
0.014851
0.286219
283
17
59
16.647059
0.811881
0.303887
0
0
0
0
0.087209
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
1654499e8423c0c8a91eb13123406b32dfc847c1
8,988
py
Python
opticalmapping/standalone/om_augmenter.py
sauloal/ipython
35c24a10330da3e54b5ee29df54ee263f5268d18
[ "MIT" ]
null
null
null
opticalmapping/standalone/om_augmenter.py
sauloal/ipython
35c24a10330da3e54b5ee29df54ee263f5268d18
[ "MIT" ]
null
null
null
opticalmapping/standalone/om_augmenter.py
sauloal/ipython
35c24a10330da3e54b5ee29df54ee263f5268d18
[ "MIT" ]
null
null
null
#!/usr/bin/python import os import sys from om_shared import * def parse_args(args): parser = argparse.ArgumentParser(description="Bionano Genomics MAP parser") parser.add_argument( 'infile', help="MAP file" ) parser.add_ar...
61.561644
1,184
0.595683
1,143
8,988
4.512686
0.342082
0.027142
0.023459
0.008143
0.229934
0.20919
0.162272
0.118069
0.03451
0.03451
0
0.13502
0.269915
8,988
146
1,185
61.561644
0.651021
0.031931
0
0.08642
0
0
0.203165
0.088939
0
0
0
0
0
0
null
null
0
0.037037
null
null
0.209877
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
165bd59707bf7d41b2fcb3dbf5d490a2e8660a09
732
py
Python
test/means/test_zero_mean.py
bdecost/gpytorch
a5f1ad3e47daf3f8db04b605fb13ff3f9f871e3a
[ "MIT" ]
null
null
null
test/means/test_zero_mean.py
bdecost/gpytorch
a5f1ad3e47daf3f8db04b605fb13ff3f9f871e3a
[ "MIT" ]
null
null
null
test/means/test_zero_mean.py
bdecost/gpytorch
a5f1ad3e47daf3f8db04b605fb13ff3f9f871e3a
[ "MIT" ]
1
2018-11-15T10:03:40.000Z
2018-11-15T10:03:40.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import torch import unittest from gpytorch.means import ZeroMean class TestZeroMean(unittest.TestCase): def setUp(self): self.mean = ZeroMean() def tes...
28.153846
78
0.629781
102
732
4.303922
0.372549
0.091116
0.145786
0.072893
0.369021
0.369021
0.182232
0.182232
0.182232
0.182232
0
0.036522
0.214481
732
25
79
29.28
0.726957
0
0
0.2
0
0
0
0
0
0
0
0
0.2
1
0.15
false
0
0.35
0
0.55
0.05
0
0
0
null
0
0
0
0
0
0
0
0
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
1
0
0
2
165e549759c53b8757e058aa4a4e0a0e6b69b060
407
py
Python
spacy/lang/sr/__init__.py
g4brielvs/spaCy
cca8651fc8133172ebaa9d9fc438ed1fbf34fb33
[ "BSD-3-Clause", "MIT" ]
4
2021-08-11T05:46:23.000Z
2021-09-11T05:16:57.000Z
spacy/lang/sr/__init__.py
g4brielvs/spaCy
cca8651fc8133172ebaa9d9fc438ed1fbf34fb33
[ "BSD-3-Clause", "MIT" ]
1
2021-03-01T19:01:37.000Z
2021-03-01T19:01:37.000Z
spacy/lang/sr/__init__.py
g4brielvs/spaCy
cca8651fc8133172ebaa9d9fc438ed1fbf34fb33
[ "BSD-3-Clause", "MIT" ]
2
2021-01-26T17:29:02.000Z
2021-03-13T08:54:53.000Z
from .stop_words import STOP_WORDS from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS from .lex_attrs import LEX_ATTRS from ...language import Language class SerbianDefaults(Language.Defaults): tokenizer_exceptions = TOKENIZER_EXCEPTIONS lex_attr_getters = LEX_ATTRS stop_words = STOP_WORDS class Ser...
21.421053
54
0.781327
48
407
6.270833
0.375
0.119601
0
0
0
0
0
0
0
0
0
0
0.157248
407
18
55
22.611111
0.877551
0
0
0
0
0
0.022113
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.916667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
16715a2b77e2526acf8bf40591ec7bc531389bde
848
py
Python
Deep Sort/src/imgconverter.py
JJavier98/TFG-Dron-de-Vigilancia
7fd68a981854ac480ad2f0c936a0dd58d2a9f38b
[ "MIT" ]
null
null
null
Deep Sort/src/imgconverter.py
JJavier98/TFG-Dron-de-Vigilancia
7fd68a981854ac480ad2f0c936a0dd58d2a9f38b
[ "MIT" ]
null
null
null
Deep Sort/src/imgconverter.py
JJavier98/TFG-Dron-de-Vigilancia
7fd68a981854ac480ad2f0c936a0dd58d2a9f38b
[ "MIT" ]
null
null
null
#!/usr/bin/env python from __future__ import print_function import roslib roslib.load_manifest('msgs_to_cv2') import sys import rospy import cv2 from std_msgs.msg import String from sensor_msgs.msg import Image from cv_bridge import CvBridge, CvBridgeError class image_converter: def __init__(self): self.bridge...
20.190476
77
0.741745
120
848
4.966667
0.516667
0.07047
0.043624
0
0
0
0
0
0
0
0
0.011004
0.142689
848
41
78
20.682927
0.808803
0.023585
0
0
0
0
0.080444
0
0
0
0
0
0
0
null
null
0
0.307692
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
1676d72870f651008f4e3aca9c90ccf681a85a4a
5,947
py
Python
inventree/part.py
SergeoLacruz/inventree-python
94681428f61de4ca51171e685812ebc436b9be42
[ "MIT" ]
null
null
null
inventree/part.py
SergeoLacruz/inventree-python
94681428f61de4ca51171e685812ebc436b9be42
[ "MIT" ]
null
null
null
inventree/part.py
SergeoLacruz/inventree-python
94681428f61de4ca51171e685812ebc436b9be42
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import logging import re import inventree.base import inventree.stock import inventree.company import inventree.build logger = logging.getLogger('inventree') class PartCategory(inventree.base.InventreeObject): """ Class representing the PartCategory database model """ URL = 'part/...
27.920188
82
0.626534
660
5,947
5.590909
0.231818
0.034146
0.041734
0.036585
0.338753
0.245528
0.110569
0.027642
0.027642
0.027642
0
0.00207
0.268875
5,947
212
83
28.051887
0.846596
0.240794
0
0.067308
0
0
0.057425
0.013415
0
0
0
0
0
1
0.211538
false
0
0.057692
0.038462
0.673077
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
1
0
0
2
168883ce786ac5e2bf642b55446a3bcf835eeaa8
275
py
Python
colab/__init__.py
caseywstark/colab
e05293e45a657eda19d733bf05624a1613a7a9b7
[ "MIT" ]
1
2015-11-05T11:49:32.000Z
2015-11-05T11:49:32.000Z
colab/__init__.py
caseywstark/colab
e05293e45a657eda19d733bf05624a1613a7a9b7
[ "MIT" ]
null
null
null
colab/__init__.py
caseywstark/colab
e05293e45a657eda19d733bf05624a1613a7a9b7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- __about__ = """ This project demonstrates a social networking site. It provides profiles, friends, photos, blogs, tribes, wikis, tweets, bookmarks, swaps, locations and user-to-user messaging. In 0.5 this was called "complete_project". """
27.5
74
0.705455
36
275
5.25
0.916667
0
0
0
0
0
0
0
0
0
0
0.013216
0.174545
275
9
75
30.555556
0.819383
0.076364
0
0
0
0
0.91358
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
168eb7379683dd807fa4203db108dc8a9b170baa
323
py
Python
easysockets/client_socket.py
Matthias1590/EasySockets
70d33a04e862b682b87bdf2103bcc1d7da06994e
[ "MIT" ]
2
2022-01-10T12:25:45.000Z
2022-01-15T08:01:32.000Z
easysockets/client_socket.py
Matthias1590/EasySockets
70d33a04e862b682b87bdf2103bcc1d7da06994e
[ "MIT" ]
null
null
null
easysockets/client_socket.py
Matthias1590/EasySockets
70d33a04e862b682b87bdf2103bcc1d7da06994e
[ "MIT" ]
null
null
null
from .connection import Connection import socket class ClientSocket: def __init__(self) -> None: self.__socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) def connect(self, host: str, port: int) -> Connection: self.__socket.connect((host, port)) return Connection(self.__socke...
24.846154
73
0.696594
39
323
5.461538
0.512821
0.140845
0.169014
0
0
0
0
0
0
0
0
0
0.198142
323
12
74
26.916667
0.822394
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
16a205ccc4af00539940fcbe977b97f31972c365
6,296
py
Python
plugins/anomali_threatstream/komand_anomali_threatstream/actions/import_observable/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
46
2019-06-05T20:47:58.000Z
2022-03-29T10:18:01.000Z
plugins/anomali_threatstream/komand_anomali_threatstream/actions/import_observable/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
386
2019-06-07T20:20:39.000Z
2022-03-30T17:35:01.000Z
plugins/anomali_threatstream/komand_anomali_threatstream/actions/import_observable/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
43
2019-07-09T14:13:58.000Z
2022-03-28T12:04:46.000Z
# GENERATED BY KOMAND SDK - DO NOT EDIT import komand import json class Component: DESCRIPTION = "Import observable(s) into Anomali ThreatStream with approval" class Input: FILE = "file" OBSERVABLE_SETTINGS = "observable_settings" class Output: RESULTS = "results" class ImportObservableI...
28.488688
215
0.513977
571
6,296
5.583187
0.294221
0.043915
0.061167
0.034504
0.198871
0.198871
0.198871
0.198871
0.16813
0.16813
0
0.008483
0.344663
6,296
220
216
28.618182
0.764178
0.005877
0
0.328502
1
0.019324
0.922007
0.040115
0
0
0
0
0
1
0.009662
false
0
0.086957
0
0.149758
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
16a6cc579db685a8a411c51c09771255b3e6c2c9
366
py
Python
tests/fixtures.py
easyas314159/cnftools
67896cf3d17587accfc5ad7e30730fea2394f558
[ "MIT" ]
null
null
null
tests/fixtures.py
easyas314159/cnftools
67896cf3d17587accfc5ad7e30730fea2394f558
[ "MIT" ]
null
null
null
tests/fixtures.py
easyas314159/cnftools
67896cf3d17587accfc5ad7e30730fea2394f558
[ "MIT" ]
null
null
null
from itertools import chain def make_comparable(*clauses): return set((frozenset(c) for c in chain(*clauses))) def count_clauses(*clauses): total = 0 for subclauses in clauses: total += len(subclauses) return total def unique_literals(*clauses): literals = set() for clause in chain(*clauses): literals.upda...
21.529412
52
0.734973
53
366
5.018868
0.471698
0.052632
0.105263
0
0
0
0
0
0
0
0
0.003226
0.153005
366
16
53
22.875
0.854839
0
0
0
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0.076923
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
16a92c971c54838ec2fe27ba303cf0b8622f86ad
347
py
Python
vk/types/additional/active_offer.py
Inzilkin/vk.py
969f01e666c877c1761c3629a100768f93de27eb
[ "MIT" ]
24
2019-09-13T15:30:09.000Z
2022-03-09T06:35:59.000Z
vk/types/additional/active_offer.py
Inzilkin/vk.py
969f01e666c877c1761c3629a100768f93de27eb
[ "MIT" ]
null
null
null
vk/types/additional/active_offer.py
Inzilkin/vk.py
969f01e666c877c1761c3629a100768f93de27eb
[ "MIT" ]
12
2019-09-13T15:30:31.000Z
2022-03-01T10:13:32.000Z
from ..base import BaseModel # returned from https://vk.com/dev/account.getActiveOffers class ActiveOffer(BaseModel): id: str = None title: str = None instruction: str = None instruction_html: str = None short_description: str = None description: str = None img: str = None tag: str = ...
21.6875
58
0.665706
44
347
5.204545
0.568182
0.244541
0.157205
0
0
0
0
0
0
0
0
0
0.244957
347
15
59
23.133333
0.874046
0.161383
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.090909
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
16d35857ae1d82e14e5940b8e5331b8a6a44ca39
2,177
py
Python
neyesem/main.py
omerfarukbaysal/neyesem
f69bf4446ce902f00389c8d71f68e1b7db05f86d
[ "MIT" ]
null
null
null
neyesem/main.py
omerfarukbaysal/neyesem
f69bf4446ce902f00389c8d71f68e1b7db05f86d
[ "MIT" ]
null
null
null
neyesem/main.py
omerfarukbaysal/neyesem
f69bf4446ce902f00389c8d71f68e1b7db05f86d
[ "MIT" ]
null
null
null
from flask import Blueprint, render_template, redirect, url_for, request, flash, make_response from werkzeug.security import generate_password_hash from flask_login import login_required, current_user from . import db import datetime from .models import Visitor, User main = Blueprint('main', __name__) @main.route('/...
33.492308
120
0.692237
293
2,177
5.003413
0.361775
0.030696
0.028649
0.031378
0.072306
0.039563
0
0
0
0
0
0.002872
0.200276
2,177
64
121
34.015625
0.839173
0.143776
0
0.102041
1
0
0.077503
0
0
0
0
0
0
1
0.061224
false
0.081633
0.122449
0.020408
0.285714
0.040816
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
1
0
0
0
0
0
2
16d7e9187801937282012d38f8b28fd55938bd25
1,207
py
Python
database_files/views.py
den-gts/django-database-files-3000
0a135004427c021944b30ef8aace844ab20b9cfb
[ "BSD-3-Clause" ]
8
2016-12-11T02:24:21.000Z
2020-08-07T10:02:32.000Z
database_files/views.py
den-gts/django-database-files-3000
0a135004427c021944b30ef8aace844ab20b9cfb
[ "BSD-3-Clause" ]
41
2015-08-11T16:57:21.000Z
2022-01-18T19:19:41.000Z
database_files/views.py
den-gts/django-database-files-3000
0a135004427c021944b30ef8aace844ab20b9cfb
[ "BSD-3-Clause" ]
7
2015-08-02T05:32:41.000Z
2019-06-17T11:53:14.000Z
import base64 import mimetypes import os from django.conf import settings from django.http import Http404, HttpResponse from django.shortcuts import get_object_or_404 from django.views.decorators.cache import cache_control from django.views.static import serve as django_serve from database_files.models import File ...
29.439024
74
0.724109
163
1,207
5.233129
0.404908
0.058617
0.056272
0.032825
0
0
0
0
0
0
0
0.02045
0.189727
1,207
40
75
30.175
0.851738
0.156587
0
0
0
0
0.060081
0.02444
0
0
0
0
0
1
0.08
false
0
0.36
0
0.56
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
1
0
0
2
16d81711460bcdde5df04988352f117c180dbed8
19,516
py
Python
application/mod_user/forms.py
hackBCA/hackbcafour
971120ff88423cc660f92985790cddf9939838bf
[ "MIT" ]
2
2016-11-13T21:32:51.000Z
2017-03-22T02:50:26.000Z
application/mod_user/forms.py
hackBCA/hackbcafour
971120ff88423cc660f92985790cddf9939838bf
[ "MIT" ]
1
2021-02-08T20:18:59.000Z
2021-02-08T20:18:59.000Z
application/mod_user/forms.py
hackBCA/hackbcafour
971120ff88423cc660f92985790cddf9939838bf
[ "MIT" ]
null
null
null
from wtforms import Form, TextField, PasswordField, SelectField, TextAreaField, BooleanField, validators, ValidationError, RadioField import re phone_regex = "(\+\d+-?)?((\(?\d{3}\)?)|(\d{3}))-?\d{3}-?\d{4}$" gender_choices = [ ("", "Gender"), ("male", "Male"), ("female", "Female"), ("other", "Other"...
45.071594
269
0.645522
2,202
19,516
5.636694
0.124886
0.037383
0.060748
0.079439
0.747664
0.728005
0.670077
0.621898
0.606026
0.581453
0
0.007244
0.207727
19,516
432
270
45.175926
0.795499
0.106272
0
0.517241
0
0
0.319419
0.006373
0
0
0
0
0
1
0.018809
false
0.122257
0.00627
0
0.253919
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
16e3d9c0e2f0128dd26f1a69eb5d1f88d973387a
16,524
py
Python
sdk/python/pulumi_azure_native/storage/v20181101/blob_container.py
sebtelko/pulumi-azure-native
711ec021b5c73da05611c56c8a35adb0ce3244e4
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/storage/v20181101/blob_container.py
sebtelko/pulumi-azure-native
711ec021b5c73da05611c56c8a35adb0ce3244e4
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/storage/v20181101/blob_container.py
sebtelko/pulumi-azure-native
711ec021b5c73da05611c56c8a35adb0ce3244e4
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
50.53211
1,363
0.676834
1,946
16,524
5.473792
0.119219
0.04647
0.039429
0.035674
0.698273
0.604581
0.556703
0.436068
0.4003
0.366128
0
0.01302
0.223796
16,524
326
1,364
50.687117
0.81748
0.292423
0
0.38806
1
0
0.199819
0.09864
0
0
0
0
0
1
0.144279
false
0.004975
0.034826
0
0.283582
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
16e6fb3c075a8554e7e6d5fe5397106b44ef9bf3
311
py
Python
plugins/panorama/panorama/__init__.py
mohnjahoney/website_source
edc86a869b90ae604f32e736d9d5ecd918088e6a
[ "MIT" ]
13
2020-01-27T09:02:25.000Z
2022-01-20T07:45:26.000Z
plugins/panorama/panorama/__init__.py
mohnjahoney/website_source
edc86a869b90ae604f32e736d9d5ecd918088e6a
[ "MIT" ]
29
2020-03-22T06:57:57.000Z
2022-01-24T22:46:42.000Z
plugins/panorama/panorama/__init__.py
mohnjahoney/website_source
edc86a869b90ae604f32e736d9d5ecd918088e6a
[ "MIT" ]
6
2020-07-10T00:13:30.000Z
2022-01-26T08:22:33.000Z
# -*- coding: utf-8 -*- """ Panorama is a Pelican plugin to generate statistics from blog posts (number of posts per month, categories and so on) display them as beautiful charts. Project location: https://github.com/romainx/panorama """ __version__ = "0.2.0" __author__ = "romainx" from .panorama import *
22.214286
83
0.726688
44
311
4.954545
0.863636
0
0
0
0
0
0
0
0
0
0
0.015267
0.157556
311
13
84
23.923077
0.816794
0.736334
0
0
1
0
0.162162
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
bc60d0aa50b7ae50518bf50520f50484fbc32b50
572
py
Python
seagrass/hooks/__init__.py
kernelmethod/Seagrass
52c5f1852fb2d52b3d94411c2a49c3da6fab6c6c
[ "BSD-2-Clause" ]
null
null
null
seagrass/hooks/__init__.py
kernelmethod/Seagrass
52c5f1852fb2d52b3d94411c2a49c3da6fab6c6c
[ "BSD-2-Clause" ]
21
2021-06-07T20:10:46.000Z
2021-07-07T22:14:25.000Z
seagrass/hooks/__init__.py
kernelmethod/Seagrass
52c5f1852fb2d52b3d94411c2a49c3da6fab6c6c
[ "BSD-2-Clause" ]
null
null
null
# flake8: noqa: F401 from .context_manager_hook import ContextManagerHook from .counter_hook import CounterHook from .file_open_hook import FileOpenHook from .logging_hook import LoggingHook from .profiler_hook import ProfilerHook from .runtime_audit_hook import RuntimeAuditHook from .stack_trace_hook import StackTrace...
26
52
0.783217
61
572
7.065574
0.47541
0.208817
0
0
0
0
0
0
0
0
0
0.008214
0.148601
572
21
53
27.238095
0.876797
0.031469
0
0
0
0
0.173913
0
0
0
0
0
0
1
0
false
0
0.473684
0
0.473684
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
bc613b321946268bd365a901afc58d30c0ee1a72
3,549
py
Python
tests/test_internal.py
aschleg/hypy
d5b8451dcd24b803bbf2eebc46bc3acfd64d8edc
[ "MIT" ]
40
2018-08-04T15:36:31.000Z
2022-03-12T02:06:28.000Z
tests/test_internal.py
aschleg/hypy
d5b8451dcd24b803bbf2eebc46bc3acfd64d8edc
[ "MIT" ]
5
2018-06-17T12:44:59.000Z
2021-09-28T01:10:26.000Z
tests/test_internal.py
aschleg/hypy
d5b8451dcd24b803bbf2eebc46bc3acfd64d8edc
[ "MIT" ]
8
2018-08-19T14:28:44.000Z
2021-12-20T18:52:07.000Z
import pytest import numpy as np import pandas as pd from hypothetical._lib import _build_des_mat def test_array(): d = np.array([[1., 1.11, 2.569, 3.58, 0.76], [1., 1.19, 2.928, 3.75, 0.821], [1., 1.09, 2.865, 3.93, 0.928], [1., 1.25, 3.844, 3.94, 1.009], ...
39.876404
112
0.412511
639
3,549
2.197183
0.27543
0.081197
0.047009
0.049858
0.284188
0.238604
0.238604
0.188746
0.188746
0.127493
0
0.33259
0.367991
3,549
88
113
40.329545
0.293357
0
0
0.054795
0
0
0
0
0
0
0
0
0.109589
1
0.041096
false
0
0.054795
0
0.109589
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bc669999ddb0624f8b1b18f8677a007603269fec
122
py
Python
neslter/workflow/__init__.py
WHOIGit/nes-lter-ims
d4cc96c10da56ca33286af84d669625b67170522
[ "MIT" ]
3
2019-01-24T16:32:50.000Z
2021-11-05T02:18:12.000Z
neslter/workflow/__init__.py
WHOIGit/nes-lter-ims
d4cc96c10da56ca33286af84d669625b67170522
[ "MIT" ]
45
2019-05-23T15:15:32.000Z
2022-03-15T14:09:20.000Z
neslter/workflow/__init__.py
WHOIGit/nes-lter-ims
d4cc96c10da56ca33286af84d669625b67170522
[ "MIT" ]
null
null
null
import logging logger = logging.getLogger(__name__) logger.addHandler(logging.NullHandler()) logger.level = logging.DEBUG
24.4
40
0.819672
14
122
6.857143
0.642857
0
0
0
0
0
0
0
0
0
0
0
0.07377
122
5
41
24.4
0.849558
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bc73adc709a1a6dd422dd898ada82a431739cb7e
34,680
py
Python
sc2/unit.py
guliverza/AdditionalPylons
37336dcd1678c6cdfa22d881c2178ba65cb1fd61
[ "MIT" ]
null
null
null
sc2/unit.py
guliverza/AdditionalPylons
37336dcd1678c6cdfa22d881c2178ba65cb1fd61
[ "MIT" ]
null
null
null
sc2/unit.py
guliverza/AdditionalPylons
37336dcd1678c6cdfa22d881c2178ba65cb1fd61
[ "MIT" ]
null
null
null
from __future__ import annotations import warnings from typing import Any, Dict, List, Optional, Set, Tuple, Union, TYPE_CHECKING from .cache import property_immutable_cache, property_mutable_cache from .constants import ( transforming, IS_STRUCTURE, IS_LIGHT, IS_ARMORED, IS_BIOLOGICAL, IS_MECH...
37.37069
188
0.647953
4,512
34,680
4.812722
0.115913
0.04467
0.034538
0.033894
0.457149
0.373981
0.325443
0.247248
0.185494
0.150956
0
0.00503
0.260525
34,680
927
189
37.411003
0.841724
0.309631
0
0.313208
0
0
0.012177
0.002104
0
0
0
0.005394
0.003774
1
0.250943
false
0.009434
0.026415
0.011321
0.577358
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
1
0
0
2
bc7580cf9a167be668d4a125b31c0b817e88571f
5,731
py
Python
var/spack/repos/builtin/packages/thepeg/package.py
carlabguillen/spack
7070bb892f9bdb5cf9e76e0eecd64f6cc5f4695c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
1
2020-10-20T08:57:12.000Z
2020-10-20T08:57:12.000Z
var/spack/repos/builtin/packages/thepeg/package.py
carlabguillen/spack
7070bb892f9bdb5cf9e76e0eecd64f6cc5f4695c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
3
2022-03-09T09:15:39.000Z
2022-03-09T09:15:42.000Z
var/spack/repos/builtin/packages/thepeg/package.py
carlabguillen/spack
7070bb892f9bdb5cf9e76e0eecd64f6cc5f4695c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
1
2021-01-05T20:00:52.000Z
2021-01-05T20:00:52.000Z
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class Thepeg(AutotoolsPackage): """Toolkit for High Energy Physics Event Generation""" home...
55.105769
97
0.716105
548
5,731
7.463504
0.291971
0.035208
0.017604
0.027873
0.065281
0.050367
0.016626
0
0
0
0
0.322044
0.129297
5,731
103
98
55.640777
0.497595
0.440237
0
0.037736
0
0.018868
0.417586
0.181532
0
0
0
0
0
1
0.018868
false
0
0.018868
0
0.132075
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bc7679c1660ef9ceb329970fcb693da9107e9ae5
9,258
py
Python
vmca/python/get_cert.py
wfu8/lightwave
cf6a7417cd9807bfcf9bcd99c43c5b2eecf2d298
[ "Apache-2.0" ]
357
2015-04-20T00:16:30.000Z
2022-03-17T05:34:09.000Z
vmca/python/get_cert.py
wfu8/lightwave
cf6a7417cd9807bfcf9bcd99c43c5b2eecf2d298
[ "Apache-2.0" ]
38
2015-11-19T05:20:53.000Z
2022-03-31T07:21:59.000Z
vmca/python/get_cert.py
wfu8/lightwave
cf6a7417cd9807bfcf9bcd99c43c5b2eecf2d298
[ "Apache-2.0" ]
135
2015-04-21T15:23:21.000Z
2022-03-30T11:46:36.000Z
#!/usr/bin/env python # # Copyright © 2012-2016 VMware, Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the “License”); you may not # use this file except in compliance with the License. You may obtain a copy # of the License at http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
34.935849
89
0.625081
990
9,258
5.627273
0.315152
0.034464
0.020104
0.012565
0.132292
0.1007
0.085442
0.030156
0.030156
0.030156
0
0.004483
0.277166
9,258
264
90
35.068182
0.827854
0.153813
0
0.1375
0
0
0.119062
0.02036
0
0
0
0.007576
0
0
null
null
0.05625
0.01875
null
null
0.0125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
bc7927d63159c18366a26d654024afa30b73946a
1,893
py
Python
malib/agents/tabular/q_learning/base_tabular_agent.py
wwxFromTju/malib
7cd2a4af55cf1f56da8854e26ea7a4f3782ceea2
[ "MIT" ]
6
2021-05-19T10:25:36.000Z
2021-12-27T03:30:33.000Z
malib/agents/tabular/q_learning/base_tabular_agent.py
wwxFromTju/malib
7cd2a4af55cf1f56da8854e26ea7a4f3782ceea2
[ "MIT" ]
1
2021-05-29T04:51:37.000Z
2021-05-30T06:18:10.000Z
malib/agents/tabular/q_learning/base_tabular_agent.py
wwxFromTju/malib
7cd2a4af55cf1f56da8854e26ea7a4f3782ceea2
[ "MIT" ]
1
2021-06-30T10:53:03.000Z
2021-06-30T10:53:03.000Z
from abc import ABCMeta, abstractmethod import numpy as np class Agent(object): __metaclass__ = ABCMeta def __init__(self, name, id_, action_num, env): self.name = name self.id_ = id_ self.action_num = action_num # len(env.action_space[id_]) # self.opp_action_space = e...
27.434783
88
0.590597
252
1,893
4.202381
0.293651
0.093484
0.041549
0.05288
0.094429
0.094429
0.047214
0
0
0
0
0.008696
0.270998
1,893
68
89
27.838235
0.758696
0.129952
0
0.170213
0
0
0.025594
0
0
0
0
0
0.021277
1
0.255319
false
0.06383
0.042553
0.06383
0.468085
0.021277
0
0
0
null
0
0
0
0
0
0
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
1
0
0
0
0
0
2
bc92877f15ab8c1e45e6b3f0628b4c9b556c0100
4,271
py
Python
mars/tensor/fft/ifft.py
tomzhang/mars-1
6f1d85e37eb1b383251314cb0ba13e06288af03d
[ "Apache-2.0" ]
2
2019-03-29T04:11:10.000Z
2020-07-08T10:19:54.000Z
mars/tensor/fft/ifft.py
tomzhang/mars-1
6f1d85e37eb1b383251314cb0ba13e06288af03d
[ "Apache-2.0" ]
null
null
null
mars/tensor/fft/ifft.py
tomzhang/mars-1
6f1d85e37eb1b383251314cb0ba13e06288af03d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 1999-2020 Alibaba Group Holding Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-...
35.890756
91
0.657926
633
4,271
4.409163
0.402844
0.016123
0.018273
0.011465
0.058044
0.048011
0.016482
0
0
0
0
0.014844
0.227113
4,271
118
92
36.194915
0.830657
0.784828
0
0
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0.307692
0
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
bc945bd064cef2e58f31004f5a02ca29c75f9558
1,597
py
Python
dataxHWSp2021/HW3-4_NeuralNet/student/tests/q2b3.py
UCBerkeley-SCET/DataX-Berkeley
f912d22c838b511d3ada4ecfa3548afd80437b74
[ "Apache-2.0" ]
28
2020-06-15T23:53:36.000Z
2022-03-19T09:27:02.000Z
dataxHWSp2021/HW3-4_NeuralNet/student/tests/q2b3.py
UCBerkeley-SCET/DataX-Berkeley
f912d22c838b511d3ada4ecfa3548afd80437b74
[ "Apache-2.0" ]
4
2020-06-24T22:20:31.000Z
2022-02-28T01:37:36.000Z
dataxHWSp2021/HW3-4_NeuralNet/student/tests/q2b3.py
UCBerkeley-SCET/DataX-Berkeley
f912d22c838b511d3ada4ecfa3548afd80437b74
[ "Apache-2.0" ]
78
2020-06-19T09:41:01.000Z
2022-02-05T00:13:29.000Z
test = { 'name': 'q2b3', 'points': 5, 'suites': [ { 'cases': [ { 'code': '>>> ' 'histories_2b[2].model.count_params()\n' '119260', 'hidden': False, ...
55.068966
102
0.21603
74
1,597
4.527027
0.459459
0.164179
0.179104
0.191045
0.474627
0.41194
0.41194
0.41194
0.298507
0.298507
0
0.048689
0.665623
1,597
28
103
57.035714
0.578652
0
0
0.357143
0
0
0.226049
0.125235
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
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
2
bc96f541ad15eaf540c8e8c9a48800ebc1c0301c
1,427
py
Python
geotrek/appconfig.py
Cynthia-Borot-PNE/Geotrek-admin
abd9ca8569a7e35ef7473f5b52731b1c78668754
[ "BSD-2-Clause" ]
null
null
null
geotrek/appconfig.py
Cynthia-Borot-PNE/Geotrek-admin
abd9ca8569a7e35ef7473f5b52731b1c78668754
[ "BSD-2-Clause" ]
null
null
null
geotrek/appconfig.py
Cynthia-Borot-PNE/Geotrek-admin
abd9ca8569a7e35ef7473f5b52731b1c78668754
[ "BSD-2-Clause" ]
null
null
null
from django.apps import AppConfig from django.contrib.admin.apps import AdminConfig from django.contrib.auth.apps import AuthConfig from django.contrib.contenttypes.apps import ContentTypesConfig from django.contrib.sessions.apps import SessionsConfig from django.db.models.signals import post_migrate from django_celery...
27.442308
95
0.775753
162
1,427
6.722222
0.481481
0.064279
0.062443
0.031221
0.099174
0
0
0
0
0
0
0
0.15487
1,427
51
96
27.980392
0.902985
0.183602
0
0.2
0
0
0.048605
0.021602
0
0
0
0
0
1
0.04
false
0.2
0.32
0
0.72
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
1
0
0
0
0
2
bca72e22e6e8fe1739abb6f05b2ae3bdddd3d4b0
1,807
py
Python
get_active_LSPs.py
JNPRAutomate/northstar_SDN_controller_automation
09fb5b84eaa1cf939268b542239c9923520d99d3
[ "MIT" ]
3
2019-03-18T17:27:11.000Z
2020-01-22T15:39:18.000Z
get_active_LSPs.py
ksator/northstar_SDN_controller_automation
b78b304194bb64bc14a9c96235ae0792c974f1af
[ "MIT" ]
null
null
null
get_active_LSPs.py
ksator/northstar_SDN_controller_automation
b78b304194bb64bc14a9c96235ae0792c974f1af
[ "MIT" ]
2
2018-03-12T21:13:52.000Z
2020-11-20T23:16:31.000Z
# this python script makes a rest call to Juniper Northstar to get active LSPs # usage: python get_active_LSPs.py import json import requests from requests.auth import HTTPBasicAuth from pprint import pprint import yaml from requests.packages.urllib3.exceptions import InsecureRequestWarning requests.packages.urllib3...
37.645833
116
0.753735
253
1,807
5.166008
0.359684
0.100995
0.089518
0.091048
0.218822
0.179036
0.13619
0.084162
0.084162
0.084162
0
0.008647
0.10404
1,807
47
117
38.446809
0.798641
0.143885
0
0
0
0
0.237662
0.019481
0
0
0
0
0
0
null
null
0.064516
0.258065
null
null
0.064516
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
bcaa2cc3091f251f513b10ec7f23dc034c71de01
6,031
py
Python
hierarchical_foresight/env/environment.py
deepneuralmachine/google-research
d2ce2cf0f5c004f8d78bfeddf6e88e88f4840231
[ "Apache-2.0" ]
23,901
2018-10-04T19:48:53.000Z
2022-03-31T21:27:42.000Z
hierarchical_foresight/env/environment.py
deepneuralmachine/google-research
d2ce2cf0f5c004f8d78bfeddf6e88e88f4840231
[ "Apache-2.0" ]
891
2018-11-10T06:16:13.000Z
2022-03-31T10:42:34.000Z
hierarchical_foresight/env/environment.py
deepneuralmachine/google-research
d2ce2cf0f5c004f8d78bfeddf6e88e88f4840231
[ "Apache-2.0" ]
6,047
2018-10-12T06:31:02.000Z
2022-03-31T13:59:28.000Z
# coding=utf-8 # Copyright 2021 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
37.228395
80
0.636213
860
6,031
4.25
0.193023
0.109166
0.155951
0.223256
0.626539
0.605746
0.59699
0.588509
0.588509
0.575103
0
0.022213
0.216216
6,031
161
81
37.459627
0.751005
0.157519
0
0.721311
0
0
0.020717
0
0
0
0
0
0
1
0.057377
false
0
0.057377
0
0.172131
0.008197
0
0
0
null
0
0
1
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
2
bcc146cfb565fd0140a85d638082d12ef6686650
1,214
py
Python
plugins/redacted/migrations/0001_initial.py
2600box/harvest
57264c15a3fba693b4b58d0b6d4fbf4bd5453bbd
[ "Apache-2.0" ]
9
2019-03-26T14:50:00.000Z
2020-11-10T16:44:08.000Z
plugins/redacted/migrations/0001_initial.py
2600box/harvest
57264c15a3fba693b4b58d0b6d4fbf4bd5453bbd
[ "Apache-2.0" ]
22
2019-03-02T23:16:13.000Z
2022-02-27T10:36:36.000Z
plugins/redacted/migrations/0001_initial.py
2600box/harvest
57264c15a3fba693b4b58d0b6d4fbf4bd5453bbd
[ "Apache-2.0" ]
5
2019-04-24T00:51:30.000Z
2020-11-06T18:31:49.000Z
# Generated by Django 2.1.7 on 2019-02-17 14:50 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='RedactedClientConfig', fields=[ ('id', mode...
31.947368
114
0.538715
104
1,214
6.201923
0.557692
0.116279
0.088372
0.106977
0.244961
0.244961
0.244961
0.244961
0.244961
0.244961
0
0.023227
0.326194
1,214
37
115
32.810811
0.765281
0.037068
0
0.333333
1
0
0.107112
0.020566
0
0
0
0
0
1
0
false
0.066667
0.033333
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
bcc5a1b4f97e4fd31b1d8727fc7f8a5dcff9e43e
566,013
py
Python
REM/Tool/IDA 7.3/python/ida_hexrays.py
dodieboy/Np_class
af9ec993eda3c1e2bf70257c8384696bb64a5e9d
[ "MIT" ]
null
null
null
REM/Tool/IDA 7.3/python/ida_hexrays.py
dodieboy/Np_class
af9ec993eda3c1e2bf70257c8384696bb64a5e9d
[ "MIT" ]
null
null
null
REM/Tool/IDA 7.3/python/ida_hexrays.py
dodieboy/Np_class
af9ec993eda3c1e2bf70257c8384696bb64a5e9d
[ "MIT" ]
2
2021-03-30T00:46:58.000Z
2021-12-12T23:41:12.000Z
# This file was automatically generated by SWIG (http://www.swig.org). # Version 2.0.12 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. """ IDA Plugin SDK API wrapper: hexrays """ from sys import version_info if version_info >= (2,6,0): def sw...
29.641948
603
0.637696
76,138
566,013
4.204471
0.02573
0.129795
0.098313
0.045545
0.717344
0.604136
0.52406
0.448925
0.389117
0.35203
0
0.001155
0.250485
566,013
19,094
604
29.643501
0.753427
0.177061
0
0.289238
1
0
0.013218
0.000086
0
0
0.000025
0
0.002301
1
0.282975
false
0.001278
0.002684
0.003195
0.687372
0.014187
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
1
0
0
0
0
0
0
0
2
bcd4aa69ca55232166dab3fedc825cb402a37789
654
py
Python
generate/lib/run-firefox/firefox_runner.py
flamencist/browser-extensions
cc2424ce69c718f9f6b1fb0e6cd19759ba384591
[ "BSD-3-Clause" ]
102
2015-01-09T22:12:00.000Z
2021-04-21T01:18:51.000Z
generate/lib/run-firefox/firefox_runner.py
flamencist/browser-extensions
cc2424ce69c718f9f6b1fb0e6cd19759ba384591
[ "BSD-3-Clause" ]
17
2015-01-24T22:30:47.000Z
2020-11-19T01:13:32.000Z
generate/lib/run-firefox/firefox_runner.py
flamencist/browser-extensions
cc2424ce69c718f9f6b1fb0e6cd19759ba384591
[ "BSD-3-Clause" ]
33
2015-01-15T16:11:15.000Z
2021-06-11T12:15:29.000Z
import os import shutil import codecs import json from cuddlefish.runner import run_app from cuddlefish.rdf import RDFManifest def run(): original_harness_options = os.path.join('development', 'firefox', 'harness-options.json') backup_harness_options = os.path.join('development', 'firefox', 'harness-options-bak.jso...
28.434783
92
0.785933
88
654
5.613636
0.409091
0.226721
0.060729
0.12753
0.311741
0.311741
0.311741
0.226721
0.226721
0
0
0.001706
0.103976
654
22
93
29.727273
0.841297
0
0
0
0
0
0.166667
0.036697
0
0
0
0
0
1
0.055556
false
0
0.333333
0
0.388889
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
bce184e301b2a2454689f53c630fba1c6046cd36
18,709
py
Python
src/oci/log_analytics/models/log_analytics_association.py
Manny27nyc/oci-python-sdk
de60b04e07a99826254f7255e992f41772902df7
[ "Apache-2.0", "BSD-3-Clause" ]
249
2017-09-11T22:06:05.000Z
2022-03-04T17:09:29.000Z
src/oci/log_analytics/models/log_analytics_association.py
Manny27nyc/oci-python-sdk
de60b04e07a99826254f7255e992f41772902df7
[ "Apache-2.0", "BSD-3-Clause" ]
228
2017-09-11T23:07:26.000Z
2022-03-23T10:58:50.000Z
src/oci/log_analytics/models/log_analytics_association.py
Manny27nyc/oci-python-sdk
de60b04e07a99826254f7255e992f41772902df7
[ "Apache-2.0", "BSD-3-Clause" ]
224
2017-09-27T07:32:43.000Z
2022-03-25T16:55:42.000Z
# coding: utf-8 # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
31.443697
245
0.65685
2,171
18,709
5.370336
0.080608
0.044258
0.211425
0.093318
0.738485
0.616005
0.548074
0.420105
0.330732
0.2393
0
0.001336
0.279812
18,709
594
246
31.496633
0.86396
0.519376
0
0.096045
0
0
0.122978
0.016174
0
0
0
0
0
1
0.214689
false
0
0.011299
0.011299
0.372881
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
1
0
0
0
0
0
0
0
2
bce99600c76ca2d8cb9cc68164960e5e44460216
624
py
Python
p2/core/http.py
BeryJu/p2
80b5c6a821f90cef73d6e8cd3c6cdb05ffa86b27
[ "MIT" ]
null
null
null
p2/core/http.py
BeryJu/p2
80b5c6a821f90cef73d6e8cd3c6cdb05ffa86b27
[ "MIT" ]
null
null
null
p2/core/http.py
BeryJu/p2
80b5c6a821f90cef73d6e8cd3c6cdb05ffa86b27
[ "MIT" ]
null
null
null
"""p2 core http responses""" from wsgiref.util import FileWrapper from django.http import StreamingHttpResponse from p2.core.constants import ATTR_BLOB_MIME, ATTR_BLOB_SIZE_BYTES from p2.core.models import Blob class BlobResponse(StreamingHttpResponse): """Directly return blob's content. Optionally return as at...
36.705882
96
0.758013
85
624
5.317647
0.517647
0.070796
0.044248
0.075221
0.110619
0
0
0
0
0
0
0.014898
0.139423
624
16
97
39
0.826816
0.174679
0
0
0
0
0.071429
0
0
0
0
0
0
1
0.111111
false
0
0.444444
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
bcf313d0b0b9c2b0b509d979b3d7f59db6845dd5
81,110
py
Python
google-cloud-sdk/lib/googlecloudsdk/third_party/apis/datacatalog/v1beta1/datacatalog_v1beta1_messages.py
bopopescu/Social-Lite
ee05d6a7431c36ff582c8d6b58bb20a8c5f550bf
[ "Apache-2.0" ]
null
null
null
google-cloud-sdk/lib/googlecloudsdk/third_party/apis/datacatalog/v1beta1/datacatalog_v1beta1_messages.py
bopopescu/Social-Lite
ee05d6a7431c36ff582c8d6b58bb20a8c5f550bf
[ "Apache-2.0" ]
4
2020-07-21T12:51:46.000Z
2022-01-22T10:29:25.000Z
google-cloud-sdk/lib/googlecloudsdk/third_party/apis/datacatalog/v1beta1/datacatalog_v1beta1_messages.py
bopopescu/Social-Lite
ee05d6a7431c36ff582c8d6b58bb20a8c5f550bf
[ "Apache-2.0" ]
1
2020-07-25T18:17:57.000Z
2020-07-25T18:17:57.000Z
"""Generated message classes for datacatalog version v1beta1. A fully managed and highly scalable data discovery and metadata management service. """ # NOTE: This file is autogenerated and should not be edited by hand. from apitools.base.protorpclite import messages as _messages from apitools.base.py import encoding ...
42.644585
150
0.753051
9,310
81,110
6.494307
0.113963
0.04368
0.02514
0.015183
0.458089
0.407611
0.372664
0.350733
0.318663
0.306242
0
0.012289
0.178363
81,110
1,901
151
42.667017
0.894963
0.683393
0
0.28145
1
0
0.109663
0.093259
0
0
0
0
0
1
0
false
0
0.012793
0
0.707889
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
1
0
0
2
bcf5a205651a80f9d34336bef6e346a1933e40ae
689
py
Python
Django_Intershala/recruiter/migrations/0004_auto_20210305_1551.py
samir321-pixel/Django_Intershala
77aaa24a34873dab4c3302727d5f43986a99809e
[ "MIT" ]
7
2021-03-08T17:09:39.000Z
2021-12-30T09:44:44.000Z
Django_Intershala/recruiter/migrations/0004_auto_20210305_1551.py
samir321-pixel/Django_Intershala
77aaa24a34873dab4c3302727d5f43986a99809e
[ "MIT" ]
null
null
null
Django_Intershala/recruiter/migrations/0004_auto_20210305_1551.py
samir321-pixel/Django_Intershala
77aaa24a34873dab4c3302727d5f43986a99809e
[ "MIT" ]
2
2021-03-03T11:35:05.000Z
2021-03-22T17:00:16.000Z
# Generated by Django 3.1.7 on 2021-03-05 10:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('recruiter', '0003_auto_20210304_2132'), ] operations = [ migrations.RemoveField( model_name='recruiter', name='middl...
24.607143
62
0.576197
69
689
5.594203
0.57971
0.069948
0.139896
0.170984
0.445596
0.445596
0.227979
0.227979
0.227979
0
0
0.077895
0.310595
689
27
63
25.518519
0.734737
0.065312
0
0.47619
1
0
0.138629
0.035826
0
0
0
0
0
1
0
false
0
0.047619
0
0.190476
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4c02744bf60501dd6a24f21c67c4971193de0e1a
26,204
py
Python
appengine/monorail/api/v3/api_proto/projects_pb2.py
fknittel/git-retry-build
4d57dd6e8b7567daeb24b55f66bc5becd3d459f3
[ "BSD-3-Clause" ]
null
null
null
appengine/monorail/api/v3/api_proto/projects_pb2.py
fknittel/git-retry-build
4d57dd6e8b7567daeb24b55f66bc5becd3d459f3
[ "BSD-3-Clause" ]
4
2022-03-17T18:58:21.000Z
2022-03-17T18:58:22.000Z
appengine/monorail/api/v3/api_proto/projects_pb2.py
fknittel/git-retry-build
4d57dd6e8b7567daeb24b55f66bc5becd3d459f3
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: api/v3/api_proto/projects.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection f...
43.240924
2,750
0.781942
3,090
26,204
6.276052
0.082848
0.036199
0.053885
0.054298
0.671995
0.582581
0.536121
0.526943
0.523024
0.510236
0
0.038895
0.102236
26,204
605
2,751
43.312397
0.785462
0.036865
0
0.642857
1
0.014652
0.244984
0.208066
0
0
0
0
0
1
0
false
0
0.014652
0
0.014652
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4c131d63691e04e79320d304f39d4fe881bda148
1,850
py
Python
site-packages/skimage/io/tests/test_io.py
oz90210/Pyto
59f185149b71e57e5debeb1c9a61a28739e81720
[ "MIT" ]
null
null
null
site-packages/skimage/io/tests/test_io.py
oz90210/Pyto
59f185149b71e57e5debeb1c9a61a28739e81720
[ "MIT" ]
1
2020-04-25T20:36:07.000Z
2020-04-25T20:36:07.000Z
site-packages/skimage/io/tests/test_io.py
Wristlebane/Pyto
901ac307b68486d8289105c159ca702318bea5b0
[ "MIT" ]
null
null
null
import os import numpy as np from skimage import io, data_dir from skimage._shared import testing from skimage._shared.testing import assert_array_equal one_by_one_jpeg = ( b'\xff\xd8\xff\xe0\x00\x10JFIF\x00\x01\x01\x00\x00\x01' b'\x00\x01\x00\x00\xff\xdb\x00C\x00\x03\x02\x02\x02\x02' b'\x02\x03\x02\x02...
33.636364
70
0.677838
348
1,850
3.511494
0.350575
0.1473
0.169394
0.186579
0.082651
0.082651
0.082651
0.077741
0.077741
0.060556
0
0.165073
0.151892
1,850
54
71
34.259259
0.613767
0.158378
0
0
0
0.305556
0.403226
0.395484
0
0
0
0
0.111111
1
0.111111
false
0
0.138889
0
0.25
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4c32edf19e346b501323693f4025d8d4782f7d64
973
py
Python
server/glassface/facebookfriender/views.py
theopak/glassface
bcb6c02636bda069d604a4da1dd09222e99be356
[ "MIT" ]
1
2017-02-24T16:18:24.000Z
2017-02-24T16:18:24.000Z
server/glassface/facebookfriender/views.py
theopak/glassface
bcb6c02636bda069d604a4da1dd09222e99be356
[ "MIT" ]
null
null
null
server/glassface/facebookfriender/views.py
theopak/glassface
bcb6c02636bda069d604a4da1dd09222e99be356
[ "MIT" ]
null
null
null
import os import platform import subprocess from django.http import HttpResponse from django.conf import settings def add(request, friend): phantomjs = os.path.join(settings.PROJECT_PATH, 'glassface', 'facebookfriender', platform.system(), 'phantomjs') script = os.path.join(settings.PROJECT_PATH, 'glassface'...
38.92
137
0.732785
113
973
6.230089
0.415929
0.034091
0.056818
0.102273
0.497159
0.414773
0.414773
0.414773
0.414773
0.414773
0
0
0.140802
973
24
138
40.541667
0.842105
0
0
0.1
0
0
0.194245
0
0
0
0
0
0
0
null
null
0.1
0.25
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
4c43f28c0f9c6fae0da417c39d88b7b2698c63a6
5,775
py
Python
tests/fixtures.py
ehelms/system-baseline-backend
729cc8ba53119a7ed397fb3ea3d46f9ecedb8528
[ "Apache-2.0" ]
null
null
null
tests/fixtures.py
ehelms/system-baseline-backend
729cc8ba53119a7ed397fb3ea3d46f9ecedb8528
[ "Apache-2.0" ]
null
null
null
tests/fixtures.py
ehelms/system-baseline-backend
729cc8ba53119a7ed397fb3ea3d46f9ecedb8528
[ "Apache-2.0" ]
null
null
null
""" decoded AUTH_HEADER (newlines added for readability): { "identity": { "account_number": "1234", "internal": { "org_id": "5678" }, "type": "User", "user": { "email": "test@example.com", "first_name": "Firstname", "is_active":...
31.557377
81
0.66303
421
5,775
8.876485
0.496437
0.008563
0.014718
0.008563
0.077067
0.077067
0.055124
0.055124
0.055124
0.055124
0
0.101836
0.207619
5,775
182
82
31.730769
0.714816
0.115671
0
0.131148
0
0
0.673027
0.508456
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4c55db68c1c667219febb6705164366e8f8c7adb
18,439
py
Python
ADPTC_LIB/DPTree_ST.py
SuilandCoder/ADPTC_LIB
ef5c2b7fcf117c8c90a3841489471289ecbf4562
[ "MIT" ]
null
null
null
ADPTC_LIB/DPTree_ST.py
SuilandCoder/ADPTC_LIB
ef5c2b7fcf117c8c90a3841489471289ecbf4562
[ "MIT" ]
null
null
null
ADPTC_LIB/DPTree_ST.py
SuilandCoder/ADPTC_LIB
ef5c2b7fcf117c8c90a3841489471289ecbf4562
[ "MIT" ]
null
null
null
#%% import numpy as np import copy import matplotlib.pyplot as plt import time def split_cluster_new(tree,local_density,dc_eps,closest_denser_nodes_id,mixin_near_matrix): ''' dc_eps: density_connectivity 阈值 使用父子节点的直接距离,与子节点与兄弟节点的连通距离进行聚簇划分; 使用平均密度划分outlier 返回: outlier_f...
38.575314
186
0.633548
2,384
18,439
4.53146
0.10151
0.058317
0.025919
0.03499
0.453022
0.386004
0.325002
0.296955
0.257521
0.239008
0
0.007211
0.277998
18,439
477
187
38.656184
0.803801
0.054721
0
0.318452
0
0
0.001432
0
0
0
0
0.002096
0
0
null
null
0.077381
0.011905
null
null
0.017857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
4c6339b396838bba425536d8c48a53a76850151f
956
py
Python
records/12-09/ffff.py
AaronYang2333/CSCI_570
03e34ce5ff192fc94612bc3afb51dcab3e854462
[ "Apache-2.0" ]
36
2020-07-25T00:13:25.000Z
2022-02-28T17:48:15.000Z
records/12-09/ffff.py
AaronYang2333/LeetCode
03e34ce5ff192fc94612bc3afb51dcab3e854462
[ "Apache-2.0" ]
6
2020-06-06T04:39:37.000Z
2021-04-03T01:45:39.000Z
records/12-09/ffff.py
AaronYang2333/LeetCode
03e34ce5ff192fc94612bc3afb51dcab3e854462
[ "Apache-2.0" ]
16
2020-12-16T02:38:16.000Z
2022-02-28T17:48:16.000Z
__author__ = 'Aaron Yang' __email__ = 'byang971@usc.edu' __date__ = '12/9/2020 4:18 PM' from abc import abstractmethod class Product(object): @abstractmethod def setMsg(self, msg="default info"): self.msg = msg @abstractmethod def info(self): print(self.msg) class DefaultObj(Produ...
16.20339
41
0.624477
109
956
5.183486
0.385321
0.090265
0.074336
0.095575
0.19469
0.099115
0
0
0
0
0
0.018031
0.245816
956
58
42
16.482759
0.765603
0
0
0.243243
0
0
0.084728
0
0
0
0
0
0
1
0.216216
false
0
0.027027
0.081081
0.513514
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
4c64de6df990440fb9bf292eb702bdb614dfcfae
22,653
py
Python
utils.py
atward424/ASCVD_ML
39404dd5f50a527576b91e8f53f5157f76382712
[ "Apache-2.0" ]
1
2021-04-08T07:05:18.000Z
2021-04-08T07:05:18.000Z
utils.py
atward424/ASCVD_ML
39404dd5f50a527576b91e8f53f5157f76382712
[ "Apache-2.0" ]
null
null
null
utils.py
atward424/ASCVD_ML
39404dd5f50a527576b91e8f53f5157f76382712
[ "Apache-2.0" ]
1
2021-04-08T07:07:53.000Z
2021-04-08T07:07:53.000Z
import numpy as np import pandas as pd import scipy.stats as st #from medical_ML import Experiment import matplotlib.pyplot as plt import xgboost as xgb from sklearn.ensemble import RandomForestClassifier, GradientBoostingClassifier from sklearn.dummy import DummyClassifier from sklearn.tree import DecisionTreeClassif...
48.821121
147
0.382201
2,032
22,653
4.077756
0.144685
0.025947
0.026068
0.030413
0.749336
0.704562
0.680546
0.668477
0.659184
0.659184
0
0.086124
0.455657
22,653
464
148
48.821121
0.585841
0.475125
0
0.480769
0
0
0.106664
0
0
0
0
0
0
1
0.033654
false
0
0.072115
0
0.110577
0.004808
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4c69488448856c1dbc829f26d69379083cb5c7c7
600
py
Python
tests/conftest.py
pkavousi/similar-users
8434e0a03dc8dfa218a34601431c564dff3e80b6
[ "FTL", "RSA-MD" ]
null
null
null
tests/conftest.py
pkavousi/similar-users
8434e0a03dc8dfa218a34601431c564dff3e80b6
[ "FTL", "RSA-MD" ]
null
null
null
tests/conftest.py
pkavousi/similar-users
8434e0a03dc8dfa218a34601431c564dff3e80b6
[ "FTL", "RSA-MD" ]
null
null
null
import os import pandas as pd import pytest from user_similarity_model.config.core import DATASET_DIR, config @pytest.fixture() def sample_local_data(): """AI is creating summary for sample_local_data Returns: [Dict]: This function returns a dictionary with CSV files which in dataset folder...
27.272727
78
0.716667
89
600
4.674157
0.629213
0.072115
0.072115
0
0
0
0
0
0
0
0
0.004228
0.211667
600
21
79
28.571429
0.875264
0.405
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
d5d580ea25dd4fecd8cfeb8103bdbe268c389416
2,961
py
Python
vitrage/evaluator/template_data.py
HoonMinJeongUm/Hunmin-vitrage
37d43d6b78e8b76fa6a2e83e5c739e9e4917a7b6
[ "Apache-2.0" ]
null
null
null
vitrage/evaluator/template_data.py
HoonMinJeongUm/Hunmin-vitrage
37d43d6b78e8b76fa6a2e83e5c739e9e4917a7b6
[ "Apache-2.0" ]
null
null
null
vitrage/evaluator/template_data.py
HoonMinJeongUm/Hunmin-vitrage
37d43d6b78e8b76fa6a2e83e5c739e9e4917a7b6
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 - Nokia # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, sof...
27.933962
77
0.667342
323
2,961
6.006192
0.312694
0.061856
0.043299
0.037113
0.113402
0.05567
0.05567
0
0
0
0
0.0036
0.249578
2,961
105
78
28.2
0.869487
0.196217
0
0.173913
0
0
0.035095
0
0
0
0
0
0
1
0.217391
false
0
0.014493
0.101449
0.362319
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
d5d6cadbdf0418e7793af6364477d1005bd12ded
327
py
Python
movies/exceptions.py
te0dor/netguru-movies
8e2cc4585851ad31794ec9e6a3e4dd70cc0980c5
[ "MIT" ]
null
null
null
movies/exceptions.py
te0dor/netguru-movies
8e2cc4585851ad31794ec9e6a3e4dd70cc0980c5
[ "MIT" ]
null
null
null
movies/exceptions.py
te0dor/netguru-movies
8e2cc4585851ad31794ec9e6a3e4dd70cc0980c5
[ "MIT" ]
null
null
null
from marshmallow.exceptions import ValidationError class ObjectDoesNotExist(Exception): """Exception if not found results""" pass class CommunicationError(Exception): """Exception for diferents problem with communications.""" pass __all__ = ('ValidationError', 'ObjectDoesNotExist', 'CommunicationE...
21.8
73
0.75841
28
327
8.714286
0.714286
0.147541
0
0
0
0
0
0
0
0
0
0
0.146789
327
14
74
23.357143
0.874552
0.253823
0
0.333333
0
0
0.218884
0
0
0
0
0
0
1
0
false
0.333333
0.166667
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
d5d98de44dcdd3336c05cb1bd2a44010685446b0
4,505
py
Python
pytpp/properties/response_objects/system_status.py
Venafi/pytpp
42af655b2403b8c9447c86962abd4aaa0201f646
[ "MIT" ]
4
2022-02-04T23:58:55.000Z
2022-02-15T18:53:08.000Z
pytpp/properties/response_objects/system_status.py
Venafi/pytpp
42af655b2403b8c9447c86962abd4aaa0201f646
[ "MIT" ]
null
null
null
pytpp/properties/response_objects/system_status.py
Venafi/pytpp
42af655b2403b8c9447c86962abd4aaa0201f646
[ "MIT" ]
null
null
null
from pytpp.properties.response_objects.dataclasses import system_status from pytpp.tools.helpers.date_converter import from_date_string class SystemStatus: @staticmethod def Engine(response_object: dict): if not isinstance(response_object, dict): response_object = {} return system_...
42.102804
116
0.668368
460
4,505
6.26087
0.195652
0.311111
0.236111
0.06875
0.556944
0.477431
0.450347
0.426042
0.4125
0.336806
0
0
0.227747
4,505
106
117
42.5
0.827824
0
0
0.428571
0
0
0.089456
0.004661
0
0
0
0
0
1
0.087912
false
0
0.021978
0
0.208791
0
0
0
0
null
1
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
2
d5dac56aef00dcc6cc7a0b56db80a25f82caafb4
3,357
py
Python
testrail_client/api/configurations.py
tonybearpan/testrail-lib
267070bd017bb1d80ac40e1b84ea40dc2c2e3956
[ "MIT" ]
null
null
null
testrail_client/api/configurations.py
tonybearpan/testrail-lib
267070bd017bb1d80ac40e1b84ea40dc2c2e3956
[ "MIT" ]
null
null
null
testrail_client/api/configurations.py
tonybearpan/testrail-lib
267070bd017bb1d80ac40e1b84ea40dc2c2e3956
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from .base import TestRailAPIBase class Config(TestRailAPIBase): """ Use the following API methods to request details ...
36.48913
165
0.597557
398
3,357
4.879397
0.193467
0.084964
0.08033
0.032441
0.751287
0.681771
0.61792
0.600927
0.523687
0.471164
0
0.007331
0.309205
3,357
91
166
36.89011
0.830099
0.488531
0
0.153846
0
0
0.125639
0.03214
0
0
0
0
0
1
0.384615
false
0
0.038462
0.038462
0.846154
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
1
0
0
2
d5db929efd07ee76ec7142cbf1f91188279ae61e
1,104
py
Python
tests/asserts_wrapper.py
QARancher/k8s_client
b290caa5db12498ed9fbb2c972ab20141ff2c401
[ "Unlicense" ]
null
null
null
tests/asserts_wrapper.py
QARancher/k8s_client
b290caa5db12498ed9fbb2c972ab20141ff2c401
[ "Unlicense" ]
4
2020-05-05T14:42:33.000Z
2020-05-10T08:15:28.000Z
tests/asserts_wrapper.py
QARancher/k8s_client
b290caa5db12498ed9fbb2c972ab20141ff2c401
[ "Unlicense" ]
null
null
null
def assert_not_none(actual_result, message=""): if not message: message = f"{actual_result} resulted with None" assert actual_result, message def assert_equal(actual_result, expected_result, message=""): if not message: message = f"{actual_result} is not equal to expected " \ ...
35.612903
78
0.701087
147
1,104
5.013605
0.22449
0.097693
0.081411
0.128901
0.404342
0.332429
0.214383
0.122117
0.122117
0
0
0
0.209239
1,104
30
79
36.8
0.844215
0
0
0.227273
0
0
0.253623
0
0
0
0
0
0.454545
1
0.227273
false
0
0
0
0.227273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
2
d5dbc4975d95ff84c0f9a2e3857f8af1ed9103e1
40,713
py
Python
tools/proto/transaction_pb2.py
ctring/Detock
a1171a511d9cd1f79cc3a8d54ec17f759d088de4
[ "MIT" ]
null
null
null
tools/proto/transaction_pb2.py
ctring/Detock
a1171a511d9cd1f79cc3a8d54ec17f759d088de4
[ "MIT" ]
null
null
null
tools/proto/transaction_pb2.py
ctring/Detock
a1171a511d9cd1f79cc3a8d54ec17f759d088de4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: proto/transaction.proto """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from goo...
42.277259
4,079
0.759315
5,119
40,713
5.684313
0.071303
0.060004
0.106433
0.090006
0.66606
0.603753
0.588013
0.578322
0.577016
0.577016
0
0.042362
0.12679
40,713
962
4,080
42.321206
0.776124
0.018053
0
0.643094
1
0.00442
0.179734
0.135414
0
0
0
0
0
1
0
false
0
0.005525
0
0.005525
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d5eeb5cec1758e31f96e4ef111f8b5ec32383697
1,189
py
Python
register/views.py
angel-vazquez25/My-Backlog-Handler
60880cfc6bcc5a7fb2d5c752c11bdfe741f76531
[ "MIT" ]
3
2021-05-11T20:56:41.000Z
2022-03-15T01:26:13.000Z
register/views.py
angel-vazquez25/My-Backlog-Handler
60880cfc6bcc5a7fb2d5c752c11bdfe741f76531
[ "MIT" ]
null
null
null
register/views.py
angel-vazquez25/My-Backlog-Handler
60880cfc6bcc5a7fb2d5c752c11bdfe741f76531
[ "MIT" ]
1
2021-05-19T15:46:32.000Z
2021-05-19T15:46:32.000Z
import datetime from django.contrib.auth import logout from django.shortcuts import render, redirect from .forms import RegisterForm from django.http import HttpResponse from django.contrib.auth.forms import AuthenticationForm from django.conf import settings from django.contrib.auth import authenticate, login from dj...
33.971429
91
0.641716
126
1,189
6
0.444444
0.10582
0.089947
0.083333
0.071429
0
0
0
0
0
0
0.001164
0.277544
1,189
34
92
34.970588
0.878929
0.081581
0
0.153846
0
0
0.057958
0.020239
0
0
0
0
0
1
0.038462
false
0.038462
0.384615
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
d5f79839ee8447226cf398d9edd00a635f9c473c
499
py
Python
simone/person/management.py
zuhalcakir/simone
88e04e6a228570d7d2a4c8bbf683e4903eeb592b
[ "BSD-3-Clause" ]
16
2015-03-27T12:39:23.000Z
2020-05-09T13:10:24.000Z
simone/person/management.py
zuhalcakir/simone
88e04e6a228570d7d2a4c8bbf683e4903eeb592b
[ "BSD-3-Clause" ]
2
2016-09-03T18:22:01.000Z
2018-01-04T12:20:01.000Z
simone/person/management.py
zuhalcakir/simone
88e04e6a228570d7d2a4c8bbf683e4903eeb592b
[ "BSD-3-Clause" ]
8
2015-08-26T18:17:54.000Z
2017-05-17T13:28:32.000Z
#from django.dispatch import dispatcher #def UserProfilePostInsert(sender, instance, signal, *args, **kwargs): #""" #Inserts a blank imap server entry (if necessary) and associates it with the user #""" #user = instance #i = user.get_profile().imap_servers.create() #user.get_profile().about = '...
33.266667
85
0.707415
63
499
5.52381
0.714286
0.04023
0.08046
0
0
0
0
0
0
0
0
0
0.168337
499
14
86
35.642857
0.838554
0.881764
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
91041f909c9548e67cfcf291bb438d3ff51c9d02
1,207
py
Python
src/PtDb/test.py
ptphp/PyLib
07ac99cf2deb725475f5771b123b9ea1375f5e65
[ "Apache-2.0" ]
1
2020-02-17T08:18:29.000Z
2020-02-17T08:18:29.000Z
src/PtDb/test.py
ptphp/PyLib
07ac99cf2deb725475f5771b123b9ea1375f5e65
[ "Apache-2.0" ]
null
null
null
src/PtDb/test.py
ptphp/PyLib
07ac99cf2deb725475f5771b123b9ea1375f5e65
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding=utf-8 -*- ''' Created on 2013-3-31 @author: Joseph ''' import PtDb if __name__ == '__main__': PtDb.config = { 'sqlite':{ 'type':'sqlite', 'dbname':"data1.db" }, ...
30.175
60
0.351284
89
1,207
4.651685
0.573034
0.096618
0.062802
0.10628
0.371981
0.371981
0.371981
0.371981
0.371981
0.371981
0
0.045902
0.494615
1,207
40
61
30.175
0.632787
0.033969
0
0.451613
0
0
0.246209
0
0
0
0
0
0
0
null
null
0.064516
0.032258
null
null
0.064516
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
910b7a1f1887af22123d521897d29cfa202ce555
397
py
Python
tests/constants.py
eigenein/sqlitemap
25846178dee90cfe45a2bc951309301bc7f3694b
[ "MIT" ]
4
2020-04-28T05:48:05.000Z
2020-10-05T06:56:13.000Z
tests/constants.py
eigenein/sqlitemap
25846178dee90cfe45a2bc951309301bc7f3694b
[ "MIT" ]
1
2019-04-02T20:13:55.000Z
2019-04-02T20:45:26.000Z
tests/constants.py
eigenein/sqlitemap
25846178dee90cfe45a2bc951309301bc7f3694b
[ "MIT" ]
null
null
null
# See also: https://stackoverflow.com/questions/3694276/what-are-valid-table-names-in-sqlite good_table_names = [ 'foo', '123abc', '123abc.txt', '123abc-ABC.txt', 'foo""bar', '😀', '_sqlite', ] # See also: https://stackoverflow.com/questions/3694276/what-are-valid-table-names-in-sqlite bad_...
20.894737
92
0.622166
49
397
4.918367
0.469388
0.165975
0.099585
0.207469
0.614108
0.614108
0.614108
0.614108
0.614108
0.614108
0
0.070769
0.18136
397
18
93
22.055556
0.667692
0.455919
0
0
0
0
0.361502
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
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
2
910ef698981e05b36f0d36710e6f745c6eeb2055
3,017
py
Python
dags/oss_know/oss_know_dags/dags_github/dag_github_init_issues_timeline.py
ynang/airflow-jobs-1
857e9dfbc2444dc1d23dd2b0463fe89108f01b89
[ "Apache-2.0" ]
4
2022-01-24T11:27:39.000Z
2022-02-25T11:44:10.000Z
dags/oss_know/oss_know_dags/dags_github/dag_github_init_issues_timeline.py
linruoma/airflow-jobs-1
25d3996c6d11ee2d8f93ff2b73abcf83da986804
[ "Apache-2.0" ]
13
2021-12-17T12:14:11.000Z
2022-02-24T07:01:08.000Z
dags/oss_know/oss_know_dags/dags_github/dag_github_init_issues_timeline.py
linruoma/airflow-jobs-1
25d3996c6d11ee2d8f93ff2b73abcf83da986804
[ "Apache-2.0" ]
13
2022-01-19T09:30:03.000Z
2022-03-02T10:45:07.000Z
from datetime import datetime from airflow import DAG from airflow.operators.python import PythonOperator # v0.0.1 from oss_know.libs.base_dict.variable_key import NEED_INIT_GITHUB_ISSUES_TIMELINE_REPOS, GITHUB_TOKENS, \ OPENSEARCH_CONN_DATA, PROXY_CONFS from oss_know.libs.util.proxy import KuaiProxyService, Prox...
40.226667
111
0.705668
347
3,017
5.688761
0.259366
0.163121
0.202634
0.231003
0.375887
0.264438
0.046606
0.046606
0
0
0
0.004292
0.22771
3,017
74
112
40.77027
0.842918
0.009944
0
0.037736
0
0
0.077748
0.053284
0
0
0
0
0
1
0.037736
false
0
0.169811
0.018868
0.245283
0
0
0
0
null
0
1
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
2
911286f14d1a282acaf40a71af59fdf1cfb8d6e8
901
py
Python
pyopenproject/business/services/command/configuration/find.py
webu/pyopenproject
40b2cb9fe0fa3f89bc0fe2a3be323422d9ecf966
[ "MIT" ]
5
2021-02-25T15:54:28.000Z
2021-04-22T15:43:36.000Z
pyopenproject/business/services/command/configuration/find.py
webu/pyopenproject
40b2cb9fe0fa3f89bc0fe2a3be323422d9ecf966
[ "MIT" ]
7
2021-03-15T16:26:23.000Z
2022-03-16T13:45:18.000Z
pyopenproject/business/services/command/configuration/find.py
webu/pyopenproject
40b2cb9fe0fa3f89bc0fe2a3be323422d9ecf966
[ "MIT" ]
6
2021-06-18T18:59:11.000Z
2022-03-27T04:58:52.000Z
from pyopenproject.api_connection.exceptions.request_exception import RequestError from pyopenproject.api_connection.requests.get_request import GetRequest from pyopenproject.business.exception.business_error import BusinessError from pyopenproject.business.services.command.configuration.configuration_command import Co...
39.173913
108
0.760266
91
901
7.351648
0.472527
0.127055
0.059791
0.089686
0
0
0
0
0
0
0
0
0.170921
901
22
109
40.954545
0.895582
0.104329
0
0
0
0
0.052296
0
0
0
0
0
0
1
0.142857
false
0
0.357143
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
911b8570dbe4dd13160970c51c2cd287f8cc9dae
4,147
py
Python
myuw/test/views/test_rest_search.py
uw-it-aca/myuw
3fa1fabeb3c09d81a049f7c1a8c94092d612438a
[ "Apache-2.0" ]
18
2015-02-04T01:09:11.000Z
2021-11-25T03:10:39.000Z
myuw/test/views/test_rest_search.py
uw-it-aca/myuw
3fa1fabeb3c09d81a049f7c1a8c94092d612438a
[ "Apache-2.0" ]
2,323
2015-01-15T19:45:10.000Z
2022-03-21T19:57:06.000Z
myuw/test/views/test_rest_search.py
uw-it-aca/myuw
3fa1fabeb3c09d81a049f7c1a8c94092d612438a
[ "Apache-2.0" ]
9
2015-01-15T19:29:26.000Z
2022-02-11T04:51:23.000Z
# Copyright 2021 UW-IT, University of Washington # SPDX-License-Identifier: Apache-2.0 # -*- coding: utf-8 -*- from django.test.utils import override_settings from django.urls import reverse from myuw.test.api import MyuwApiTest @override_settings( RESTCLIENTS_ADMIN_AUTH_MODULE='rc_django.tests.can_proxy_restcli...
39.875
77
0.613214
433
4,147
5.766744
0.256351
0.120144
0.184221
0.072087
0.64998
0.639968
0.440529
0.412495
0.412495
0.412495
0
0.059459
0.24162
4,147
103
78
40.262136
0.734499
0.041235
0
0.480519
0
0.012987
0.322231
0.185718
0
0
0
0
0.25974
1
0.012987
false
0.051948
0.038961
0
0.064935
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
1
0
0
0
0
0
2
91291f525e80342e370d1b3f81196a52f9108a77
786
py
Python
cards/migrations/0012_auto_20180331_1348.py
mhndlsz/memodrop
7ba39143c8e4fbe67881b141accedef535e936e6
[ "MIT" ]
18
2018-04-15T14:01:25.000Z
2022-03-16T14:57:28.000Z
cards/migrations/0012_auto_20180331_1348.py
mhndlsz/memodrop
7ba39143c8e4fbe67881b141accedef535e936e6
[ "MIT" ]
null
null
null
cards/migrations/0012_auto_20180331_1348.py
mhndlsz/memodrop
7ba39143c8e4fbe67881b141accedef535e936e6
[ "MIT" ]
4
2018-04-15T14:16:12.000Z
2020-08-10T14:31:48.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.10 on 2018-03-31 13:48 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cards', '0011_auto_20180319_1112'), ] operations = [ migrations.AlterField...
25.354839
68
0.577608
78
786
5.641026
0.564103
0.136364
0.170455
0.197727
0.393182
0.252273
0
0
0
0
0
0.061706
0.298982
786
30
69
26.2
0.736842
0.087786
0
0.391304
1
0
0.106443
0.032213
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
9133898a696d152066b05333d948605fe60ac07e
988
py
Python
jazzpos/admin.py
AhmadManzoor/jazzpos
7b771095b8df52d036657f33f36a97efb575d36c
[ "MIT" ]
5
2015-12-05T15:39:51.000Z
2020-09-16T20:14:29.000Z
jazzpos/admin.py
AhmadManzoor/jazzpos
7b771095b8df52d036657f33f36a97efb575d36c
[ "MIT" ]
null
null
null
jazzpos/admin.py
AhmadManzoor/jazzpos
7b771095b8df52d036657f33f36a97efb575d36c
[ "MIT" ]
2
2019-11-23T17:47:46.000Z
2022-01-14T11:05:21.000Z
from django.contrib import admin from django.contrib.auth.admin import UserAdmin from django.contrib.auth.models import User from django_tablib.admin import TablibAdmin from jazzpos.models import Customer, Patient, Store, CustomerType, StoreSettings from jazzpos.models import UserProfile class CustomerAdmin(TablibAd...
26
80
0.798583
109
988
7.229358
0.330275
0.079949
0.129442
0.091371
0.073604
0
0
0
0
0
0
0
0.106275
988
37
81
26.702703
0.892412
0
0
0.192308
0
0
0.012146
0
0
0
0
0
0
1
0
false
0.115385
0.230769
0
0.576923
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
1
0
0
2
9142c85805b0c1a34b37861799a56fa0542af061
2,706
py
Python
ros/src/tl_detector/light_classification/tl_classifier.py
PhilippHafe/CarND-Capstone
9f933c817b11e7a093c3f2b07fad10710f7eb551
[ "MIT" ]
null
null
null
ros/src/tl_detector/light_classification/tl_classifier.py
PhilippHafe/CarND-Capstone
9f933c817b11e7a093c3f2b07fad10710f7eb551
[ "MIT" ]
null
null
null
ros/src/tl_detector/light_classification/tl_classifier.py
PhilippHafe/CarND-Capstone
9f933c817b11e7a093c3f2b07fad10710f7eb551
[ "MIT" ]
null
null
null
from styx_msgs.msg import TrafficLight import tensorflow as tf import numpy as np import datetime class TLClassifier(object): def __init__(self): PATH_TO_CKPT = "light_classification/frozen_inference_graph.pb" self.graph = tf.Graph() self.threshold = 0.5 with self.graph.as_default(...
39.217391
109
0.631929
328
2,706
5.015244
0.32622
0.04924
0.036474
0.054711
0.176292
0.089362
0.060182
0
0
0
0
0.007526
0.263489
2,706
68
110
39.794118
0.817863
0.023282
0
0.042553
0
0
0.104889
0.019223
0
0
0
0.014706
0
0
null
null
0
0.106383
null
null
0.06383
0
0
0
null
0
0
0
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
1
0
0
0
0
0
0
0
0
2
9150df9e1d1933653f868e837eeb00ed20e37c8b
277
py
Python
tests/test_vimeodl.py
binary-signal/vimeo-channel-downloader
7c2ded9d07b2b698f4e52558ba7dc327c2827b6c
[ "BSD-3-Clause" ]
6
2019-06-05T17:06:17.000Z
2020-02-16T15:11:11.000Z
tests/test_vimeodl.py
binary-signal/vimeo-channel-downloader
7c2ded9d07b2b698f4e52558ba7dc327c2827b6c
[ "BSD-3-Clause" ]
1
2020-12-03T16:05:21.000Z
2020-12-03T16:05:21.000Z
tests/test_vimeodl.py
binary-signal/vimeo-channel-downloader
7c2ded9d07b2b698f4e52558ba7dc327c2827b6c
[ "BSD-3-Clause" ]
3
2018-07-06T10:04:08.000Z
2019-06-05T17:07:25.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from vimeodl import __version__ from vimeodl.vimeo import VimeoLinkExtractor, VimeoDownloader def test_version(): assert __version__ == '0.1.0' def test_vimeo_link_extractor(): vm = VimeoLinkExtractor() vm.extract()
21.307692
61
0.722022
34
277
5.529412
0.676471
0.117021
0
0
0
0
0
0
0
0
0
0.017094
0.155235
277
12
62
23.083333
0.786325
0.151625
0
0
0
0
0.021459
0
0
0
0
0
0.142857
1
0.285714
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
e66fe14aa361b0d83b0ed955a7d77eeda49c3b80
571
py
Python
face2anime/nb_utils.py
davidleonfdez/face2anime
896bf85a7aa28322cc9e9e586685db8cbbf39d89
[ "MIT" ]
null
null
null
face2anime/nb_utils.py
davidleonfdez/face2anime
896bf85a7aa28322cc9e9e586685db8cbbf39d89
[ "MIT" ]
1
2022-01-15T23:57:33.000Z
2022-01-15T23:57:33.000Z
face2anime/nb_utils.py
davidleonfdez/face2anime
896bf85a7aa28322cc9e9e586685db8cbbf39d89
[ "MIT" ]
null
null
null
import importlib __all__ = ['mount_gdrive'] def mount_gdrive() -> str: """Mount Google Drive storage of the current Google account and return the root path. Functionality only available in Google Colab Enviroment; otherwise, it raises a RuntimeError. """ if (importlib.util.find_spec("google.colab")...
28.55
97
0.712785
75
571
5.293333
0.6
0.110831
0.080605
0
0
0
0
0
0
0
0
0
0.196147
571
19
98
30.052632
0.864924
0.309982
0
0
0
0
0.300792
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
e6820129758b4a88f3d5692d1d9e3fcd58b99051
3,806
py
Python
ad2/Actor.py
ariadnepinheiro/Disease_Simulator
e875036f4b0485575327463a17f4282487350cb3
[ "MIT" ]
4
2020-11-06T22:28:51.000Z
2022-02-24T10:40:26.000Z
ad2/Actor.py
ariadnepinheiro/Disease_Simulator
e875036f4b0485575327463a17f4282487350cb3
[ "MIT" ]
null
null
null
ad2/Actor.py
ariadnepinheiro/Disease_Simulator
e875036f4b0485575327463a17f4282487350cb3
[ "MIT" ]
2
2021-03-07T20:26:42.000Z
2021-12-14T03:17:22.000Z
#!/usr/bin/env python # coding: UTF-8 # # @package Actor # @author Ariadne Pinheiro # @date 26/08/2020 # # Actor class, which is the base class for Disease objects. # ## class Actor: # Holds the value of the next "free" id. __ID = 0 ## # Construct a new Actor object. # - Sets the initial values of...
27.781022
86
0.584078
507
3,806
4.282051
0.282051
0.049747
0.041456
0.038692
0.208199
0.124367
0.080147
0.080147
0.080147
0.080147
0
0.013878
0.318445
3,806
136
87
27.985294
0.823053
0.516027
0
0.095238
0
0
0.056604
0
0
0
0
0
0
1
0.238095
false
0
0
0.119048
0.428571
0.02381
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2