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
79691bce4dc890e74c7a68da0c9e5dd258306068
812
py
Python
gqn/mathematics.py
musyoku/chainer-gqn-playground
657bb931d2c531ff8f078fcb1686bbf1999afa7f
[ "MIT" ]
null
null
null
gqn/mathematics.py
musyoku/chainer-gqn-playground
657bb931d2c531ff8f078fcb1686bbf1999afa7f
[ "MIT" ]
null
null
null
gqn/mathematics.py
musyoku/chainer-gqn-playground
657bb931d2c531ff8f078fcb1686bbf1999afa7f
[ "MIT" ]
null
null
null
import math def yaw(eye, center): eye_x, eye_z = eye[0], eye[2] center_x, center_z = center[0], center[2] eye_direction = (center_x - eye_x, center_z - eye_z) frontward_direction = (0, 1) norm_eye = math.sqrt(eye_direction[0] * eye_direction[0] + eye_direction[1] * eye_dir...
33.833333
72
0.594828
122
812
3.754098
0.204918
0.31441
0.141921
0.144105
0.19869
0
0
0
0
0
0
0.053068
0.257389
812
24
73
33.833333
0.706468
0
0
0.1
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.05
0
0.25
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
796fb3b1d443ec6b9556ee1e163c5e1668a897fd
2,149
py
Python
tests/test_docstyle.py
michaelgale/pdfdoc-py
21d23fa7aa8da02ccaa6777ff10ff82af6d5c849
[ "MIT" ]
1
2021-07-15T23:31:01.000Z
2021-07-15T23:31:01.000Z
tests/test_docstyle.py
michaelgale/pdfdoc-py
21d23fa7aa8da02ccaa6777ff10ff82af6d5c849
[ "MIT" ]
null
null
null
tests/test_docstyle.py
michaelgale/pdfdoc-py
21d23fa7aa8da02ccaa6777ff10ff82af6d5c849
[ "MIT" ]
1
2021-01-20T11:36:26.000Z
2021-01-20T11:36:26.000Z
# Sample Test passing with nose and pytest import os import sys import pytest from pdfdoc import * _test_dict = {"left-margin": 2, "right-margin": 3, "horz-align": "left"} def test_docstyle_attr(): s1 = DocStyle() a1 = s1.get_attr("nonexistant") assert a1 is None a1 = s1.get_attr("nonexistant", 7) ...
30.267606
72
0.65007
322
2,149
4.158385
0.248447
0.113518
0.115011
0.100822
0.333084
0.115011
0.053025
0.053025
0.053025
0
0
0.048499
0.194044
2,149
70
73
30.7
0.724596
0.018613
0
0.070175
0
0
0.22971
0.015662
0
0
0
0
0.54386
1
0.052632
false
0
0.070175
0
0.122807
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
7974c984d1f6e8e25afa2a3ae04d4ee509d8e489
696
py
Python
torrentscraper/webscrapers/utils/rarbg_bypass/captcha_handler.py
AsiganTheSunk/python-torrent-scrapper
30f27962e795840b82d47398e05664429829ff2b
[ "Apache-2.0" ]
5
2018-05-19T06:18:01.000Z
2020-01-14T23:17:30.000Z
torrentscraper/webscrapers/utils/rarbg_bypass/captcha_handler.py
AsiganTheSunk/python-torrent-scrapper
30f27962e795840b82d47398e05664429829ff2b
[ "Apache-2.0" ]
9
2018-05-24T01:02:46.000Z
2020-02-13T22:35:43.000Z
torrentscraper/webscrapers/utils/rarbg_bypass/captcha_handler.py
AsiganTheSunk/python-torrent-scrapper
30f27962e795840b82d47398e05664429829ff2b
[ "Apache-2.0" ]
null
null
null
import os import pytesseract import requests from PIL import Image # Get CAPTCHA image & extract text class CaptchaHandler: def __init__(self): self.filename = 'solved_captcha.png' def get_captcha(self, src): img = requests.get(src) with open(self.filename, 'wb') as captcha_image: ...
25.777778
72
0.658046
83
696
5.337349
0.506024
0.081264
0
0
0
0
0
0
0
0
0
0
0.268678
696
26
73
26.769231
0.870334
0.08908
0
0
0
0
0.031696
0
0
0
0
0
0
1
0.15
false
0
0.2
0
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7977db55d0fcdfebb2330f9085be07fb21e0f8a0
342
py
Python
Python_for_Everybody-Coursera/CHAPTER_6/Lecture/exx.py
andresdelarosa1887/Public-Projects
db8d8e0c0f5f0f7326346462fcdfe21ce8142a12
[ "Unlicense" ]
1
2020-09-29T17:29:34.000Z
2020-09-29T17:29:34.000Z
Python_for_Everybody-Coursera/CHAPTER_6/Lecture/exx.py
andresdelarosa1887/Public-Projects
db8d8e0c0f5f0f7326346462fcdfe21ce8142a12
[ "Unlicense" ]
null
null
null
Python_for_Everybody-Coursera/CHAPTER_6/Lecture/exx.py
andresdelarosa1887/Public-Projects
db8d8e0c0f5f0f7326346462fcdfe21ce8142a12
[ "Unlicense" ]
null
null
null
#Parsing and Extracting data= "From Stephen.marquard@uct.ac.za Sat Jan 5 09:14:16 2008" atpos= data.find("@") print(atpos) atss= data.find(" ",atpos) #here it starts at 21 and then goes and find the next space print(atss) host= data[atpos+1: atss] #Now we are extracting the part that we are interested in print(host) #...
31.090909
86
0.736842
64
342
3.9375
0.65625
0.039683
0.055556
0
0
0
0
0
0
0
0
0.047945
0.146199
342
10
87
34.2
0.815068
0.459064
0
0
0
0
0.314917
0.143646
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
797b0eb9fba680857bf723d0b93435c25d05abfe
392
py
Python
lib/PDCurses/man/manext.py
neophyt1983/Walball
efd83833aa728cb268d71c595aa0329d31469bd7
[ "MIT" ]
null
null
null
lib/PDCurses/man/manext.py
neophyt1983/Walball
efd83833aa728cb268d71c595aa0329d31469bd7
[ "MIT" ]
null
null
null
lib/PDCurses/man/manext.py
neophyt1983/Walball
efd83833aa728cb268d71c595aa0329d31469bd7
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys BAR = '\n\n' + ('-' * 74) + '\n\n' for f in sys.argv: inman = False for line in open(f): if inman: if line.startswith('**man-end'): inman = False sys.stdout.write(BAR) else: sys.stdout.write(line)...
21.777778
45
0.466837
49
392
3.734694
0.55102
0.021858
0.185792
0
0
0
0
0
0
0
0
0.008264
0.382653
392
17
46
23.058824
0.747934
0.05102
0
0.153846
0
0
0.080863
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
797bed5dc50cdf81e50d064bb7ca6adc3b64697d
3,835
py
Python
tests/test_vectors.py
poikilos/kivy3
e3364b39ec61a69aa31bf88e77fadaa148359ec6
[ "MIT" ]
20
2017-04-21T18:26:53.000Z
2021-09-29T12:23:51.000Z
tests/test_vectors.py
poikilos/kivy3
e3364b39ec61a69aa31bf88e77fadaa148359ec6
[ "MIT" ]
8
2020-04-27T11:12:38.000Z
2022-03-13T16:31:28.000Z
tests/test_vectors.py
poikilos/kivy3
e3364b39ec61a69aa31bf88e77fadaa148359ec6
[ "MIT" ]
8
2017-05-27T15:57:26.000Z
2021-07-29T10:43:13.000Z
import unittest import math from kivy3 import Vector3, Vector4, Vector2 # good values for vector 3, 4, 12, 84 class Vector3Test(unittest.TestCase): def test_create(self): v = Vector3(1, 2, 3) self.assertEquals(v[0], 1) self.assertEquals(v[1], 2) self.assertEquals(v[2], 3) ...
24.902597
63
0.496219
547
3,835
3.436929
0.155393
0.215426
0.153191
0.026596
0.387234
0.344681
0.32234
0.28617
0.193617
0.112766
0
0.113553
0.359322
3,835
153
64
25.065359
0.651608
0.015385
0
0.284553
0
0
0.040562
0
0
0
0
0
0.308943
1
0.113821
false
0.04065
0.02439
0
0.154472
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
797ed51b0c0b3fe24bb894bb283940c30d6e184a
543
py
Python
algorithms/python/icube_root.py
rik0/rk-exempla
811f859a0980b0636bbafa2656893d988c4d0e32
[ "MIT" ]
1
2017-02-20T21:04:47.000Z
2017-02-20T21:04:47.000Z
algorithms/python/icube_root.py
rik0/rk-exempla
811f859a0980b0636bbafa2656893d988c4d0e32
[ "MIT" ]
null
null
null
algorithms/python/icube_root.py
rik0/rk-exempla
811f859a0980b0636bbafa2656893d988c4d0e32
[ "MIT" ]
2
2017-02-20T21:04:49.000Z
2021-05-18T11:29:16.000Z
import numbers import sys MAX_INT = sys.maxsize def isign(x, y): t = y >> 31 return (abs(x) ^ t)-t def icube_root(x): if x < 0: x = -x sign = -1 else: sign = 1 if isinstance(x, numbers.Integral) and : s = 30 y = 0 while s >= 0: y *= 2 ...
18.1
46
0.372007
77
543
2.597403
0.428571
0.03
0
0
0
0
0
0
0
0
0
0.054945
0.497238
543
29
47
18.724138
0.677656
0
0
0.076923
0
0
0
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
798206837a38ef8f4c4c3290cbb0738bac36cbe6
1,324
py
Python
io_base/yaml_io.py
miguelgfierro/pybase
de8e4f11ed5c655e748178e65195c7e70a9c98af
[ "BSD-3-Clause" ]
14
2020-02-07T21:36:39.000Z
2022-03-12T22:37:04.000Z
io_base/yaml_io.py
miguelgfierro/pybase
de8e4f11ed5c655e748178e65195c7e70a9c98af
[ "BSD-3-Clause" ]
19
2019-05-18T23:58:30.000Z
2022-01-09T16:45:35.000Z
io_base/yaml_io.py
miguelgfierro/pybase
de8e4f11ed5c655e748178e65195c7e70a9c98af
[ "BSD-3-Clause" ]
5
2020-10-06T06:10:27.000Z
2021-07-08T12:58:46.000Z
import yaml def save_file(data, filename, block_style=True): """Save a dictionary as a YAML file Args: data (dict): A dictionary. filename (str): Name of the file. block_style (bool): If True, with unnested dictionaries, it saves the data with the block format. If False, ...
28.782609
118
0.568731
176
1,324
4.221591
0.454545
0.043069
0.032301
0.034993
0.139973
0.139973
0.07537
0
0
0
0
0.035752
0.281722
1,324
45
119
29.422222
0.745531
0.685801
0
0
0
0
0.006803
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
79874aecfdbf988f4f7e4cbf4970d9f3c750947e
966
py
Python
tests/test_parser.py
asteinh/SymPathY
52cca41baf09c65914f01cc58d92adcc365dc15f
[ "MIT" ]
null
null
null
tests/test_parser.py
asteinh/SymPathY
52cca41baf09c65914f01cc58d92adcc365dc15f
[ "MIT" ]
1
2020-04-25T11:53:42.000Z
2020-04-26T14:27:49.000Z
tests/test_parser.py
asteinh/SymPathY
52cca41baf09c65914f01cc58d92adcc365dc15f
[ "MIT" ]
null
null
null
import pytest from sympathor.parser import ParsePaths class TestParser(): @pytest.fixture(params=[ ('tests/files/test_ok_1.svg', True), # multiple paths ('tests/files/test_ok_2.svg', True), # no paths ('tests/files/test_ok_3.svg', True), # no svg tag ('tests/files/test_ok_4.svg'...
35.777778
67
0.576605
132
966
4.090909
0.424242
0.12963
0.181481
0.148148
0.218519
0
0
0
0
0
0
0.034286
0.275362
966
26
68
37.153846
0.737143
0.083851
0
0.086957
0
0
0.259977
0.208666
0
0
0
0
0.043478
1
0.086957
false
0
0.086957
0.043478
0.26087
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
798ac749cc15288b1f1a9d3979acac23c44d3f27
2,024
py
Python
tests/test_requirements.py
blue-yonder/devpi-builder
ea5e0b8720577d78412b873665e8da36512ea09d
[ "BSD-3-Clause" ]
55
2015-01-08T22:46:24.000Z
2022-03-13T04:50:14.000Z
tests/test_requirements.py
blue-yonder/devpi-builder
ea5e0b8720577d78412b873665e8da36512ea09d
[ "BSD-3-Clause" ]
115
2015-01-05T00:57:03.000Z
2022-03-25T11:52:19.000Z
tests/test_requirements.py
blue-yonder/devpi-builder
ea5e0b8720577d78412b873665e8da36512ea09d
[ "BSD-3-Clause" ]
22
2015-01-10T21:37:21.000Z
2020-11-03T08:25:14.000Z
# coding=utf-8 import pytest from devpi_builder import requirements def test_read_requirements(): expected = [ ('progressbar', '2.2'), ('six', '1.7.3') ] assert expected == requirements.read_exact_versions('tests/fixture/sample_simple.txt') def test_multiple_versions(): expected = ...
31.138462
101
0.733202
277
2,024
5.018051
0.205776
0.071223
0.102878
0.179856
0.682014
0.648201
0.606475
0.531655
0.530216
0.34964
0
0.027826
0.147727
2,024
64
102
31.625
0.777971
0.005929
0
0.190476
0
0
0.21791
0.131841
0
0
0
0
0.333333
1
0.190476
false
0
0.047619
0
0.238095
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7990900e1dcfd36984c6bc693942f00b65524ebd
10,671
py
Python
GNU-Radio/qam_encoder.py
IgrikXD/SDR-Exp
74f5c64002bba919d19a6cd1a586fd09bc76b603
[ "MIT" ]
7
2020-05-26T12:09:01.000Z
2022-02-15T21:38:38.000Z
GNU-Radio/qam_encoder.py
IgrikXD/SDR-Exp
74f5c64002bba919d19a6cd1a586fd09bc76b603
[ "MIT" ]
null
null
null
GNU-Radio/qam_encoder.py
IgrikXD/SDR-Exp
74f5c64002bba919d19a6cd1a586fd09bc76b603
[ "MIT" ]
1
2020-10-04T22:12:05.000Z
2020-10-04T22:12:05.000Z
#!/usr/bin/env python2 # -*- coding: utf-8 -*- ################################################## # GNU Radio Python Flow Graph # Title: QAM-Encoder # Author: Ihar Yatsevich # GNU Radio version: 3.7.13.5 ################################################## if __name__ == '__main__': import ctypes import sys ...
37.573944
153
0.643239
1,462
10,671
4.337893
0.191518
0.03532
0.034059
0.03532
0.466887
0.320719
0.225639
0.152318
0.11211
0.074898
0
0.029591
0.217787
10,671
283
154
37.706714
0.730202
0.021554
0
0.153846
0
0
0.037414
0.003891
0.004525
0
0
0
0
0
null
null
0.004525
0.099548
null
null
0.004525
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
799223936d0f33d6591b8cf81f9d97e7d8f0eda3
5,173
py
Python
components/windows/saveui.py
Kiraixda/Restore
0fcf1cc7a96cd88012d11de1cb8a6562b821bf8d
[ "MIT" ]
null
null
null
components/windows/saveui.py
Kiraixda/Restore
0fcf1cc7a96cd88012d11de1cb8a6562b821bf8d
[ "MIT" ]
null
null
null
components/windows/saveui.py
Kiraixda/Restore
0fcf1cc7a96cd88012d11de1cb8a6562b821bf8d
[ "MIT" ]
null
null
null
# modules import os, datetime import tkinter as tk import colors as c from tkinter import * from tkinter import messagebox from PIL import Image, ImageTk # files from components.widgets.better_button import Better_button from components.widgets.better_entry import Better_entry # saveui class class SaveUI(tk.Tk): ...
41.055556
92
0.419292
498
5,173
4.240964
0.248996
0.012784
0.014205
0.019886
0.33286
0.307292
0.256155
0.200284
0.200284
0.200284
0
0.019564
0.486178
5,173
125
93
41.384
0.775019
0.016045
0
0.32
0
0
0.045258
0
0
0
0
0
0
1
0.03
false
0.07
0.08
0
0.12
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7995543935e3dcfea0da39f3b1cfaf7e27162cd2
2,253
py
Python
phylobook/urls.py
MullinsLab/phylobook
2844295748586bfef4a4b4416018d5792ed9786d
[ "MIT" ]
null
null
null
phylobook/urls.py
MullinsLab/phylobook
2844295748586bfef4a4b4416018d5792ed9786d
[ "MIT" ]
null
null
null
phylobook/urls.py
MullinsLab/phylobook
2844295748586bfef4a4b4416018d5792ed9786d
[ "MIT" ]
null
null
null
"""phylobook URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
44.176471
114
0.733245
304
2,253
5.279605
0.296053
0.033645
0.049844
0.056075
0.145794
0.072897
0.046729
0
0
0
0
0.005089
0.12783
2,253
50
115
45.06
0.811705
0.320905
0
0
0
0
0.248684
0.088158
0
0
0
0
0
1
0
false
0.222222
0.222222
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
799cf441685304ee2d59fe767870b9289ffb03c1
1,182
py
Python
utils/passlib_pbkdf2_sha512_wrapper.py
bowlofstew/bii-server
9abc558b1ba9722088e22a4937a224cfcc3c5f22
[ "MIT" ]
27
2015-04-15T09:40:26.000Z
2020-04-29T06:24:06.000Z
utils/passlib_pbkdf2_sha512_wrapper.py
bowlofstew/bii-server
9abc558b1ba9722088e22a4937a224cfcc3c5f22
[ "MIT" ]
2
2015-06-03T20:19:51.000Z
2015-06-30T20:40:14.000Z
utils/passlib_pbkdf2_sha512_wrapper.py
bowlofstew/bii-server
9abc558b1ba9722088e22a4937a224cfcc3c5f22
[ "MIT" ]
10
2015-08-06T08:17:28.000Z
2020-09-29T17:02:57.000Z
# HISTORICAL USE FOR: # Django stores the password in DB with 128 characters. This is a "standard" for Django, # because the password attribute of User class is defined in AbstractBaseUser class and # this can't be override. # We use 'biicode' as algorithm for Django. Django determines the hasher with the first # para...
36.9375
91
0.739425
164
1,182
5.27439
0.457317
0.069364
0.039306
0
0
0
0
0
0
0
0
0.054471
0.176819
1,182
31
92
38.129032
0.834532
0.499154
0
0
0
0
0.050611
0.036649
0
0
0
0
0
1
0.153846
false
0.461538
0.076923
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
0
0
1
0
0
0
0
0
1
799e5d659dbca1b7836daba8d241a16c8de8d757
15,818
py
Python
SEEmailPy.py
sptennak/EmailAnalyzer
9b9bd8c783d20fca8d2418db5d30f721fa74b17d
[ "Apache-2.0" ]
1
2018-09-27T09:31:48.000Z
2018-09-27T09:31:48.000Z
SEEmailPy.py
sptennak/EmailAnalyzer
9b9bd8c783d20fca8d2418db5d30f721fa74b17d
[ "Apache-2.0" ]
null
null
null
SEEmailPy.py
sptennak/EmailAnalyzer
9b9bd8c783d20fca8d2418db5d30f721fa74b17d
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon ‎May 21 21:08:09 2018 @author: Sumudu Tennakoon """ # System Utilities import os import io import sys import gc import traceback # Email and Text processing import email from email.header import decode_header import re import uuid # unique ID # Data handling and analytics ...
46.116618
198
0.445568
1,271
15,818
5.480724
0.27144
0.026845
0.030146
0.017083
0.27304
0.248206
0.218633
0.155039
0.120873
0.115705
0
0.013094
0.333734
15,818
343
199
46.116618
0.647784
0.114996
0
0.347328
0
0
0.124664
0.01764
0
0
0
0
0
1
0.015267
false
0.09542
0.045802
0
0.076336
0.007634
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
79a69e476729cf7e3dcfff6f80c54cd31cfdfe29
326
py
Python
tests/src/year2020/test_day06a.py
lancelote/advent_of_code
06dda6ca034bc1e86addee7798bb9b2a34ff565b
[ "Unlicense" ]
10
2017-12-11T17:54:52.000Z
2021-12-09T20:16:30.000Z
tests/src/year2020/test_day06a.py
lancelote/advent_of_code
06dda6ca034bc1e86addee7798bb9b2a34ff565b
[ "Unlicense" ]
260
2015-12-09T11:03:03.000Z
2021-12-12T14:32:23.000Z
tests/src/year2020/test_day06a.py
lancelote/advent_of_code
06dda6ca034bc1e86addee7798bb9b2a34ff565b
[ "Unlicense" ]
null
null
null
"""2020 - Day 6 Part 1: Custom Customs.""" from textwrap import dedent from src.year2020.day06a import solve def test_solve(): task = dedent( """ abc a b c ab ac a a a a b """ ) assert solve(task) ...
11.642857
42
0.420245
37
326
3.675676
0.702703
0.044118
0.044118
0
0
0
0
0
0
0
0
0.085366
0.496933
326
27
43
12.074074
0.743902
0.110429
0
0
0
0
0
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
79ac9aef97a967386153281a27eb98e824176c24
3,027
py
Python
sentestpt.py
EiSandi/microsoftcognitiveapi
0def833233d269efd5b50ad825a67f278623b257
[ "Apache-2.0" ]
null
null
null
sentestpt.py
EiSandi/microsoftcognitiveapi
0def833233d269efd5b50ad825a67f278623b257
[ "Apache-2.0" ]
null
null
null
sentestpt.py
EiSandi/microsoftcognitiveapi
0def833233d269efd5b50ad825a67f278623b257
[ "Apache-2.0" ]
null
null
null
# Simple program that demonstrates how to invoke Azure ML Text Analytics API: key phrases, language and sentiment detection. import urllib2 import urllib import sys import base64 import json # Azure portal URL. base_url = 'https://westus.api.cognitive.microsoft.com/' # Your account key goes here. account_key = '0d89...
35.197674
195
0.67889
372
3,027
5.419355
0.330645
0.024802
0.019841
0.020833
0.227679
0.217262
0.217262
0.178571
0.130952
0.130952
0
0.038375
0.121903
3,027
86
196
35.197674
0.72009
0.400396
0
0.307692
0
0
0.219799
0.114094
0
0
0
0
0
0
null
null
0
0.128205
null
null
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
79b33f0a09938eac290de2cbafb875eb1cf9c9ba
364
py
Python
Scripts/Sabnzbd/pushnotification.py
ainsey11/Datacrapper
a5243ce64f6fd080aca9a2ef592b8b610c0ba170
[ "Apache-2.0" ]
null
null
null
Scripts/Sabnzbd/pushnotification.py
ainsey11/Datacrapper
a5243ce64f6fd080aca9a2ef592b8b610c0ba170
[ "Apache-2.0" ]
3
2018-02-11T13:15:56.000Z
2018-03-09T13:17:45.000Z
Scripts/Sabnzbd/pushnotification.py
ainsey11/Datacrapper
a5243ce64f6fd080aca9a2ef592b8b610c0ba170
[ "Apache-2.0" ]
1
2018-03-09T13:00:05.000Z
2018-03-09T13:00:05.000Z
import sys try: (scriptname, notification_type, notification_title, notification_text, parameters) = sys.argv except: print "No commandline parameters found" sys.exit(1) import requests messageurl = "http://localhost/api/pushnotif.php?name="+str(notification_title)+str(notification_text) r = r...
28
102
0.752747
45
364
5.955556
0.666667
0.126866
0
0
0
0
0
0
0
0
0
0.003215
0.145604
364
12
103
30.333333
0.858521
0
0
0
0
0
0.195055
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
79b9d776330f19b5eadad1e86d341aec701ad3db
10,845
py
Python
modules/withdrawal.py
icreator/shopForBTCMerchant
a5cb6ec7f3f444a3fa36447fe9d44394e34b7bdd
[ "MIT" ]
null
null
null
modules/withdrawal.py
icreator/shopForBTCMerchant
a5cb6ec7f3f444a3fa36447fe9d44394e34b7bdd
[ "MIT" ]
null
null
null
modules/withdrawal.py
icreator/shopForBTCMerchant
a5cb6ec7f3f444a3fa36447fe9d44394e34b7bdd
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf8 #from gluon import * import shops_lib # берем адреса на возврат или выплату из таблицы и # формируем send_many # комиссию тут не учитываем - не вычитаем ! - при создании записей на возврат это надо делать?? def return_refused(db, curr, xcurr, conn, curr_block, table): ...
40.924528
121
0.609774
1,503
10,845
4.27678
0.259481
0.024269
0.011201
0.014001
0.316895
0.253889
0.230554
0.22542
0.190573
0.152925
0
0.008943
0.298847
10,845
264
122
41.079545
0.836402
0.352328
0
0.185897
0
0
0.080708
0.007801
0
0
0
0
0
0
null
null
0
0.00641
null
null
0.051282
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
79c90e187824298ae1870b65270a45e0af166b16
3,270
py
Python
nix/third-party/gRPC-haskell/tests/test-client.py
rickibm/daml
679d42a21bce320e11ccbba77fbb8d29a2b38db9
[ "Apache-2.0" ]
null
null
null
nix/third-party/gRPC-haskell/tests/test-client.py
rickibm/daml
679d42a21bce320e11ccbba77fbb8d29a2b38db9
[ "Apache-2.0" ]
null
null
null
nix/third-party/gRPC-haskell/tests/test-client.py
rickibm/daml
679d42a21bce320e11ccbba77fbb8d29a2b38db9
[ "Apache-2.0" ]
1
2018-10-12T03:51:39.000Z
2018-10-12T03:51:39.000Z
from simple_pb2 import * from uuid import uuid4 import random import Queue print "Starting python client" channel = beta_implementations.insecure_channel('localhost', 50051) stub = beta_create_SimpleService_stub(channel) def runTests(): # Test normal call: return a sum of all numbers sent to it print "Test 1...
39.878049
144
0.654128
412
3,270
5.11165
0.274272
0.037987
0.031339
0.048433
0.325261
0.246914
0.153846
0.153846
0.128205
0.128205
0
0.039951
0.257492
3,270
81
145
40.37037
0.82743
0.131804
0
0.225806
0
0
0.141546
0
0
0
0
0
0.129032
0
null
null
0
0.064516
null
null
0.193548
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
79cb8641113c51c526462646ba101d5ee978d74d
555
py
Python
tests/command/test_command_register.py
aprezcuba24/zunzun
cc294d9dfb84695be0ed1425cf946a0f4ea644a9
[ "MIT" ]
null
null
null
tests/command/test_command_register.py
aprezcuba24/zunzun
cc294d9dfb84695be0ed1425cf946a0f4ea644a9
[ "MIT" ]
null
null
null
tests/command/test_command_register.py
aprezcuba24/zunzun
cc294d9dfb84695be0ed1425cf946a0f4ea644a9
[ "MIT" ]
null
null
null
from zunzun import CommandRegister, Command from unittest.mock import MagicMock def test_add_commands(): class MyCommand(Command): pass class ModuleMock: no_command = "" command = MyCommand injector = MagicMock() injector.get = MagicMock(return_value="object_from_injector") ...
27.75
69
0.733333
62
555
6.306452
0.5
0.056266
0.092072
0
0
0
0
0
0
0
0
0.002222
0.189189
555
19
70
29.210526
0.866667
0
0
0
0
0
0.072072
0
0
0
0
0
0.133333
1
0.066667
false
0.066667
0.133333
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
79d3f6a36bb400f61615d25f48d0cadd6373bdb2
18,217
py
Python
darknet/detect.py
Kwull/yolo-detector
093af0a39c4b9a243885aebadc451cb090cf73c1
[ "MIT" ]
null
null
null
darknet/detect.py
Kwull/yolo-detector
093af0a39c4b9a243885aebadc451cb090cf73c1
[ "MIT" ]
null
null
null
darknet/detect.py
Kwull/yolo-detector
093af0a39c4b9a243885aebadc451cb090cf73c1
[ "MIT" ]
null
null
null
from ctypes import * import random import os import requests import time import urllib import cv2 from skimage import draw import numpy as np import json import datetime import paho.mqtt.client as paho import yaml import pytz import re import subprocess import select with open("/config/detect.conf"...
37.952083
122
0.53988
2,121
18,217
4.436587
0.197548
0.013603
0.007439
0.008502
0.214772
0.176089
0.153348
0.142933
0.12136
0.09458
0
0.015136
0.34358
18,217
479
123
38.031315
0.771785
0.042762
0
0.149051
0
0
0.079044
0.008383
0
0
0
0.002088
0.00271
0
null
null
0.00813
0.04878
null
null
0.02168
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
79df2889f207e99fa0cd05da11454aa891a81d4f
3,112
py
Python
tests/testcases.py
egon010/FCC-Python-Egg
09073098e6d019b50c96eb02fbcd97ce42bb6672
[ "Ruby" ]
null
null
null
tests/testcases.py
egon010/FCC-Python-Egg
09073098e6d019b50c96eb02fbcd97ce42bb6672
[ "Ruby" ]
1
2019-03-18T21:23:31.000Z
2019-03-18T21:23:31.000Z
tests/testcases.py
egon010/FCC-Python-Egg
09073098e6d019b50c96eb02fbcd97ce42bb6672
[ "Ruby" ]
4
2017-05-21T13:24:36.000Z
2021-03-15T18:45:58.000Z
import sys import unittest sys.path.append('../') from broadband_api import * from FRNConversionsAPI import * from block_conversion_api import * class TestBroadbandAPI (unittest.TestCase): def setUp(self): self.bb = BroadbandApi() self.frnapi = FRNConversionsAPI() #Sweep across the US and compare to ...
29.358491
113
0.671594
397
3,112
5.191436
0.277078
0.095099
0.09704
0.046579
0.596798
0.534692
0.534692
0.401747
0.370694
0.321203
0
0.04549
0.180591
3,112
105
114
29.638095
0.762745
0.201478
0
0.283019
0
0
0.119935
0
0
0
0
0
0.264151
1
0.245283
false
0
0.09434
0
0.377358
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
8dabc3d1fe72bc69d56e882b6936757cfd5d9133
104,051
py
Python
ignition/script-python/__swagger2__/requests/code.py
pwalker91/IgnitionSwagger
7bbc0a1a692a57a483c82d94570ad10f365d6f4e
[ "MIT" ]
null
null
null
ignition/script-python/__swagger2__/requests/code.py
pwalker91/IgnitionSwagger
7bbc0a1a692a57a483c82d94570ad10f365d6f4e
[ "MIT" ]
null
null
null
ignition/script-python/__swagger2__/requests/code.py
pwalker91/IgnitionSwagger
7bbc0a1a692a57a483c82d94570ad10f365d6f4e
[ "MIT" ]
null
null
null
''' This script contains the logic that translates a request to a WebDev Resource into an execution of a Script Resource. The function `processRequest` is what parses the Request and ends up with a reference to a Script Resource to execute. Every Script Resource should implement a class, `Endpoint`, which needs to ...
42.87227
123
0.705529
12,840
104,051
5.667835
0.086137
0.018138
0.003339
0.00742
0.34325
0.285593
0.24257
0.209042
0.182975
0.162501
0
0.001049
0.184429
104,051
2,427
124
42.87227
0.85653
0.182651
0
0.283802
0
0.002008
0.243037
0.006222
0
0
0
0.001648
0
0
null
null
0.016064
0.011379
null
null
0.000669
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8dbc651d964fbed4da7597097fa53c3723132958
9,756
py
Python
read.py
OneStone2/mcmc_growth
85180b132311affc18a72a3fb717cb26ebcf614a
[ "MIT" ]
2
2016-07-01T13:29:16.000Z
2016-07-06T14:30:30.000Z
read.py
OneStone2/mcmc_growth
85180b132311affc18a72a3fb717cb26ebcf614a
[ "MIT" ]
null
null
null
read.py
OneStone2/mcmc_growth
85180b132311affc18a72a3fb717cb26ebcf614a
[ "MIT" ]
null
null
null
""" Contains utilities to read and clean FIA files """ from pandas import DataFrame, read_csv import pandas as pd from collections import defaultdict import numpy as np import math import bisect import urllib2 import os import sys def chunk_report(bytes_so_far, chunk_size, total_size): percent = float(bytes_so_far)...
32.41196
122
0.582718
1,406
9,756
3.881223
0.187767
0.032069
0.024189
0.026205
0.342862
0.2954
0.152831
0.107568
0.076782
0.076782
0
0.032875
0.27665
9,756
300
123
32.52
0.7404
0.03813
0
0.30837
0
0
0.098923
0
0
0
0
0
0
0
null
null
0
0.039648
null
null
0.013216
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8dbc8d1e52eeda86b5c750b11ccecdaf6c9c9d20
880
py
Python
core/core.py
imdar1/SmartObjectDetection
bae3a3abd5cd2aae1358410b911f95d9c1cb9757
[ "MIT" ]
null
null
null
core/core.py
imdar1/SmartObjectDetection
bae3a3abd5cd2aae1358410b911f95d9c1cb9757
[ "MIT" ]
null
null
null
core/core.py
imdar1/SmartObjectDetection
bae3a3abd5cd2aae1358410b911f95d9c1cb9757
[ "MIT" ]
null
null
null
import clips import copy class Core: def __init__(self, filename): self.env = clips.Environment() self.env.load(filename) def assert_fact(self, fact): self.env.assert_string(fact) def get_activations(self): return list(self.env.activations()) def get_hit_rules(se...
26.666667
56
0.586364
109
880
4.623853
0.33945
0.138889
0.087302
0.130952
0.119048
0.119048
0
0
0
0
0
0.004815
0.292045
880
32
57
27.5
0.804173
0
0
0.076923
0
0
0
0
0
0
0
0
0.076923
1
0.230769
false
0
0.076923
0.076923
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
8dbe95a2ac34050e56706be7bfea2f66223daf7f
3,251
py
Python
canvas/Layer.py
SilicalNZ/canvas
44d1eee02c334aae6b41aeba01ed0ecdf83aed21
[ "MIT" ]
7
2019-08-04T20:37:55.000Z
2020-03-05T08:36:10.000Z
canvas/Layer.py
SilicalNZ/canvas
44d1eee02c334aae6b41aeba01ed0ecdf83aed21
[ "MIT" ]
1
2019-10-21T05:43:28.000Z
2019-10-21T05:43:28.000Z
canvas/Layer.py
SilicalNZ/canvas
44d1eee02c334aae6b41aeba01ed0ecdf83aed21
[ "MIT" ]
null
null
null
from . import Canvas from .common import * class Comparer(Canvas): def __init__(self, canvas: Canvas or Type[Canvas]): self.c = canvas super().__init__(self.c.data, self.c.size) def unscope(self): raise NotImplemented() class PositionalLayer(Comparer): def exclude(self, positions...
34.221053
81
0.655183
398
3,251
5.266332
0.246231
0.016698
0.037214
0.057252
0.513359
0.438931
0.438931
0.367366
0.31584
0.31584
0
0.00041
0.248847
3,251
94
82
34.585106
0.857903
0.271301
0
0.188679
0
0
0.012108
0
0
0
0
0
0
1
0.320755
false
0
0.037736
0
0.415094
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
8dc118e73b231f907ade90c0ae100237ed0884d8
32,976
py
Python
tests/faucet_mininet_test_base.py
joydenfew/514-SDN-assignment-
b521e6bcd158007ab256b37e09d196a5a0b20f08
[ "Apache-2.0" ]
null
null
null
tests/faucet_mininet_test_base.py
joydenfew/514-SDN-assignment-
b521e6bcd158007ab256b37e09d196a5a0b20f08
[ "Apache-2.0" ]
1
2017-05-14T01:32:10.000Z
2017-05-14T01:32:31.000Z
tests/faucet_mininet_test_base.py
joydenfew/514-SDN-assignment-
b521e6bcd158007ab256b37e09d196a5a0b20f08
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python """Base class for all FAUCET unit tests.""" import json import os import re import shutil import tempfile import time import unittest import yaml import ipaddr import requests from mininet.node import Controller from mininet.node import Host from mininet.node import OVSSwitch from mininet.topo imp...
40.963975
83
0.609565
4,419
32,976
4.263634
0.111337
0.045645
0.028024
0.021655
0.54875
0.479274
0.419776
0.38671
0.345098
0.309325
0
0.017874
0.284025
32,976
804
84
41.014925
0.780136
0.018893
0
0.38522
0
0.003145
0.108681
0.007017
0
0
0
0.001244
0.02673
0
null
null
0
0.025157
null
null
0.004717
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8dc143a032f311edda9081c01ed98bfbe00a19e8
1,324
py
Python
tests/selenium/guiops/pages/snapshot/create_snapshot.py
gholms/eucaconsole
4629c961c90e3aae27e3a869a7f157bafeda6489
[ "BSD-2-Clause" ]
null
null
null
tests/selenium/guiops/pages/snapshot/create_snapshot.py
gholms/eucaconsole
4629c961c90e3aae27e3a869a7f157bafeda6489
[ "BSD-2-Clause" ]
10
2018-03-28T17:25:16.000Z
2021-03-05T10:15:06.000Z
tests/selenium/guiops/pages/snapshot/create_snapshot.py
gholms/eucaconsole
4629c961c90e3aae27e3a869a7f157bafeda6489
[ "BSD-2-Clause" ]
1
2019-06-07T20:43:45.000Z
2019-06-07T20:43:45.000Z
from pages.detailpage import BasePage class CreateSnapshotPage(BasePage): def __init__(self, tester): self.tester = tester self.verify_create_snapshot_page_loaded() _page_title = "Create new snapshot" _name_input_field_id = "name" _volume_selector_css = '#volume_id_chosen > a' _v...
41.375
112
0.780967
183
1,324
5.065574
0.284153
0.097087
0.045307
0.05178
0.395901
0.118662
0.118662
0
0
0
0
0.002655
0.146526
1,324
31
113
42.709677
0.817699
0
0
0
0
0
0.089326
0.021953
0
0
0
0
0
1
0.136364
false
0
0.045455
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8dca2796535eed4d7f15b1df4066fe8c15cca4fe
2,416
py
Python
Password/password.py
MersenneInteger/gsModules
02fc22eaa9f527995d355cf817e5415b5af6240c
[ "MIT" ]
null
null
null
Password/password.py
MersenneInteger/gsModules
02fc22eaa9f527995d355cf817e5415b5af6240c
[ "MIT" ]
null
null
null
Password/password.py
MersenneInteger/gsModules
02fc22eaa9f527995d355cf817e5415b5af6240c
[ "MIT" ]
1
2021-02-02T17:08:01.000Z
2021-02-02T17:08:01.000Z
## Begin ControlScript Import -------------------------------------------------- from extronlib import event from extronlib.ui import Button, Label class Password: def __init__(self, password, kpList, adminPassword=None, passwordLimit=4, useStarText=False, passwordLabel=None): self....
37.75
118
0.563328
208
2,416
6.495192
0.302885
0.182828
0.102147
0.124352
0.283494
0.210955
0.186529
0.186529
0.186529
0.122872
0
0.003713
0.331126
2,416
63
119
38.349206
0.832302
0.031871
0
0.3125
0
0
0.042675
0
0
0
0
0
0
1
0.104167
false
0.583333
0.041667
0
0.166667
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8dcf335eef92d68a8043d5ec4538e5f8e6e9b76c
3,417
py
Python
filters_json.py
sazlin/reTOracle
26bd83853c6f35f40d929b7aac9a8e9874d2982e
[ "MIT" ]
null
null
null
filters_json.py
sazlin/reTOracle
26bd83853c6f35f40d929b7aac9a8e9874d2982e
[ "MIT" ]
null
null
null
filters_json.py
sazlin/reTOracle
26bd83853c6f35f40d929b7aac9a8e9874d2982e
[ "MIT" ]
null
null
null
import json filter_list = {"c/cpp": {'search_terms': {'hashtags': ['#cprogramming', '#clanguage'], 'users': [], 'keywords': ['cplusplus', 'C++']}, 'blacklist': {'hashtags': [], 'us...
41.168675
122
0.376354
191
3,417
6.633508
0.418848
0.112865
0.149961
0.23678
0.209945
0
0
0
0
0
0
0.001459
0.398303
3,417
82
123
41.670732
0.614786
0
0
0.518519
0
0
0.39245
0
0
0
0
0
0
1
0
false
0
0.012346
0
0.012346
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8dd8c7ebe317bbf9eaa4bd4331853ed2af219fa7
1,148
py
Python
pacote-download/Python3CursoEmVideo/Aulas/aula09.py
JoaoP-Rodrigues/CursoPython3-Aulas
24d884eaa67485a12c8c3629c7f0fa5b8606a798
[ "MIT" ]
null
null
null
pacote-download/Python3CursoEmVideo/Aulas/aula09.py
JoaoP-Rodrigues/CursoPython3-Aulas
24d884eaa67485a12c8c3629c7f0fa5b8606a798
[ "MIT" ]
null
null
null
pacote-download/Python3CursoEmVideo/Aulas/aula09.py
JoaoP-Rodrigues/CursoPython3-Aulas
24d884eaa67485a12c8c3629c7f0fa5b8606a798
[ "MIT" ]
null
null
null
""" Exercício 22 nome = str(input("Digite seu nome completo: ")) print(nome.upper()) print(nome.lower()) nome1 = len(nome) nome2 = nome1 - nome.count(' ') nome3 = nome.split() print('O nome {} possui {} caracteres, e o primeiro nome possui'.format(nome, nome2), len(nome3[0])) """ """ Exercício 23 valor = int(input('...
22.96
100
0.641115
165
1,148
4.460606
0.351515
0.089674
0.095109
0.069293
0.142663
0.142663
0.103261
0.103261
0
0
0
0.038038
0.129791
1,148
50
101
22.96
0.698699
0.238676
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
8ddcb908f2d6f60cdccdd588c07e6bc5ecdb8e2b
7,348
py
Python
prok1402/brute_force/post_processing_debug.py
okurman/CRISPR
1cee53f7bca7b8b92e05138d2f496b89687e4acd
[ "MIT" ]
null
null
null
prok1402/brute_force/post_processing_debug.py
okurman/CRISPR
1cee53f7bca7b8b92e05138d2f496b89687e4acd
[ "MIT" ]
null
null
null
prok1402/brute_force/post_processing_debug.py
okurman/CRISPR
1cee53f7bca7b8b92e05138d2f496b89687e4acd
[ "MIT" ]
null
null
null
#!/sw/bin/python2.7 __author__ = 'Sanjarbek Hudaiberdiev' import os import sys if sys.platform=='darwin': sys.path.append('/Users/hudaiber/Projects/SystemFiles/') elif sys.platform=='linux2': sys.path.append('/home/hudaiber/Projects/SystemFiles/') import global_variables as gv sys.path.append(gv.project_code_...
38.270833
157
0.706859
971
7,348
5.082389
0.195675
0.017021
0.022695
0.020669
0.487741
0.388855
0.356636
0.344276
0.332523
0.307194
0
0.024119
0.193114
7,348
191
158
38.471204
0.808231
0.087235
0
0.186047
0
0.023256
0.144908
0.093764
0
0
0
0
0
0
null
null
0
0.124031
null
null
0.069767
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8deb26c713d56ff526e65002494d6a6390e1df1c
3,934
py
Python
app/app/settings/base.py
muhammad-mamdouh/real-estate-data-processor
f811659234440b8a8be383b3b8356afcd0fb0d53
[ "MIT" ]
null
null
null
app/app/settings/base.py
muhammad-mamdouh/real-estate-data-processor
f811659234440b8a8be383b3b8356afcd0fb0d53
[ "MIT" ]
null
null
null
app/app/settings/base.py
muhammad-mamdouh/real-estate-data-processor
f811659234440b8a8be383b3b8356afcd0fb0d53
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from decouple import config import os from ..custom_logging import CUSTOM_LOGGING # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # SECURITY WARNING: don't ...
25.881579
91
0.714032
432
3,934
6.268519
0.444444
0.072009
0.043944
0.031019
0.102659
0.090842
0.033235
0
0
0
0
0.009706
0.161922
3,934
151
92
26.05298
0.811647
0.156584
0
0
0
0
0.482121
0.354242
0
0
0
0
0
1
0
false
0.058252
0.038835
0
0.038835
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8deba37d55535a31d210665077b06f35005b821c
3,493
py
Python
tests/tests.py
jgstew/generate-bes-from-template
0249e897d3923b503dfd4d209798061b4dfbd263
[ "MIT" ]
null
null
null
tests/tests.py
jgstew/generate-bes-from-template
0249e897d3923b503dfd4d209798061b4dfbd263
[ "MIT" ]
null
null
null
tests/tests.py
jgstew/generate-bes-from-template
0249e897d3923b503dfd4d209798061b4dfbd263
[ "MIT" ]
null
null
null
"""test generate_bes_from_template""" # pylint: disable=import-error,wildcard-import,undefined-variable,wrong-import-position,unused-wildcard-import,consider-using-f-string import argparse import os.path import sys # don't create bytecode for tests because it is cluttery in python2 sys.dont_write_bytecode = True # c...
36.010309
245
0.732894
464
3,493
5.293103
0.407328
0.04886
0.022394
0.037459
0.185668
0.109121
0.083062
0.046417
0.046417
0.046417
0
0.038957
0.132837
3,493
96
246
36.385417
0.771872
0.216147
0
0.14
1
0.02
0.23703
0.090031
0
0
0
0
0.14
1
0.02
false
0.02
0.08
0
0.12
0.08
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8ded0b94603ba32d663140b5407d89464f89a0ef
3,166
py
Python
tests/auth/auth_roslibpy_clock.py
dimrakan/2017webrobotsimulator
7b615d12bba7c60f8d091b985e3dd41a6b7f6874
[ "Apache-2.0" ]
null
null
null
tests/auth/auth_roslibpy_clock.py
dimrakan/2017webrobotsimulator
7b615d12bba7c60f8d091b985e3dd41a6b7f6874
[ "Apache-2.0" ]
null
null
null
tests/auth/auth_roslibpy_clock.py
dimrakan/2017webrobotsimulator
7b615d12bba7c60f8d091b985e3dd41a6b7f6874
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from __future__ import print_function from roslibpy import Message, Ros, Topic import rospy import logging import atexit import signal,json from bond.msg import Status from sensor_msgs.msg import Image,JointState,PointCloud2,CompressedImage,Imu from std_msgs.msg import String from rosgraph_msgs....
38.144578
262
0.689514
407
3,166
5.054054
0.346437
0.043753
0.044239
0.013126
0.132718
0.101118
0.044725
0.044725
0.044725
0
0
0.05004
0.204675
3,166
82
263
38.609756
0.766878
0.050221
0
0.138462
0
0
0.121586
0.042638
0
0
0
0
0
0
null
null
0
0.2
null
null
0.030769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8df4f1aa127744936b5f18e7ae5f10845525a2eb
489
py
Python
handler/statistic.py
jepret/jepret-backend
2a892e1a7141da09d286b14f47769c3e6f4c0979
[ "MIT" ]
null
null
null
handler/statistic.py
jepret/jepret-backend
2a892e1a7141da09d286b14f47769c3e6f4c0979
[ "MIT" ]
6
2021-03-19T01:58:42.000Z
2022-03-11T23:52:43.000Z
handler/statistic.py
jepret/jepret-backend
2a892e1a7141da09d286b14f47769c3e6f4c0979
[ "MIT" ]
null
null
null
from flask import request, g from core.error import BaseError from core.util import * from model import UMKMStatistic, UMKM def get_umkm_statistic(umkm_id): umkm = UMKM.get_or_none((UMKM.id == umkm_id) & (UMKM.owner == g.user['id'])) if not umkm: raise BaseError("UMKM not found", 404) stat = UMK...
25.736842
80
0.685072
71
489
4.577465
0.450704
0.156923
0.092308
0
0
0
0
0
0
0
0
0.007712
0.204499
489
18
81
27.166667
0.827764
0
0
0
0
0
0.03272
0
0
0
0
0
0
1
0.076923
false
0
0.307692
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
0
0
0
1
0
0
0
0
1
8df6ea44a485e7e7cd489d491bfd78ee145d589e
9,187
py
Python
flask_utils/mongo_aggregations.py
sproul-club/sc-backend
8faeaec0d7bc4c0308e872b9972bccfabeae0402
[ "MIT" ]
1
2020-11-09T23:48:01.000Z
2020-11-09T23:48:01.000Z
flask_utils/mongo_aggregations.py
sproul-club/sc-backend
8faeaec0d7bc4c0308e872b9972bccfabeae0402
[ "MIT" ]
8
2020-11-09T23:10:11.000Z
2021-12-08T03:41:15.000Z
flask_utils/mongo_aggregations.py
sproul-club/sc-backend
8faeaec0d7bc4c0308e872b9972bccfabeae0402
[ "MIT" ]
null
null
null
from models import PreVerifiedEmail, Tag, NewBaseUser, AccessJTI def fetch_aggregated_rso_list(): # This pipeline will fill in the 'registered' and 'confirmed' fields into the RSO list return list(PreVerifiedEmail.objects.aggregate([ { '$lookup': { 'from': 'new_base_user', ...
28.709375
117
0.266246
504
9,187
4.71627
0.22619
0.064788
0.041649
0.023559
0.448044
0.413126
0.358435
0.242322
0.1687
0.135886
0
0.017343
0.592032
9,187
319
118
28.799373
0.616862
0.051486
0
0.378289
0
0
0.17972
0.011713
0
0
0
0
0
1
0.019737
false
0
0.003289
0.016447
0.046053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8dfab30d3772893d93bfd4fb2100c6c110afaa86
2,866
py
Python
appiumbase/fixtures/page_utils.py
Pawan7593/AppiumBase
6e767619702d1be0404a89492544323df7dc540a
[ "MIT" ]
null
null
null
appiumbase/fixtures/page_utils.py
Pawan7593/AppiumBase
6e767619702d1be0404a89492544323df7dc540a
[ "MIT" ]
null
null
null
appiumbase/fixtures/page_utils.py
Pawan7593/AppiumBase
6e767619702d1be0404a89492544323df7dc540a
[ "MIT" ]
1
2021-12-20T04:31:26.000Z
2021-12-20T04:31:26.000Z
def is_xpath_selector(selector): """ A basic method to determine if a selector is an xpath selector. """ if ( selector.startswith("/") or selector.startswith("./") or selector.startswith("(") ): return True return False def is_link_text_selector(sele...
28.376238
78
0.62596
344
2,866
5.063953
0.087209
0.258324
0.107348
0.101033
0.798507
0.45465
0.404133
0.305396
0.208381
0.185419
0
0
0.254361
2,866
100
79
28.66
0.815161
0.179344
0
0.301587
0
0
0.132228
0
0
0
0
0
0
1
0.126984
false
0
0
0
0.507937
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8dffdf2988490fd1e45020b177d941b0285eff9a
2,050
py
Python
save_cafe.py
GDG-Summer-Hackathon-Group12/serverless-backend
b12602747a1d038085b4c62d1b57467295d5ba08
[ "MIT" ]
4
2021-07-11T03:02:51.000Z
2021-11-28T02:35:21.000Z
save_cafe.py
GDG-Summer-Hackathon-Group12/serverless-backend
b12602747a1d038085b4c62d1b57467295d5ba08
[ "MIT" ]
null
null
null
save_cafe.py
GDG-Summer-Hackathon-Group12/serverless-backend
b12602747a1d038085b4c62d1b57467295d5ba08
[ "MIT" ]
null
null
null
import json import pymysql import requests import decimal import config rds_host = "rds-instance-endpoint" name = rds_config.db_username password = rds_config.db_password db_name = rds_config.db_name """index.py 람다 함수로부터 호출되어서 경도와 위도를 받아 반경 100m이내의 카페 정보를 데이터베이스에 저장한다.""" def lambda_handler(event, context): lati...
32.03125
157
0.532683
243
2,050
4.395062
0.510288
0.013109
0.016854
0.018727
0.007491
0.007491
0.007491
0
0
0
0
0.016
0.329268
2,050
63
158
32.539683
0.760727
0.027317
0
0.04
0
0.02
0.204593
0.01096
0
0
0
0
0
1
0.02
false
0.06
0.1
0
0.16
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5c04cad599a03da927288a36081a711c2199ffc9
3,704
py
Python
codas/utils/config.py
xionghuichen/CODAS
1bd0109ba11936c2de69b6b5876b15fb8be17508
[ "MIT" ]
6
2021-12-10T00:11:20.000Z
2022-03-18T07:01:34.000Z
codas/utils/config.py
xionghuichen/CODAS
1bd0109ba11936c2de69b6b5876b15fb8be17508
[ "MIT" ]
1
2021-12-20T21:28:02.000Z
2021-12-21T14:16:01.000Z
codas/utils/config.py
xionghuichen/CODAS
1bd0109ba11936c2de69b6b5876b15fb8be17508
[ "MIT" ]
2
2022-01-12T14:19:34.000Z
2022-03-11T07:38:10.000Z
import tensorflow as tf class BasicConfig(object): def __init__(self): pass @classmethod def config_check(cls, var): assert var in vars(cls).values(), "var %s invalid in cls %s" % (var, type(cls)) class RandomSeqType(BasicConfig): BIAS = 'bias' SCALE = 'scale' RNN = 'rnn' cla...
22.313253
94
0.62716
436
3,704
5.094037
0.364679
0.021612
0.027015
0.032418
0.094102
0.078793
0.034219
0.034219
0.034219
0
0
0.00256
0.261879
3,704
165
95
22.448485
0.809802
0.016739
0
0.085271
0
0
0.151415
0.025282
0
0
0
0.006061
0.007752
1
0.031008
false
0.007752
0.007752
0
0.852713
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5c05271a549d415cad81e06e343feb3714810e21
1,742
py
Python
User/urls.py
Positron11/Corkran
53f463ca4f02e2617205bf67c123923dda2ce403
[ "MIT" ]
null
null
null
User/urls.py
Positron11/Corkran
53f463ca4f02e2617205bf67c123923dda2ce403
[ "MIT" ]
3
2020-06-23T17:13:11.000Z
2021-04-08T19:57:20.000Z
User/urls.py
Positron11/Corkran
53f463ca4f02e2617205bf67c123923dda2ce403
[ "MIT" ]
null
null
null
from django.contrib.auth import views as auth_views from django.urls import reverse_lazy from django.urls import path from . import views urlpatterns = [ # user account and profile path('profile/', views.profile, name='profile'), path('account-settings/', views.account_settings, name='settings'), # authentication...
37.869565
99
0.762342
226
1,742
5.650442
0.238938
0.132341
0.112764
0.131558
0.287392
0.230227
0.176977
0.067345
0
0
0
0.001264
0.091848
1,742
46
100
37.869565
0.805942
0.048794
0
0.157895
0
0
0.367816
0.209316
0
0
0
0
0
1
0
false
0.5
0.105263
0
0.105263
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5c0dec50c2a5516c4275eba7c2132ed54281a079
3,013
py
Python
.config/qutebrowser/config.py
psvenk/dotfiles
2c07e97b5087a224e5df3060405f8bbfac28866e
[ "0BSD" ]
null
null
null
.config/qutebrowser/config.py
psvenk/dotfiles
2c07e97b5087a224e5df3060405f8bbfac28866e
[ "0BSD" ]
null
null
null
.config/qutebrowser/config.py
psvenk/dotfiles
2c07e97b5087a224e5df3060405f8bbfac28866e
[ "0BSD" ]
null
null
null
# Qutebrowser config # Sessions c.auto_save.session = True c.session.lazy_restore = True # Tabs c.tabs.position = 'left' c.tabs.width = 200 c.tabs.new_position.unrelated = 'next' c.tabs.background = True # Hints c.hints.mode = 'number' c.hints.auto_follow = 'full-match' c.content.pdfjs = True c.content.javascript...
30.13
102
0.648191
411
3,013
4.698297
0.306569
0.14086
0.053858
0.051787
0.513206
0.479026
0.354738
0.314345
0.169342
0.135681
0
0.002324
0.143047
3,013
99
103
30.434343
0.745546
0.102556
0
0
0
0.036364
0.478196
0.080507
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
5c1133c5f6ecb1b322e0f68c9679b6b3cac1ae82
2,684
py
Python
PySpectrograph/Spectrograph/CreateImage.py
crawfordsm/pyspectrograph
4237ba4b4fe08a69e1d6487924d959f089ecca46
[ "BSD-3-Clause" ]
18
2015-01-11T21:04:59.000Z
2021-08-06T18:30:47.000Z
PySpectrograph/Spectrograph/CreateImage.py
crawfordsm/pyspectrograph
4237ba4b4fe08a69e1d6487924d959f089ecca46
[ "BSD-3-Clause" ]
14
2015-04-23T09:39:16.000Z
2017-12-03T12:49:05.000Z
PySpectrograph/Spectrograph/CreateImage.py
crawfordsm/pyspectrograph
4237ba4b4fe08a69e1d6487924d959f089ecca46
[ "BSD-3-Clause" ]
5
2015-04-23T08:17:37.000Z
2019-06-22T13:36:47.000Z
"""CreateImage is a task to produce a 2D image generated by a spectrograph HISTORY 20100601 SMC First written by SM Crawford Limitations: """ import numpy as np from astropy.io import fits from PySpectrograph.Spectrograph import * from PySpectrograph.Spectra import * def writeout(arr, outfile): # make and o...
33.55
100
0.579732
328
2,684
4.689024
0.365854
0.124837
0.058518
0.049415
0.158648
0.153446
0.091027
0
0
0
0
0.012458
0.342027
2,684
79
101
33.974684
0.858437
0.280924
0
0.190476
1
0
0
0
0
0
0
0
0
1
0.047619
false
0
0.095238
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
0
0
0
0
0
0
1
5c1509f7da05b6cdb9e533dad04e79bd4c638f8e
231
py
Python
Core/Block_C/RC405_Factory.py
BernardoB95/Extrator_SPEDFiscal
10b4697833c561d24654251da5f22d044f03fc16
[ "MIT" ]
1
2021-04-25T13:53:20.000Z
2021-04-25T13:53:20.000Z
Core/Block_C/RC405_Factory.py
BernardoB95/Extrator_SPEDFiscal
10b4697833c561d24654251da5f22d044f03fc16
[ "MIT" ]
null
null
null
Core/Block_C/RC405_Factory.py
BernardoB95/Extrator_SPEDFiscal
10b4697833c561d24654251da5f22d044f03fc16
[ "MIT" ]
null
null
null
from Core.IFactory import IFactory from Regs.Block_C import RC405 class RC405Factory(IFactory): def create_block_object(self, line): self.rc405 = _rc405 = RC405() _rc405.reg_list = line return _rc405
21
40
0.69697
30
231
5.133333
0.6
0.194805
0.194805
0
0
0
0
0
0
0
0
0.118644
0.233766
231
10
41
23.1
0.751412
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.714286
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5c166dd638ec4482f41ea7947c557bca89f44767
3,222
py
Python
pre_script_patch_debug.py
mnigbur/OpenAstroTracker-Firmware
79d09146f262a25900ceea3f375936a583bc266a
[ "MIT" ]
60
2020-12-13T10:01:46.000Z
2022-03-22T09:09:16.000Z
pre_script_patch_debug.py
M3larry/OpenAstroTracker-Firmware
79cdca37552fcd0f6f22236596245b04b06512a4
[ "MIT" ]
90
2020-12-12T09:59:36.000Z
2022-03-27T09:54:59.000Z
pre_script_patch_debug.py
M3larry/OpenAstroTracker-Firmware
79cdca37552fcd0f6f22236596245b04b06512a4
[ "MIT" ]
52
2020-12-12T09:33:14.000Z
2022-03-27T13:49:47.000Z
Import("env") import os import tempfile def cprint(*args, **kwargs): print(f'pre_script_patch_debug.py:', *args, **kwargs) def get_winterrupts_path(): winterrupts_path = None for pio_package in env.PioPlatform().dump_used_packages(): pio_dir = env.PioPlatform().get_package_dir(pio_package['name...
37.905882
114
0.630354
406
3,222
4.753695
0.347291
0.036269
0.017098
0.023834
0.06114
0.033161
0.033161
0
0
0
0
0.002159
0.281192
3,222
84
115
38.357143
0.831174
0.214773
0
0
0
0
0.226233
0.051745
0
0
0
0.011905
0
1
0.066667
false
0
0.05
0
0.166667
0.116667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
5c178b710820b94bd3190c28a00c13842ac1162d
1,160
py
Python
grutils/logs_view_helper.py
lldld/gr.py3.utils
d4b0c82928b9e033115f31e74af385eb9fe429c9
[ "Apache-2.0" ]
null
null
null
grutils/logs_view_helper.py
lldld/gr.py3.utils
d4b0c82928b9e033115f31e74af385eb9fe429c9
[ "Apache-2.0" ]
null
null
null
grutils/logs_view_helper.py
lldld/gr.py3.utils
d4b0c82928b9e033115f31e74af385eb9fe429c9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import tkinter from tkinter import W, END, ttk, E def create_log_view(frame: tkinter.Frame, row: int, initial_content: str = '', height=30): row += 1 logs_view = tkinter.Text(frame, height=height) logs_view.grid(padx=5, pady=5, row=row, column=0, columnspan=4...
27.619048
90
0.687069
180
1,160
4.211111
0.372222
0.221636
0.079156
0.100264
0.197889
0.118734
0.118734
0.118734
0
0
0
0.012807
0.192241
1,160
41
91
28.292683
0.796158
0.056034
0
0.222222
0
0
0.030247
0
0
0
0
0
0
1
0.148148
false
0
0.074074
0
0.37037
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5c1c9cf26e6ccac878c80e48fd589fac64c124e5
3,524
py
Python
scripts/utils.py
emersonmello/mfap-installation-guide
7fa65e5db4e2f47153cba4860075e0e137cf52cf
[ "Apache-2.0" ]
1
2021-01-29T12:47:04.000Z
2021-01-29T12:47:04.000Z
scripts/utils.py
emersonmello/mfap-installation-guide
7fa65e5db4e2f47153cba4860075e0e137cf52cf
[ "Apache-2.0" ]
null
null
null
scripts/utils.py
emersonmello/mfap-installation-guide
7fa65e5db4e2f47153cba4860075e0e137cf52cf
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from shutil import copyfile import xml.etree.ElementTree as ET import shutil backup_files = {} class CommentedTreeBuilder(ET.TreeBuilder): def __init__(self, *args, **kwargs): super(CommentedTreeBuilder, self).__init__(*args, **kwargs) def comment(self, data): self.sta...
33.884615
91
0.586833
412
3,524
4.881068
0.400485
0.049229
0.032819
0.019393
0.05818
0.05818
0.05818
0.05818
0.05818
0.05818
0
0.00745
0.314415
3,524
103
92
34.213592
0.824917
0.015324
0
0.142857
0
0
0.225435
0.016169
0
0
0
0
0
0
null
null
0
0.035714
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5c1ec6f9e031dce65f78eae2ccdc10b27b81617f
391
py
Python
mycode/src/xavier_init_ns.py
darkxaze/PINNs
f344a907cf8b585e5f667465178c4442b907024d
[ "MIT" ]
null
null
null
mycode/src/xavier_init_ns.py
darkxaze/PINNs
f344a907cf8b585e5f667465178c4442b907024d
[ "MIT" ]
null
null
null
mycode/src/xavier_init_ns.py
darkxaze/PINNs
f344a907cf8b585e5f667465178c4442b907024d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed May 20 12:31:14 2020 @author: nastavirs """ import tensorflow as tf import numpy as np def xavier_init(self, size): in_dim = size[0] out_dim = size[1] xavier_stddev = np.sqrt(2/(in_dim + out_dim)) return tf.Variable(tf.trunc...
30.076923
106
0.626598
60
391
3.916667
0.65
0.06383
0.068085
0.093617
0
0
0
0
0
0
0
0.060811
0.242967
391
13
106
30.076923
0.733108
0.199488
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
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
0
0
0
0
0
1
0
0
1
5c226fcc0e9c370b128f8b97ac0a6f642473e941
659
py
Python
tests/test_c2021.py
atollk/flake8-multiline-conditionals-comprehensions
7843a0dc970502b4752726d6a52e114e743be50b
[ "MIT" ]
1
2020-06-24T06:15:44.000Z
2020-06-24T06:15:44.000Z
tests/test_c2021.py
atollk/flake8-multiline-conditionals-comprehensions
7843a0dc970502b4752726d6a52e114e743be50b
[ "MIT" ]
null
null
null
tests/test_c2021.py
atollk/flake8-multiline-conditionals-comprehensions
7843a0dc970502b4752726d6a52e114e743be50b
[ "MIT" ]
null
null
null
from tests.util import BaseTest class Test_C2021(BaseTest): def error_code(self) -> str: return "C2021" def test_pass_1(self): code = """ foo = (1 if 10 < 20 else 0) """ result = self.run_flake8(code, True) assert result == [] def test_pass_2(self): ...
22.724138
51
0.503794
85
659
3.752941
0.352941
0.065831
0.103448
0.112853
0.595611
0.595611
0.595611
0.595611
0.595611
0.595611
0
0.091787
0.371775
659
28
52
23.535714
0.678744
0
0
0.478261
0
0
0.239757
0
0
0
0
0
0.130435
1
0.173913
false
0.086957
0.043478
0.043478
0.304348
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5c22ab1a7fb01955557166310fd27cb57de858a8
5,169
py
Python
NetHack's functions Rne, Rn2 and Rnz in Python 3.py
IEWbgfnYDwHRoRRSKtkdyMDUzgdwuBYgDKtDJWd/narnt
0eda13a7b8663e218b4fe2e06a974b99db9ff166
[ "MIT" ]
102
2016-06-25T09:30:00.000Z
2022-03-24T21:02:49.000Z
NetHack's functions Rne, Rn2 and Rnz in Python 3.py
operade/notebooks
56f97e33e81b5e86905961b09184a41b7616fa90
[ "MIT" ]
34
2016-06-26T12:21:30.000Z
2021-04-06T09:19:49.000Z
NetHack's functions Rne, Rn2 and Rnz in Python 3.py
operade/notebooks
56f97e33e81b5e86905961b09184a41b7616fa90
[ "MIT" ]
44
2017-05-13T23:54:56.000Z
2021-07-17T15:34:24.000Z
# coding: utf-8 # # Table of Contents # <p><div class="lev1 toc-item"><a href="#NetHack's-functions-Rne,-Rn2-and-Rnz-in-Python-3" data-toc-modified-id="NetHack's-functions-Rne,-Rn2-and-Rnz-in-Python-3-1"><span class="toc-item-num">1&nbsp;&nbsp;</span>NetHack's functions Rne, Rn2 and Rnz in Python 3</a></div><div cla...
23.283784
1,302
0.640356
866
5,169
3.784065
0.270208
0.022887
0.045774
0.025633
0.355508
0.293256
0.249924
0.160513
0.160513
0.099481
0
0.07462
0.159992
5,169
221
1,303
23.38914
0.680101
0.59141
0
0
0
0.018519
0.077113
0
0
0
0
0
0
1
0.055556
false
0
0.074074
0.018519
0.185185
0.018519
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
0
0
0
0
0
0
0
0
0
1
5c33f0ad2c1e36a5331be866a83b1302a7dae485
1,601
py
Python
day10/python/test1.py
jabbalaci/AdventOfCode2019
893d1c8c6da9c3213cdb0e43c77f0f9a92406a48
[ "MIT" ]
2
2019-12-02T13:46:22.000Z
2019-12-06T19:09:10.000Z
day10/python/test1.py
jabbalaci/AdventOfCode2019
893d1c8c6da9c3213cdb0e43c77f0f9a92406a48
[ "MIT" ]
null
null
null
day10/python/test1.py
jabbalaci/AdventOfCode2019
893d1c8c6da9c3213cdb0e43c77f0f9a92406a48
[ "MIT" ]
1
2019-12-07T23:51:57.000Z
2019-12-07T23:51:57.000Z
#!/usr/bin/env python3 from helper import Point from part1 import process_file def example_1() -> None: """ .#..# ..... ##### ....# ...## with numbers: .7..7 ..... 67775 ....7 ...87 best location: (3, 4) with 8 other asteroids detected """ point, value = process_file("examples/part1/example1.txt") ...
19.52439
78
0.561524
206
1,601
4.247573
0.252427
0.075429
0.125714
0.154286
0.32
0.32
0.32
0.32
0.32
0
0
0.065428
0.226733
1,601
81
79
19.765432
0.641357
0.222361
0
0
0
0
0.198182
0.122727
0
0
0
0
0.285714
1
0.171429
true
0
0.057143
0
0.228571
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
5c42833323aa6998118266a55484726c4340c83d
586
py
Python
talks_keeper/templatetags/tk_filters.py
samitnuk/talks_keeper
c4911598d291edd4cd59f91ca903fbadf12bbda9
[ "MIT" ]
null
null
null
talks_keeper/templatetags/tk_filters.py
samitnuk/talks_keeper
c4911598d291edd4cd59f91ca903fbadf12bbda9
[ "MIT" ]
null
null
null
talks_keeper/templatetags/tk_filters.py
samitnuk/talks_keeper
c4911598d291edd4cd59f91ca903fbadf12bbda9
[ "MIT" ]
null
null
null
from django import template from django.contrib.auth.models import Group from django.forms import CheckboxInput register = template.Library() @register.filter(name='addclass') def addclass(value, arg): return value.as_widget(attrs={'class': arg}) @register.filter(name='is_checkbox') def is_checkbox(field): ...
25.478261
56
0.750853
80
586
5.2125
0.45
0.071942
0.129496
0
0
0
0
0
0
0
0
0
0.129693
586
22
57
26.636364
0.817647
0
0
0
0
0
0.054608
0
0
0
0
0
0
1
0.2
false
0
0.2
0.133333
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
5c43026a57dadff3728cb01ec3c49ab3fe1b60d1
1,921
py
Python
django_extauth/views/ei.py
aiakos/aiakos
a591e7ef13ab9e8e14b4d3569d43fce694c4150a
[ "BSD-2-Clause", "MIT" ]
4
2017-04-28T19:09:17.000Z
2018-07-03T04:43:54.000Z
django_extauth/views/ei.py
aiakos/aiakos
a591e7ef13ab9e8e14b4d3569d43fce694c4150a
[ "BSD-2-Clause", "MIT" ]
2
2020-06-05T17:46:47.000Z
2021-06-10T17:22:58.000Z
django_extauth/views/ei.py
aiakos/aiakos
a591e7ef13ab9e8e14b4d3569d43fce694c4150a
[ "BSD-2-Clause", "MIT" ]
2
2017-08-14T07:15:14.000Z
2019-03-04T14:02:05.000Z
from django.conf import settings from django.contrib import auth, messages from django.contrib.auth.decorators import login_required from django.utils.translation import gettext_lazy as _ from ..models import create_user SAFE_FIELDS = ['name', 'nickname'] def pull_userdata_from(ei): for field in SAFE_FIELDS: if n...
24.948052
98
0.729308
292
1,921
4.667808
0.325342
0.057227
0.058694
0.066031
0.316214
0.316214
0.29347
0.140866
0.140866
0.076302
0
0
0.16658
1,921
76
99
25.276316
0.851343
0.045809
0
0.355932
0
0
0.124522
0.016384
0
0
0
0.013158
0
1
0.050847
false
0.016949
0.084746
0
0.169492
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
5c476ec065d7e7eb3f99f7e764257009ff766222
327
py
Python
CodingTest.04/4.2.py
joonion/coding-for-problem-solving
9f7a0b7e18803c58596899595dacc87a74b1b9d1
[ "MIT" ]
null
null
null
CodingTest.04/4.2.py
joonion/coding-for-problem-solving
9f7a0b7e18803c58596899595dacc87a74b1b9d1
[ "MIT" ]
null
null
null
CodingTest.04/4.2.py
joonion/coding-for-problem-solving
9f7a0b7e18803c58596899595dacc87a74b1b9d1
[ "MIT" ]
null
null
null
def collatz(n): # recursion 재귀 함수 if n == 1: return [1] else: if n % 2 == 0: return [n] + collatz(n // 2) else: return [n] + collatz(3 * n + 1) n = int(input()) seq = collatz(n) print(seq) for i in range(len(seq)): print(seq[i], end=" ") print(len...
19.235294
43
0.455657
49
327
3.040816
0.469388
0.161074
0.187919
0
0
0
0
0
0
0
0
0.034146
0.373089
327
16
44
20.4375
0.692683
0.045872
0
0.142857
0
0
0.003226
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.285714
0.214286
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
30835dae00d86a3900dc36aa0c1b5a1d08149483
2,099
py
Python
deepchem/utils/test/test_fake_data_generator.py
Chahalprincy/deepchem
9d1a6a879cc74b065694b3ddb763d52151d57b7a
[ "MIT" ]
null
null
null
deepchem/utils/test/test_fake_data_generator.py
Chahalprincy/deepchem
9d1a6a879cc74b065694b3ddb763d52151d57b7a
[ "MIT" ]
null
null
null
deepchem/utils/test/test_fake_data_generator.py
Chahalprincy/deepchem
9d1a6a879cc74b065694b3ddb763d52151d57b7a
[ "MIT" ]
null
null
null
""" Test for fake_data_generator.py """ import numpy as np from deepchem.utils.fake_data_generator import FakeGraphGenerator, generate_edge_index, remove_self_loops def test_fake_graph_dataset(): n_graphs = 10 n_node_features = 5 n_edge_features = 3 n_classes = 2 z_shape = 5 # graph-level labels fgg = ...
27.986667
105
0.715102
331
2,099
4.229607
0.190332
0.102143
0.065
0.094286
0.678571
0.627857
0.627857
0.582143
0.582143
0.582143
0
0.02659
0.175798
2,099
74
106
28.364865
0.782659
0.079562
0
0.611111
1
0
0.004685
0
0
0
0
0
0.296296
1
0.055556
false
0
0.037037
0
0.092593
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3084c4d77d9e6d949ee072e627476d2f2ceb8c7a
304
py
Python
nixui/utils/store.py
yater/nix-gui
e7d1137ff85ef6bfe33ccc7cd8eee944475d4217
[ "MIT" ]
254
2021-07-08T19:40:12.000Z
2022-03-30T23:21:19.000Z
nixui/utils/store.py
yater/nix-gui
e7d1137ff85ef6bfe33ccc7cd8eee944475d4217
[ "MIT" ]
166
2021-07-07T19:39:08.000Z
2022-03-16T19:24:08.000Z
nixui/utils/store.py
yater/nix-gui
e7d1137ff85ef6bfe33ccc7cd8eee944475d4217
[ "MIT" ]
10
2021-07-09T11:20:31.000Z
2022-01-04T20:46:39.000Z
import os def get_store_path(): if 'XDG_CONFIG_HOME' in os.environ: config_home = os.environ['XDG_CONFIG_HOME'] else: config_home = os.path.join( os.getenv("HOME"), '.config' ) return os.path.join( config_home, 'nixgui' )
19
51
0.539474
37
304
4.189189
0.459459
0.322581
0.167742
0
0
0
0
0
0
0
0
0
0.345395
304
15
52
20.266667
0.778894
0
0
0
0
0
0.154605
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.230769
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
308e0628e53a971dc07e399a096c29c371383ad2
1,403
py
Python
tos_languagematcher/exporter/exporter_full.py
hiiwave/Tos-LanguageMatcher
a1e720c092441234f568b8fb387739e24c197526
[ "MIT" ]
5
2018-03-02T05:41:13.000Z
2021-05-14T12:14:31.000Z
tos_languagematcher/exporter/exporter_full.py
Weicoz/Tos-Translater
a1e720c092441234f568b8fb387739e24c197526
[ "MIT" ]
1
2019-04-01T05:54:56.000Z
2019-04-03T01:45:03.000Z
tos_languagematcher/exporter/exporter_full.py
Weicoz/Tos-Translater
a1e720c092441234f568b8fb387739e24c197526
[ "MIT" ]
2
2020-02-24T03:19:53.000Z
2021-05-14T12:51:45.000Z
from .exporter import Exporter import functools import numpy as np import pandas as pd class ExporterTwFull(Exporter): ''' Similar to ExporterTwEn but remaining zh-tw and korean ''' def _get_df1(self, tsv): return self.df_tws[tsv] def _make_df_result(self, df, tsv): return np.where(~d...
30.5
81
0.5866
184
1,403
4.282609
0.38587
0.031726
0.045685
0.038071
0.101523
0.055838
0
0
0
0
0
0.008712
0.263721
1,403
45
82
31.177778
0.754114
0.102637
0
0.129032
0
0
0.041129
0
0
0
0
0
0
1
0.16129
false
0
0.129032
0.064516
0.516129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
30922b0c14d9a021543a19f52b297840080a6938
656
py
Python
curso python Udemy/Aula15/Aula15.py
josedembo/Python
d0d78e7e5c3685b4a88079633580504d81bba569
[ "MIT" ]
1
2021-03-19T03:32:46.000Z
2021-03-19T03:32:46.000Z
curso python Udemy/Aula15/Aula15.py
josedembo/Python
d0d78e7e5c3685b4a88079633580504d81bba569
[ "MIT" ]
null
null
null
curso python Udemy/Aula15/Aula15.py
josedembo/Python
d0d78e7e5c3685b4a88079633580504d81bba569
[ "MIT" ]
null
null
null
''' isnumeric, isdigit, isdecimal (metodos de String) : essas funções verificam se o usuaario digiou um numero POSITIVO SEM PONTO FLUTUANTE ''' num1 = input('digiteum numero ') num2 = input('digite outro numero ') teste1 = num1.isnumeric() teste2 = num2.isnumeric() try: if teste1: num1 = int(num1) ...
21.866667
83
0.608232
83
656
4.807229
0.578313
0.06015
0.050125
0.06015
0.080201
0
0
0
0
0
0
0.034115
0.285061
656
29
84
22.62069
0.816631
0.205793
0
0.210526
0
0
0.320939
0
0
0
0
0.034483
0
1
0
false
0
0
0
0
0.210526
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
309bbe210d05cbc6b63c4d4b97da0ef306b1a3e7
40,915
py
Python
nionswift_plugin/IVG/scan/orsayscan.py
OrsayDev/swift_lumiere
d1d067f957b86a0b6042f0a185d73479e26bc2f6
[ "MIT" ]
null
null
null
nionswift_plugin/IVG/scan/orsayscan.py
OrsayDev/swift_lumiere
d1d067f957b86a0b6042f0a185d73479e26bc2f6
[ "MIT" ]
null
null
null
nionswift_plugin/IVG/scan/orsayscan.py
OrsayDev/swift_lumiere
d1d067f957b86a0b6042f0a185d73479e26bc2f6
[ "MIT" ]
null
null
null
""" Class controlling orsay scan hardware. """ import sys, os from ctypes import cdll, create_string_buffer, POINTER, byref from ctypes import c_uint, c_int, c_char, c_char_p, c_void_p, c_short, c_long, c_bool, c_double, c_uint64, c_uint32, Array, CFUNCTYPE, WINFUNCTYPE __author__ = "Marcel Tence" __status__ = "alp...
50.952677
194
0.667506
4,659
40,915
5.647135
0.153252
0.056328
0.015507
0.01623
0.414785
0.371038
0.325086
0.31049
0.271
0.247054
0
0.009416
0.242063
40,915
802
195
51.016209
0.83896
0.196114
0
0.099415
0
0
0.024271
0.001205
0
0
0.002036
0
0
0
null
null
0
0.008772
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
30a9a614ef0986c7ae32a57979449f2beacaf403
279
py
Python
models/backbone/__init__.py
hellohwang/tf2.0-semantic-segmentation
fe407376efc310ef5a3afb5787a04e34f420cdb8
[ "Apache-2.0" ]
null
null
null
models/backbone/__init__.py
hellohwang/tf2.0-semantic-segmentation
fe407376efc310ef5a3afb5787a04e34f420cdb8
[ "Apache-2.0" ]
null
null
null
models/backbone/__init__.py
hellohwang/tf2.0-semantic-segmentation
fe407376efc310ef5a3afb5787a04e34f420cdb8
[ "Apache-2.0" ]
null
null
null
from .mobilenet_v2 import * from .resnet50 import * __all__ = ['mobilenet_v2', 'resnet50', 'get_backbone'] backbones = { 'mobilenet_v2': MobileNetV2, 'resnet50': ResNet50, } def get_backbone(name, *args, **kwargs): return backbones[name.lower()](*args, **kwargs)
19.928571
54
0.681004
31
279
5.83871
0.516129
0.18232
0
0
0
0
0
0
0
0
0
0.051064
0.157706
279
13
55
21.461538
0.719149
0
0
0
0
0
0.18638
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0.111111
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
30ace98eba8fbaa7cd8a4cad5002f33812b1b480
6,645
py
Python
scribeui_pyramid/modules/plugins/mapcache/views/mapcacheViewer.py
mapgears/scribeui
f7e917236c088cad265a94210a0031f7d7be4a71
[ "MIT" ]
12
2015-03-20T14:09:52.000Z
2020-10-12T07:05:14.000Z
scribeui_pyramid/modules/plugins/mapcache/views/mapcacheViewer.py
mapgears/scribeui
f7e917236c088cad265a94210a0031f7d7be4a71
[ "MIT" ]
49
2015-04-01T20:22:20.000Z
2022-03-21T22:16:18.000Z
scribeui_pyramid/modules/plugins/mapcache/views/mapcacheViewer.py
mapgears/scribeui
f7e917236c088cad265a94210a0031f7d7be4a71
[ "MIT" ]
7
2015-04-14T13:01:17.000Z
2018-11-12T17:13:58.000Z
import logging import codecs from scribeui_pyramid.modules.maps.models import Map from scribeui_pyramid.modules.workspaces.models import Workspace from BeautifulSoup import BeautifulStoneSoup from pyramid.view import view_config from pyramid.response import FileResponse from sqlalchemy.orm.exc import NoResultFound l...
41.273292
114
0.520241
666
6,645
5.138138
0.286787
0.057276
0.075979
0.049094
0.362946
0.302162
0.280538
0.280538
0.168323
0.168323
0
0.00578
0.375169
6,645
160
115
41.53125
0.818401
0.059594
0
0.413043
0
0
0.108563
0.004009
0
0
0
0.00625
0
0
null
null
0
0.065217
null
null
0.014493
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
30af616493238de198699ffc0f99a1ee7636c457
2,285
py
Python
hub_app/authlib/totp/token.py
passiopeia/passiopeia-hub
4eed28297a0b134d6b942fa15a9423448dcc2b7e
[ "MIT" ]
null
null
null
hub_app/authlib/totp/token.py
passiopeia/passiopeia-hub
4eed28297a0b134d6b942fa15a9423448dcc2b7e
[ "MIT" ]
29
2020-02-09T18:28:01.000Z
2021-06-25T15:32:48.000Z
hub_app/authlib/totp/token.py
passiopeia/passiopeia-hub
4eed28297a0b134d6b942fa15a9423448dcc2b7e
[ "MIT" ]
null
null
null
""" Creation and handling of OTPs and their secrets """ import hmac import struct import hashlib import time from random import SystemRandom from typing import List from hub_app.authlib.crypt import SymmetricCrypt def get_otp(secret: bytes, offset: int = 0) -> str: """ Get an OTP by the secret :param by...
31.736111
95
0.69453
319
2,285
4.84326
0.31348
0.046602
0.05178
0.036893
0.333333
0.300971
0.275081
0.232362
0.113916
0.113916
0
0.020544
0.211816
2,285
71
96
32.183099
0.837313
0.384683
0
0
0
0
0.007825
0
0
0
0.010955
0
0
1
0.142857
false
0
0.25
0
0.535714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
30b3bc01b67e1de1cfe08d55a285f4e71bcca853
149
py
Python
redrum/dbsettings.py
zenweasel/redrum
1d5aa3d48e43086d438b5457e86c285ef8f5cfbe
[ "BSD-3-Clause" ]
null
null
null
redrum/dbsettings.py
zenweasel/redrum
1d5aa3d48e43086d438b5457e86c285ef8f5cfbe
[ "BSD-3-Clause" ]
null
null
null
redrum/dbsettings.py
zenweasel/redrum
1d5aa3d48e43086d438b5457e86c285ef8f5cfbe
[ "BSD-3-Clause" ]
1
2018-10-11T21:57:34.000Z
2018-10-11T21:57:34.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- db = { 'host': 'localhost', 'port': 6379 } dbnames = { 'default': 1, 'ephermal': 8 }
11.461538
24
0.483221
17
149
4.235294
0.941176
0
0
0
0
0
0
0
0
0
0
0.064815
0.275168
149
12
25
12.416667
0.601852
0.281879
0
0
0
0
0.304762
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
30b762bc4a40bbb270ae464d235bde54aee4bf5e
1,307
py
Python
examples/hierarchical_bsplines/example_domain_manager_2d.py
rwilliams01/isogeometric_application
e505061603b56b4f426220946da5ec551dc6c142
[ "MIT" ]
null
null
null
examples/hierarchical_bsplines/example_domain_manager_2d.py
rwilliams01/isogeometric_application
e505061603b56b4f426220946da5ec551dc6c142
[ "MIT" ]
null
null
null
examples/hierarchical_bsplines/example_domain_manager_2d.py
rwilliams01/isogeometric_application
e505061603b56b4f426220946da5ec551dc6c142
[ "MIT" ]
1
2021-12-25T08:31:06.000Z
2021-12-25T08:31:06.000Z
################################################################## # test the domain manager in 2D ################################################################## #importing Kratos modules from KratosMultiphysics import * from KratosMultiphysics.IsogeometricApplication import * kernel = Kernel() #defining kernel ...
29.704545
66
0.594491
248
1,307
3.092742
0.149194
0.049544
0.11734
0.211213
0.504563
0.504563
0.428944
0.3103
0.3103
0.142112
0
0.130776
0.122418
1,307
43
67
30.395349
0.537925
0.439174
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.086957
0
0.086957
0.086957
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
30cff3615f26b960a9c3fd7d6986ab75e9c72c0b
478
py
Python
rest_framework/tests/test_serializer_empty.py
Hipo/django-rest-framework
ffdf2ffb19fb75013e03fae0c26a7aa9d2b7cdd5
[ "Unlicense" ]
87
2016-01-24T16:41:02.000Z
2021-12-20T21:13:24.000Z
rest_framework/tests/test_serializer_empty.py
laborautonomo/django-rest-framework
299a8347e8ef448eefc611eebfe80d7e142ceaa1
[ "Unlicense" ]
16
2020-02-11T23:19:19.000Z
2022-03-11T23:33:40.000Z
rest_framework/tests/test_serializer_empty.py
laborautonomo/django-rest-framework
299a8347e8ef448eefc611eebfe80d7e142ceaa1
[ "Unlicense" ]
57
2016-02-02T05:46:14.000Z
2021-03-21T15:46:06.000Z
from django.test import TestCase from rest_framework import serializers class EmptySerializerTestCase(TestCase): def test_empty_serializer(self): class FooBarSerializer(serializers.Serializer): foo = serializers.IntegerField() bar = serializers.SerializerMethodField('get_bar') ...
29.875
62
0.675732
45
478
7.066667
0.555556
0.037736
0
0
0
0
0
0
0
0
0
0.002755
0.240586
478
15
63
31.866667
0.873278
0
0
0
0
0
0.027197
0
0
0
0
0
0.090909
1
0.181818
false
0
0.181818
0.090909
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
30d3e8d85dd370353c76aa5cbe508747ee817501
2,898
py
Python
ledstripcontroller.py
mattytrentini/led_strip
031a866d0e846c053895ff5a06938e1a1942ac72
[ "MIT" ]
5
2017-06-05T12:41:59.000Z
2020-07-05T10:30:41.000Z
ledstripcontroller.py
mattytrentini/led_strip
031a866d0e846c053895ff5a06938e1a1942ac72
[ "MIT" ]
17
2017-05-28T10:48:01.000Z
2018-07-29T04:34:27.000Z
ledstripcontroller.py
mattytrentini/led_strip
031a866d0e846c053895ff5a06938e1a1942ac72
[ "MIT" ]
2
2017-06-05T12:31:49.000Z
2017-09-27T09:59:34.000Z
import uasyncio as asyncio class LedStripController: def __init__(self, enc, button_pin, fader_pins): ''' enc should be an instance of Encoder. button_pin is expected to be an instance of machine.Pin. fader_pins is expected to be an iterable of machine.PWM's. ''' s...
35.341463
92
0.554175
371
2,898
4.078167
0.256065
0.059484
0.052875
0.068738
0.335096
0.245869
0.19696
0.177792
0.115003
0.115003
0
0.011577
0.374051
2,898
81
93
35.777778
0.822492
0.143892
0
0.25
0
0
0.033662
0
0
0
0
0.012346
0
1
0.035714
false
0
0.017857
0
0.071429
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
30d7ddb487ec19915a057248f2fef444822edfc4
20,285
py
Python
src/cli/aspencli.py
chanzuckerberg/czgenepi
87bd2b1739acdfe2c7c25663fafb01dc24c5e2fd
[ "MIT" ]
null
null
null
src/cli/aspencli.py
chanzuckerberg/czgenepi
87bd2b1739acdfe2c7c25663fafb01dc24c5e2fd
[ "MIT" ]
30
2022-02-01T23:19:14.000Z
2022-03-29T19:34:20.000Z
src/cli/aspencli.py
chanzuckerberg/czgenepi
87bd2b1739acdfe2c7c25663fafb01dc24c5e2fd
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import csv import json import os.path import time import webbrowser from urllib.parse import quote, urlparse import click import dateparser import keyring import requests from auth0.v3.authentication.token_verifier import ( AsymmetricSignatureVerifier, JwksFetcher, TokenVerifier) class Ins...
28.896011
97
0.63717
2,583
20,285
4.795199
0.122726
0.052317
0.029711
0.035282
0.502664
0.443646
0.353948
0.321896
0.280559
0.25109
0
0.005509
0.221444
20,285
701
98
28.937233
0.778763
0.009219
0
0.385502
0
0.001647
0.217809
0.042108
0
0
0
0
0
1
0.07743
false
0.056013
0.018122
0
0.131796
0.069193
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
30d81d3780499ad1a4d913a45d1bf8e11713c35c
2,139
py
Python
funciones.py
apreziosir/free_fall
c0f4ebd5f99bec04e5a579ad59844125abcee67c
[ "MIT" ]
null
null
null
funciones.py
apreziosir/free_fall
c0f4ebd5f99bec04e5a579ad59844125abcee67c
[ "MIT" ]
null
null
null
funciones.py
apreziosir/free_fall
c0f4ebd5f99bec04e5a579ad59844125abcee67c
[ "MIT" ]
2
2020-10-31T14:11:03.000Z
2020-10-31T16:26:28.000Z
import numpy as np # ============================================================================== # Funcion que calcula el coeficiente de arrastre de una esfera en caida libre # Funciona con Reynolds descde 0 hasta m'as all'a de 3e6 # ============================================================================== def ...
30.557143
80
0.400187
282
2,139
3.010638
0.343972
0.014134
0.021201
0.075383
0.157833
0.050648
0.050648
0
0
0
0
0.04709
0.28518
2,139
70
81
30.557143
0.508175
0.498364
0
0
0
0
0
0
0
0
0
0.014286
0
1
0.09375
false
0
0.03125
0
0.21875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
30dcd73544705f23ffbb9bcd64e9b609b7e90fbf
922
py
Python
bindings/python/pysmu/exceptions.py
damercer/libsmu
6f141ea37a0778299ad1771cc9385fef14010bc0
[ "BSD-3-Clause" ]
30
2015-03-28T23:19:54.000Z
2022-03-08T14:44:36.000Z
bindings/python/pysmu/exceptions.py
damercer/libsmu
6f141ea37a0778299ad1771cc9385fef14010bc0
[ "BSD-3-Clause" ]
147
2015-03-06T18:37:11.000Z
2022-03-28T08:26:47.000Z
bindings/python/pysmu/exceptions.py
damercer/libsmu
6f141ea37a0778299ad1771cc9385fef14010bc0
[ "BSD-3-Clause" ]
26
2015-03-14T06:04:17.000Z
2022-03-12T16:37:48.000Z
import os class LibsmuError(Exception): """Generic libsmu exception.""" def __init__(self, msg=None, errcode=None): if msg is not None: self.msg = msg self.errcode = abs(errcode) if errcode is not None else None def __str__(self): if self.msg is not None: ...
20.954545
68
0.617137
108
922
5.194444
0.416667
0.049911
0.064171
0.042781
0
0
0
0
0
0
0
0
0.275488
922
43
69
21.44186
0.83982
0.201735
0
0.217391
0
0
0.005674
0
0
0
0
0
0
1
0.086957
false
0.217391
0.043478
0
0.478261
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
30e74b1e51e65dba733d0372353fb4924d45426e
1,075
py
Python
CursoemVideo - Python 3/aula 16/ex074.py
GustavoVieiraa/CursoemVideo---Python-3
eca8eeaa9ca65faec6bb4d3ede3a571a63f2179b
[ "MIT" ]
1
2022-01-31T04:07:43.000Z
2022-01-31T04:07:43.000Z
CursoemVideo - Python 3/aula 16/ex074.py
GustavoVieiraa/CursoemVideo---Python-3
eca8eeaa9ca65faec6bb4d3ede3a571a63f2179b
[ "MIT" ]
null
null
null
CursoemVideo - Python 3/aula 16/ex074.py
GustavoVieiraa/CursoemVideo---Python-3
eca8eeaa9ca65faec6bb4d3ede3a571a63f2179b
[ "MIT" ]
null
null
null
# Crie um programa que vai gerar cinco números aleatórios e colocar em uma tupla. # Depois disso, mostre a listagem de números gerados e também indique o menor e o maior # Valor que estão na tupla. # Minha resolução, funcionou! '''from random import randint title = 'Gerador de números em Tupla' print('~~' * 25) print(f...
29.861111
87
0.68093
175
1,075
4.182857
0.371429
0.057377
0.081967
0.092896
0.325137
0.281421
0.281421
0.281421
0.281421
0.281421
0
0.040134
0.165581
1,075
36
88
29.861111
0.77592
0.619535
0
0.181818
0
0
0.38
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.636364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
30e97d356ed9a8546e612dc8364fc494ccefeabc
733
py
Python
hw7/code/plot.py
dpbird/10-601B
2235809b0c57ba30bb4e1287c259bc968bfc3dfc
[ "Unlicense" ]
null
null
null
hw7/code/plot.py
dpbird/10-601B
2235809b0c57ba30bb4e1287c259bc968bfc3dfc
[ "Unlicense" ]
null
null
null
hw7/code/plot.py
dpbird/10-601B
2235809b0c57ba30bb4e1287c259bc968bfc3dfc
[ "Unlicense" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np trainmetrics = [-7.827264757844233, -6.539122052193318, -5.46885741580931, -4.860724952141639] testmetrics = [-7.624574522874662, -6.11743100622369, -5.002220748941359, -4.422560242520135] trainmetrics = np.round(trainmetrics, decimals=3) testmetrics = np.round(testm...
30.541667
94
0.71487
105
733
4.990476
0.514286
0.053435
0.061069
0
0
0
0
0
0
0
0
0.21309
0.103683
733
24
95
30.541667
0.584475
0.364256
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
30eabbd01146142f517b2b72ee1a28c77d3526d4
7,689
py
Python
GEOS_Util/coupled_diagnostics/analysis/clim/plot_mean_vel_anncycle.py
GEOS-ESM/GMAO_Shared
022af23abbc7883891006b57379be96d9a50df23
[ "NASA-1.3", "ECL-2.0", "Apache-2.0" ]
1
2020-02-01T17:36:53.000Z
2020-02-01T17:36:53.000Z
GEOS_Util/coupled_diagnostics/analysis/clim/plot_mean_vel_anncycle.py
GEOS-ESM/GMAO_Shared
022af23abbc7883891006b57379be96d9a50df23
[ "NASA-1.3", "ECL-2.0", "Apache-2.0" ]
105
2019-07-08T19:27:23.000Z
2022-03-22T02:12:16.000Z
GEOS_Util/coupled_diagnostics/analysis/clim/plot_mean_vel_anncycle.py
GEOS-ESM/GMAO_Shared
022af23abbc7883891006b57379be96d9a50df23
[ "NASA-1.3", "ECL-2.0", "Apache-2.0" ]
10
2019-07-05T18:00:44.000Z
2022-03-11T16:26:29.000Z
#!/usr/bin/env python from netCDF4 import Dataset import datetime import numpy as np import matplotlib matplotlib.rc('xtick', labelsize=15) matplotlib.rc('ytick', labelsize=15) matplotlib.rc('lines', linewidth=3) from mpl_toolkits.basemap import Basemap import matplotlib.pyplot as plt import matplotlib.dates as mdates...
28.797753
110
0.669788
1,255
7,689
3.992829
0.260558
0.005987
0.012572
0.011974
0.266214
0.210337
0.134504
0.086609
0.039513
0.029535
0
0.04881
0.152686
7,689
266
111
28.906015
0.720338
0.063207
0
0.15508
0
0
0.066061
0.018171
0
0
0
0
0
0
null
null
0.016043
0.112299
null
null
0.026738
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
30ec6de330df694436f381ddee1ef296924f5f4b
1,590
py
Python
DataStructuresandAlgorithmsInPython/com/kranthi/Algorithms/challenges/easy/K_closest_points_to_the_origin.py
kbaddepuri/DataStructuresInPython
fbd5222e175f07922ee944c612c6b516b8d55211
[ "BSD-3-Clause" ]
null
null
null
DataStructuresandAlgorithmsInPython/com/kranthi/Algorithms/challenges/easy/K_closest_points_to_the_origin.py
kbaddepuri/DataStructuresInPython
fbd5222e175f07922ee944c612c6b516b8d55211
[ "BSD-3-Clause" ]
1
2020-09-30T16:09:59.000Z
2020-09-30T16:09:59.000Z
DataStructuresandAlgorithmsInPython/com/kranthi/Algorithms/challenges/easy/K_closest_points_to_the_origin.py
kbaddepuri/DataStructuresInPython
fbd5222e175f07922ee944c612c6b516b8d55211
[ "BSD-3-Clause" ]
2
2020-09-30T14:18:47.000Z
2021-09-30T16:07:27.000Z
""" Given a list of points on the 2-D plane and an integer K. The task is to find K closest points to the origin and print them. Note: The distance between two points on a plane is the Euclidean distance. Input : point = [[3, 3], [5, -1], [-2, 4]], K = 2 Output : [[3, 3], [-2, 4]] Square of Distance of origin from thi...
31.8
116
0.684906
291
1,590
3.745704
0.333333
0.055046
0.091743
0.057798
0.157798
0.13578
0.07156
0.07156
0.07156
0
0
0.05205
0.202516
1,590
50
117
31.8
0.806782
0.862893
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.5
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a50365b4ad99158f2b55a9dac1be0d2b8ef1bed6
1,810
py
Python
appengine/findit/model/test/swarming_task_queue_request_test.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
2
2021-04-13T21:22:18.000Z
2021-09-07T02:11:57.000Z
appengine/findit/model/test/swarming_task_queue_request_test.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
21
2020-09-06T02:41:05.000Z
2022-03-02T04:40:01.000Z
appengine/findit/model/test/swarming_task_queue_request_test.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2017 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import datetime import unittest import json from libs import time_util from model import swarming_task_queue_request class SwarmingTaskQueueRequestTest(un...
39.347826
78
0.766851
191
1,810
7.010471
0.340314
0.107543
0.114264
0.161314
0.682599
0.621359
0.522778
0.522778
0.253921
0.253921
0
0.010617
0.167403
1,810
45
79
40.222222
0.877903
0.085635
0
0.138889
0
0
0.012114
0
0
0
0
0
0.277778
1
0.055556
false
0
0.138889
0
0.222222
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a50cb83d745e408c857957ad0e2088a76c9928c4
699
py
Python
cpdb/trr/migrations/0004_discharge_position_choices.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
25
2018-07-20T22:31:40.000Z
2021-07-15T16:58:41.000Z
cpdb/trr/migrations/0004_discharge_position_choices.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
13
2018-06-18T23:08:47.000Z
2022-02-10T07:38:25.000Z
cpdb/trr/migrations/0004_discharge_position_choices.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
6
2018-05-17T21:59:43.000Z
2020-11-17T00:30:26.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2018-05-14 09:45 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('trr', '0003_add_tables_actionresponse_charge_subjectweapon_trrstatus_weapondischarge'), ...
33.285714
227
0.660944
82
699
5.45122
0.695122
0.040268
0.044743
0.06264
0
0
0
0
0
0
0
0.04078
0.193133
699
20
228
34.95
0.751773
0.097282
0
0
1
0
0.332803
0.122611
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a511da8c54798e420167b6b25d120b3f5e4a5932
1,407
py
Python
python/plot_ctr_auc_learning.py
wnzhang/rtb-unbiased-learning
d83bc75506fc830a6dc1c7e3b99742d13b960972
[ "Apache-2.0" ]
20
2016-07-05T06:08:44.000Z
2020-10-28T11:25:21.000Z
python/plot_ctr_auc_learning.py
wnzhang/rtb-unbiased-learning
d83bc75506fc830a6dc1c7e3b99742d13b960972
[ "Apache-2.0" ]
2
2017-09-06T12:43:05.000Z
2019-05-14T08:48:20.000Z
python/plot_ctr_auc_learning.py
wnzhang/rtb-unbiased-learning
d83bc75506fc830a6dc1c7e3b99742d13b960972
[ "Apache-2.0" ]
8
2016-07-09T15:26:21.000Z
2020-03-25T01:16:13.000Z
import pandas as pd import matplotlib.pyplot as plt data_folder = '../results/auc-rmse/' advs = ['all'] # ['1458', '2259', '2261', '2821', '2997', '3358', '3386', '3427', '3476', 'all'] algos = ['imp', 'uimp', 'kimp', 'bid'] for adv in advs: print 'running ' + adv first = True for algo in algos: ...
36.076923
96
0.570007
195
1,407
3.969231
0.471795
0.099483
0.05168
0.072351
0.134367
0.134367
0.134367
0
0
0
0
0.04304
0.223881
1,407
39
97
36.076923
0.665751
0.167733
0
0
0
0
0.182131
0
0
0
0
0
0
0
null
null
0
0.068966
null
null
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a51406b84d3532a47bfd5343d55d1a81e1d688e3
2,526
py
Python
tests/test_monitor_sys.py
CFMTech/monitor-server-api
51b927ae929ffec46c06a6d248969f6343ab5241
[ "MIT" ]
3
2021-06-16T07:05:39.000Z
2021-06-16T18:48:04.000Z
tests/test_monitor_sys.py
CFMTech/monitor-server-api
51b927ae929ffec46c06a6d248969f6343ab5241
[ "MIT" ]
2
2021-10-15T21:35:55.000Z
2021-10-19T11:16:58.000Z
tests/test_monitor_sys.py
CFMTech/monitor-server-api
51b927ae929ffec46c06a6d248969f6343ab5241
[ "MIT" ]
null
null
null
# SPDX-FileCopyrightText: 2021 Jean-Sébastien Dieu <jean-sebastien.dieu@cfm.fr> # # SPDX-License-Identifier: MIT from http import HTTPStatus from monitor_server import SERVER import json def test_index(monitor, gen): c = gen.new_context() monitor.post_contexts_v1(c) s1, s2, s3 = gen.new_session(), gen.ne...
34.60274
84
0.651227
397
2,526
3.979849
0.224181
0.056962
0.063291
0.060759
0.735443
0.691772
0.691772
0.691772
0.689241
0.689241
0
0.031078
0.210214
2,526
72
85
35.083333
0.760902
0.058591
0
0.677966
0
0
0.098609
0.030341
0
0
0
0
0.338983
1
0.067797
false
0
0.050847
0
0.118644
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a51b10a85256aa29bd9110a02b1fef5ab4fa0150
217
py
Python
app/client.py
crazymidnight/speech-recognition
efcda958f1247e6c13bb380288b4f8fcd593d28a
[ "MIT" ]
7
2018-11-26T13:42:13.000Z
2020-07-17T10:44:43.000Z
app/client.py
crazymidnight/speech-recognition
efcda958f1247e6c13bb380288b4f8fcd593d28a
[ "MIT" ]
45
2018-12-01T17:42:47.000Z
2020-07-29T11:21:23.000Z
app/client.py
crazymidnight/speech-recognition
efcda958f1247e6c13bb380288b4f8fcd593d28a
[ "MIT" ]
2
2019-11-26T14:16:27.000Z
2020-07-28T17:35:19.000Z
"""Client app.""" import os from flask import Blueprint client_bp = Blueprint( "api_app", __name__, url_prefix="", static_url_path="", static_folder="../dist/", template_folder="../dist/", )
15.5
31
0.62212
25
217
4.96
0.68
0.16129
0
0
0
0
0
0
0
0
0
0
0.202765
217
13
32
16.692308
0.716763
0.050691
0
0
0
0
0.115
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
eb4f7b2e1e7518e7eb22b8ad4de12872137c7c4f
5,353
py
Python
goggles/warehouse/tasks.py
smn/goggles
d2beef7c72aa0dfbd1a4a6ad104f533946c5ca2f
[ "BSD-2-Clause" ]
null
null
null
goggles/warehouse/tasks.py
smn/goggles
d2beef7c72aa0dfbd1a4a6ad104f533946c5ca2f
[ "BSD-2-Clause" ]
1
2015-01-09T13:40:03.000Z
2015-01-09T13:40:03.000Z
goggles/warehouse/tasks.py
smn/goggles
d2beef7c72aa0dfbd1a4a6ad104f533946c5ca2f
[ "BSD-2-Clause" ]
null
null
null
from __future__ import absolute_import from datetime import datetime from itertools import tee, izip import cookielib import mechanize import requests import pytz from celery import shared_task from django.conf import settings from goggles.warehouse.models import ( Profile, Conversation, ImportJob, Interaction...
29.738889
79
0.614048
603
5,353
5.295191
0.301824
0.018791
0.016286
0.024428
0.061384
0.043846
0.031319
0.031319
0.031319
0.031319
0
0.00545
0.280217
5,353
179
80
29.905028
0.823255
0
0
0.134228
0
0
0.071175
0.005978
0
0
0
0
0
0
null
null
0.033557
0.120805
null
null
0.013423
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
eb51b16a1967f6ca90b8da2775e97b062a612164
661
py
Python
jqueryexample.py
frogshead/ledControll
efdb85010dfc4cb42e0d3c1ce5be538ce7c826c4
[ "MIT" ]
null
null
null
jqueryexample.py
frogshead/ledControll
efdb85010dfc4cb42e0d3c1ce5be538ce7c826c4
[ "MIT" ]
null
null
null
jqueryexample.py
frogshead/ledControll
efdb85010dfc4cb42e0d3c1ce5be538ce7c826c4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ jQuery Example ~~~~~~~~~~~~~~ A simple application that shows how Flask and jQuery get along. :copyright: (c) 2015 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ from flask import Flask, jsonify, render_template, request app = Flask(__name__) @app...
21.322581
67
0.630862
91
661
4.395604
0.659341
0.015
0.015
0
0
0
0
0
0
0
0
0.019011
0.204236
661
30
68
22.033333
0.741445
0.03177
0
0
0
0
0.107239
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
eb545555653825c43e7b47a46c14f6edc43bff39
948
py
Python
data_structure_collection/stack.py
nocotan/algorithm_collection
c55460416cb935998aac9e56108ed4fa5afa8880
[ "Apache-2.0" ]
2
2021-03-19T13:15:06.000Z
2021-06-15T12:18:12.000Z
data_structure_collection/stack.py
nocotan/algorithm_collection
c55460416cb935998aac9e56108ed4fa5afa8880
[ "Apache-2.0" ]
4
2021-03-09T15:34:20.000Z
2021-03-16T12:33:44.000Z
data_structure_collection/stack.py
nocotan/algorithm_collection_py
c55460416cb935998aac9e56108ed4fa5afa8880
[ "Apache-2.0" ]
null
null
null
class Node: def __init__(self, value): self.value = value self.next = None class Stack: def __init__(self): self.head = Node("head") self.size = 0 def __str__(self): cur = self.head.next out = "" while cur: out += str(cur.value) + "->" ...
22.571429
58
0.528481
121
948
4.016529
0.264463
0.131687
0.17284
0.131687
0.259259
0.259259
0.242798
0
0
0
0
0.00821
0.357595
948
41
59
23.121951
0.789819
0
0
0.060606
0
0
0.063425
0
0
0
0
0
0
1
0.212121
false
0
0
0.030303
0.393939
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
eb616de3f83a34d4727a550887a0fd111bd7a278
436
py
Python
accounts/migrations/0002_auto_20210316_1042.py
GadirMirzayev/Django-Blog
183480c39be7ae7ad44e78396bcdfaa16327e77a
[ "MIT" ]
1
2021-08-20T07:44:19.000Z
2021-08-20T07:44:19.000Z
accounts/migrations/0002_auto_20210316_1042.py
GadirMirzayev/Django-Blog
183480c39be7ae7ad44e78396bcdfaa16327e77a
[ "MIT" ]
null
null
null
accounts/migrations/0002_auto_20210316_1042.py
GadirMirzayev/Django-Blog
183480c39be7ae7ad44e78396bcdfaa16327e77a
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-03-16 10:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0001_initial'), ] operations = [ migrations.AlterField( model_name='user', name='gender', fi...
22.947368
112
0.58945
47
436
5.404255
0.808511
0.07874
0
0
0
0
0
0
0
0
0
0.065625
0.266055
436
18
113
24.222222
0.728125
0.103211
0
0
1
0
0.113111
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
eb634c6c8053a910ccfc261b832e8efda7f9b5c6
442
py
Python
mpesapp/api/urls.py
UmmuRasul/daraja
9a77b07f718d7da924ae1fc945b5a94cce4e421b
[ "MIT" ]
null
null
null
mpesapp/api/urls.py
UmmuRasul/daraja
9a77b07f718d7da924ae1fc945b5a94cce4e421b
[ "MIT" ]
null
null
null
mpesapp/api/urls.py
UmmuRasul/daraja
9a77b07f718d7da924ae1fc945b5a94cce4e421b
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path, include from mpesapp.api.views import LNMCallbackUrlAPIView, C2BValidationAPIView, C2BConfirmationAPIView urlpatterns = [ path('lnm/', LNMCallbackUrlAPIView.as_view(), name='lnm-callbackurl'), path('c2b-validation/', C2BValidationAPIView.as_view()...
40.181818
97
0.766968
46
442
7.304348
0.5
0.053571
0.089286
0.077381
0
0
0
0
0
0
0
0.020202
0.104072
442
11
98
40.181818
0.828283
0
0
0
0
0
0.182844
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
eb67a1fa42d003a7743584b11ad83af72ba25119
446
py
Python
Robotsvsdino/fleet.py
techysoldier/robovsdinogame
69903eceab7bda573bdb63f28c9539f4cfda972e
[ "MIT" ]
null
null
null
Robotsvsdino/fleet.py
techysoldier/robovsdinogame
69903eceab7bda573bdb63f28c9539f4cfda972e
[ "MIT" ]
null
null
null
Robotsvsdino/fleet.py
techysoldier/robovsdinogame
69903eceab7bda573bdb63f28c9539f4cfda972e
[ "MIT" ]
null
null
null
#import robot file to create fleet from robot import Robot class Fleet: def __init__(self) : self.robot = [] self.create_fleet() def create_fleet(self): terminator = Robot('terminator') self.robot.append(terminator) r2d2 = Robot('R2D2') self.robot.append(r2d2...
21.238095
40
0.58296
52
446
4.884615
0.307692
0.177165
0.23622
0
0
0
0
0
0
0
0
0.038585
0.302691
446
20
41
22.3
0.778135
0.073991
0
0
0
0
0.05122
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0
0.285714
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
eb756c6953ac0bc2307759637cc58ef2fc24007e
7,412
py
Python
modules/GridKaAnnouncement.py
HappyFaceGoettingen/HappyFaceCore
6989b3ff110abbdd49533c42b06ad128ddebf7b8
[ "Apache-2.0" ]
null
null
null
modules/GridKaAnnouncement.py
HappyFaceGoettingen/HappyFaceCore
6989b3ff110abbdd49533c42b06ad128ddebf7b8
[ "Apache-2.0" ]
null
null
null
modules/GridKaAnnouncement.py
HappyFaceGoettingen/HappyFaceCore
6989b3ff110abbdd49533c42b06ad128ddebf7b8
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright 2012 Institut für Experimentelle Kernphysik - Karlsruher Institut für Technologie # # 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://...
43.345029
156
0.695764
841
7,412
6.015458
0.261593
0.02372
0.020162
0.019767
0.264281
0.194505
0.135995
0.135995
0.116229
0.10002
0
0.009214
0.165407
7,412
171
157
43.345029
0.8086
0.101997
0
0.169014
0
0
0.25738
0.041265
0
0
0
0
0
0
null
null
0
0.028169
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
eb7657699f0faf02afd621cc6450e2ebed54b0cb
10,761
py
Python
tests/test_generic.py
rhaDHI/mikeio
eb24503d935df969eac32569a41d223d6f0e2edf
[ "BSD-3-Clause" ]
null
null
null
tests/test_generic.py
rhaDHI/mikeio
eb24503d935df969eac32569a41d223d6f0e2edf
[ "BSD-3-Clause" ]
null
null
null
tests/test_generic.py
rhaDHI/mikeio
eb24503d935df969eac32569a41d223d6f0e2edf
[ "BSD-3-Clause" ]
null
null
null
import os from shutil import copyfile import numpy as np import mikeio from mikeio.generic import scale, diff, sum, extract import pytest def test_add_constant(tmpdir): infilename = "tests/testdata/random.dfs0" outfilename = os.path.join(tmpdir.dirname, "add.dfs0") scale(infilename, outfilename, offset=1...
28.468254
78
0.693151
1,400
10,761
5.215
0.115714
0.054787
0.028763
0.046021
0.767977
0.700863
0.671552
0.633612
0.552938
0.498151
0
0.037761
0.17805
10,761
377
79
28.543767
0.787677
0.009293
0
0.487603
0
0
0.126044
0.087565
0
0
0
0
0.157025
1
0.082645
false
0
0.024793
0
0.107438
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
0
0
0
0
0
0
1
eb78503b82da927a091db750b8804c1546b0acb4
644
py
Python
day/005/the_highest_score.py
Wanzaz/100-days-of-code
a450a5c64f04cf1155fcc76e59a73f5b509fd8de
[ "MIT" ]
null
null
null
day/005/the_highest_score.py
Wanzaz/100-days-of-code
a450a5c64f04cf1155fcc76e59a73f5b509fd8de
[ "MIT" ]
null
null
null
day/005/the_highest_score.py
Wanzaz/100-days-of-code
a450a5c64f04cf1155fcc76e59a73f5b509fd8de
[ "MIT" ]
null
null
null
# the highest score student_scores = input("Input a list of student scores ").split() for n in range(0, len(student_scores)): student_scores[n] = int(student_scores[n]) print(student_scores) # or you can use the max() function # max = max(student_scores) highest = student_scores[0] for index in range(0, len(stude...
26.833333
65
0.712733
97
644
4.57732
0.28866
0.351351
0.101351
0.04955
0.283784
0.283784
0.175676
0.175676
0.175676
0
0
0.007547
0.177019
644
23
66
28
0.830189
0.119565
0
0
0
0
0.169666
0
0
0
0
0
0
1
0
false
0
0
0
0
0.222222
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
eb797d109d11cdd222e66884cd53b0076f9abb3d
1,672
py
Python
blog/migrations/0002_post.py
cristianCarrerasCastillo/django_cafeteria
32284869e35ab125403ca2e703f7112ceaf227a9
[ "MIT" ]
1
2021-04-19T02:44:21.000Z
2021-04-19T02:44:21.000Z
blog/migrations/0002_post.py
cristianCarrerasCastillo/django_cafeteria
32284869e35ab125403ca2e703f7112ceaf227a9
[ "MIT" ]
null
null
null
blog/migrations/0002_post.py
cristianCarrerasCastillo/django_cafeteria
32284869e35ab125403ca2e703f7112ceaf227a9
[ "MIT" ]
null
null
null
# Generated by Django 3.2 on 2021-04-09 03:59 import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings....
44
159
0.625
177
1,672
5.757062
0.536723
0.118744
0.047105
0.04318
0
0
0
0
0
0
0
0.029851
0.238636
1,672
37
160
45.189189
0.770621
0.025718
0
0
1
0
0.150584
0
0
0
0
0
0
1
0
false
0
0.16129
0
0.258065
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
eb7fb681b6e6eec814f4d907870760e17071c1f9
2,853
py
Python
apps/bim/views/bim_project.py
picsldev/pyerp
e998e3e99a4e45033d54a6b1df50697f7288f67f
[ "MIT" ]
null
null
null
apps/bim/views/bim_project.py
picsldev/pyerp
e998e3e99a4e45033d54a6b1df50697f7288f67f
[ "MIT" ]
null
null
null
apps/bim/views/bim_project.py
picsldev/pyerp
e998e3e99a4e45033d54a6b1df50697f7288f67f
[ "MIT" ]
null
null
null
# Librerias Django from django.contrib.auth.decorators import login_required from django.contrib.auth.mixins import LoginRequiredMixin from django.shortcuts import redirect from django.urls import reverse from django.views.generic import DetailView, ListView from django.views.generic.edit import CreateView, UpdateView ...
34.792683
96
0.697161
315
2,853
6.149206
0.228571
0.056789
0.057821
0.035106
0.456892
0.422819
0.422819
0.385648
0.337119
0.337119
0
0
0.175605
2,853
81
97
35.222222
0.823554
0.016123
0
0.435484
0
0
0.161912
0
0
0
0
0
0
1
0.080645
false
0
0.129032
0
0.580645
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
eb8270f479cf82fd918b9b3f4c797efec7927b2b
13,319
py
Python
app/tests/unit/test_bib_references.py
willsower/latex2speech
36a69bb5ee74e1ca362968604b4a554034c5f408
[ "MIT" ]
3
2021-03-17T22:13:23.000Z
2021-08-30T20:35:39.000Z
app/tests/unit/test_bib_references.py
willsower/latex2speech
36a69bb5ee74e1ca362968604b4a554034c5f408
[ "MIT" ]
50
2021-03-15T23:03:43.000Z
2021-07-14T14:22:45.000Z
app/tests/unit/test_bib_references.py
willsower/latex2speech
36a69bb5ee74e1ca362968604b4a554034c5f408
[ "MIT" ]
3
2021-03-30T18:18:40.000Z
2021-04-14T17:51:26.000Z
import unittest import os import yaml from doc_preprocess import doc_preprocess import expand_labels, conversion_parser, aws_polly_render class TestExternalBibliographies(unittest.TestCase): def _docsEqual(self, doc1, doc2): doc1 = doc1.replace("'", '"') doc2 = doc2.replace("'", '"') ...
55.962185
576
0.588708
1,551
13,319
4.983237
0.157318
0.050071
0.042696
0.059387
0.760124
0.71911
0.632811
0.604735
0.590374
0.564756
0
0.024835
0.271417
13,319
238
577
55.962185
0.771434
0.078309
0
0.48366
0
0.098039
0.458733
0.049623
0
0
0
0
0.111111
1
0.091503
false
0
0.03268
0.006536
0.163399
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
0
0
0
0
0
0
1
eb8a07a70a8ad4c7905091925372eb7e3af3c375
2,806
py
Python
test/rsynctransfertest.py
cedadev/mistamover
37ad31c4c66658c4c77340efc783040f94df3f3f
[ "BSD-3-Clause-Clear" ]
null
null
null
test/rsynctransfertest.py
cedadev/mistamover
37ad31c4c66658c4c77340efc783040f94df3f3f
[ "BSD-3-Clause-Clear" ]
null
null
null
test/rsynctransfertest.py
cedadev/mistamover
37ad31c4c66658c4c77340efc783040f94df3f3f
[ "BSD-3-Clause-Clear" ]
null
null
null
# BSD Licence # Copyright (c) 2012, Science & Technology Facilities Council (STFC) # All rights reserved. # # See the LICENSE file in the source distribution of this software for # the full license text. import sys import os import shutil import hashlib this_dir = os.path.dirname(__file__) if os.path.basename(this_di...
34.219512
88
0.526016
297
2,806
4.89899
0.373737
0.116838
0.115464
0.047423
0.47354
0.47354
0.47354
0.47354
0.416495
0.416495
0
0.029526
0.360299
2,806
81
89
34.641975
0.781059
0.068068
0
0.529412
0
0
0.189034
0.122316
0
0
0
0
0.044118
0
null
null
0.029412
0.088235
null
null
0.073529
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
eb8d8a1ef71316489c8458409b623cc3a24fd8bf
944
py
Python
iris_sdk/models/dldas.py
NumberAI/python-bandwidth-iris
0e05f79d68b244812afb97e00fd65b3f46d00aa3
[ "MIT" ]
2
2020-04-13T13:47:59.000Z
2022-02-23T20:32:41.000Z
iris_sdk/models/dldas.py
bandwidthcom/python-bandwidth-iris
dbcb30569631395041b92917252d913166f7d3c9
[ "MIT" ]
5
2020-09-18T20:59:24.000Z
2021-08-25T16:51:42.000Z
iris_sdk/models/dldas.py
bandwidthcom/python-bandwidth-iris
dbcb30569631395041b92917252d913166f7d3c9
[ "MIT" ]
5
2018-12-12T14:39:50.000Z
2020-11-17T21:42:29.000Z
#!/usr/bin/env python from __future__ import division, absolute_import, print_function from future.builtins import super from iris_sdk.models.base_resource import BaseResource from iris_sdk.models.data.dldas import DldasData from iris_sdk.models.dlda import Dlda XML_NAME_DLDAS = "ListOrderIdUserIdDate" XPATH_DLDAS =...
27.764706
66
0.705508
130
944
4.823077
0.407692
0.038278
0.052632
0.08134
0
0
0
0
0
0
0
0
0.195975
944
34
66
27.764706
0.826087
0.034958
0
0
0
0
0.029834
0.023204
0
0
0
0
0
1
0.181818
false
0
0.227273
0.090909
0.681818
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
eb8e6d7640d52ef2d14c4d25f63fa0238b3d2fba
974
py
Python
dsenser/xgboost/explicit.py
katherine-atwell/DiscourseSenser
73008c9437a0466005be5f6d130050eece4069a6
[ "MIT" ]
15
2016-05-13T12:15:54.000Z
2020-01-03T11:33:56.000Z
dsenser/xgboost/explicit.py
katherine-atwell/DiscourseSenser
73008c9437a0466005be5f6d130050eece4069a6
[ "MIT" ]
4
2016-06-19T09:56:51.000Z
2016-10-12T22:07:51.000Z
dsenser/xgboost/explicit.py
katherine-atwell/DiscourseSenser
73008c9437a0466005be5f6d130050eece4069a6
[ "MIT" ]
2
2016-05-23T08:49:12.000Z
2020-07-28T00:02:11.000Z
#!/usr/bin/env python # -*- coding: utf-8; mode: python; -*- """Module for XGBoost disambiguation of explicit relations. Attributes: XGBoostExplicitSenser (class): class that xgboost sense prediction of explicit relations """ ################################################################## # Imports from __...
28.647059
67
0.648871
95
974
6.484211
0.547368
0.048701
0.061688
0
0
0
0
0
0
0
0
0.001188
0.135524
974
33
68
29.515152
0.730404
0.298768
0
0
0
0
0.072897
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.727273
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
eb932e8167709e62f65d39469489d24fe7d12d54
2,691
py
Python
examples/interface/Tikhonov.py
justusc/Elemental
145ccb28411f3f0c65ca30ecea776df33297e4ff
[ "BSD-3-Clause" ]
null
null
null
examples/interface/Tikhonov.py
justusc/Elemental
145ccb28411f3f0c65ca30ecea776df33297e4ff
[ "BSD-3-Clause" ]
null
null
null
examples/interface/Tikhonov.py
justusc/Elemental
145ccb28411f3f0c65ca30ecea776df33297e4ff
[ "BSD-3-Clause" ]
null
null
null
# # Copyright (c) 2009-2015, Jack Poulson # All rights reserved. # # This file is part of Elemental and is under the BSD 2-Clause License, # which can be found in the LICENSE file in the root directory, or at # http://opensource.org/licenses/BSD-2-Clause # import El, time n0 = n1 = 100 display = False worldRank...
25.875
76
0.617614
437
2,691
3.791762
0.329519
0.03621
0.139409
0.066385
0.306578
0.200966
0.133977
0.071213
0.037417
0
0
0.060117
0.239688
2,691
103
77
26.126214
0.749756
0.239316
0
0.210526
0
0
0.051775
0
0
0
0
0
0
0
null
null
0
0.013158
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
eba12b1c6e5bc6d42ca798c11d62ce872f6fe7ac
661
py
Python
runtests.py
humantech/django-ext_fields
932f810ef143b834399bb39baacb105e355da435
[ "MIT" ]
2
2016-11-03T15:29:43.000Z
2017-05-09T05:56:28.000Z
runtests.py
collabo-br/django-ext_fields
932f810ef143b834399bb39baacb105e355da435
[ "MIT" ]
1
2015-03-12T14:43:58.000Z
2015-03-30T17:39:36.000Z
runtests.py
humantech/django-ext_fields
932f810ef143b834399bb39baacb105e355da435
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os import sys import django from django.conf import settings from django.utils.functional import empty from django.test.utils import get_runner if __name__ == "__main__": def run_tests(subtest): test_module = 'tests.' + subtest os.environ['DJANGO_SETTINGS_MODULE'] =...
23.607143
77
0.680787
87
661
4.942529
0.425287
0.069767
0.069767
0
0
0
0
0
0
0
0
0.003846
0.213313
661
27
78
24.481481
0.823077
0.030257
0
0
0
0
0.081377
0.034429
0
0
0
0
0
1
0.055556
false
0
0.333333
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
eba4ef0ad3eb2b7183adf18247b98e5e542320fb
7,229
py
Python
hat/api_call.py
IdahoLabResearch/HydroGenerate
3d490598ee4afee84d5aac82d5b1e34986ee6200
[ "BSD-3-Clause" ]
null
null
null
hat/api_call.py
IdahoLabResearch/HydroGenerate
3d490598ee4afee84d5aac82d5b1e34986ee6200
[ "BSD-3-Clause" ]
null
null
null
hat/api_call.py
IdahoLabResearch/HydroGenerate
3d490598ee4afee84d5aac82d5b1e34986ee6200
[ "BSD-3-Clause" ]
null
null
null
''' Copyright 2021, Battelle Energy Alliance, LLC ''' import requests import pandas as pd import numpy as np import json import os # 02.19.2021: Juan Gallego-Calderon # This is the older url where we were taking the data from. We found that the REST API of water services is more structure so we are going w...
44.623457
193
0.645179
996
7,229
4.534137
0.28012
0.028787
0.018601
0.031887
0.19907
0.134411
0.107396
0.069088
0.069088
0.069088
0
0.021223
0.224374
7,229
161
194
44.900621
0.784198
0.427998
0
0.118421
0
0.026316
0.247579
0
0
0
0
0.012422
0
1
0.065789
false
0.026316
0.065789
0
0.197368
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
1
0
0
0
0
0
0
0
0
0
0
1
eba612449cd52da6e01526ea1675c676ed944be0
3,256
py
Python
yabba/http/__init__.py
GoodiesHQ/yabba
350761be6ba478e3171f05da17dfce05614357ef
[ "MIT" ]
2
2020-02-18T15:34:08.000Z
2020-02-18T17:35:29.000Z
yabba/http/__init__.py
GoodiesHQ/yabba
350761be6ba478e3171f05da17dfce05614357ef
[ "MIT" ]
null
null
null
yabba/http/__init__.py
GoodiesHQ/yabba
350761be6ba478e3171f05da17dfce05614357ef
[ "MIT" ]
null
null
null
from asyncio_pool import AioPool from asyncio_pool.results import getres from functools import partial from yabba.utils import C, target_tasks import aiohttp import asyncio import ssl import sys async def worker(args): url, username, password = args try: async with aiohttp.ClientSession( c...
31.921569
81
0.529177
340
3,256
4.935294
0.344118
0.047676
0.045292
0.02503
0.103695
0.06913
0.06913
0.06913
0.06913
0.06913
0
0.005955
0.381143
3,256
101
82
32.237624
0.826799
0.035012
0
0.074074
0
0
0.014673
0
0
0
0
0
0
1
0.024691
false
0.08642
0.098765
0
0.185185
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
eba6b688b986304ef0e4d42901ad310715f90f78
235
py
Python
leetcode/single_number_III/single_number_III.py
sagasu/python-algorithms
d630777a3f17823165e4d72ab780ede7b10df752
[ "MIT" ]
null
null
null
leetcode/single_number_III/single_number_III.py
sagasu/python-algorithms
d630777a3f17823165e4d72ab780ede7b10df752
[ "MIT" ]
null
null
null
leetcode/single_number_III/single_number_III.py
sagasu/python-algorithms
d630777a3f17823165e4d72ab780ede7b10df752
[ "MIT" ]
null
null
null
class Solution(object): def singleNumber(self, nums): diff = reduce(lambda x, y: x ^ y, nums, 0) diff &= -diff res = [0, 0] for num in nums: res[num & diff == 0] ^= num return res
29.375
50
0.489362
32
235
3.59375
0.5625
0.034783
0
0
0
0
0
0
0
0
0
0.027586
0.382979
235
8
51
29.375
0.765517
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ebaac681c7f4874fefde5376fd748cf5bf4839ac
3,038
py
Python
poradnia/advicer/views.py
efefre/poradnia
8bf9c88888d538cf4d1224431355c850d31ef252
[ "MIT" ]
23
2015-07-20T01:10:52.000Z
2021-01-12T10:05:48.000Z
poradnia/advicer/views.py
efefre/poradnia
8bf9c88888d538cf4d1224431355c850d31ef252
[ "MIT" ]
710
2015-07-12T13:19:14.000Z
2022-03-29T12:38:18.000Z
poradnia/advicer/views.py
efefre/poradnia
8bf9c88888d538cf4d1224431355c850d31ef252
[ "MIT" ]
20
2015-07-21T00:45:34.000Z
2021-01-31T12:48:18.000Z
from atom.ext.crispy_forms.views import FormSetMixin from atom.views import ActionMessageMixin, ActionView, FormInitialMixin from braces.views import ( FormValidMessageMixin, LoginRequiredMixin, SelectRelatedMixin, StaffuserRequiredMixin, UserFormKwargsMixin, ) from django.shortcuts import get_objec...
25.107438
86
0.707373
304
3,038
6.884868
0.388158
0.023889
0.043
0.0301
0.097468
0.097468
0.097468
0.097468
0.097468
0.097468
0
0.003761
0.212311
3,038
120
87
25.316667
0.870873
0
0
0.424242
0
0
0.044766
0
0
0
0
0
0
1
0.050505
false
0
0.131313
0.020202
0.505051
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1