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
4e15463f1bd86c58fab84d9a5933a630bf1642d9
899
py
Python
linux/.config/qtile/lib/layouts.py
joserc87/config-files
ca90f1591d249ac39abb946d169654a7c3346833
[ "MIT" ]
null
null
null
linux/.config/qtile/lib/layouts.py
joserc87/config-files
ca90f1591d249ac39abb946d169654a7c3346833
[ "MIT" ]
null
null
null
linux/.config/qtile/lib/layouts.py
joserc87/config-files
ca90f1591d249ac39abb946d169654a7c3346833
[ "MIT" ]
null
null
null
""" Layout definitions """ from libqtile import layout from .settings import COLS from libqtile.config import Match _layout_common_settings = dict( border_focus=COLS['purple_4'], border_normal=COLS['dark_1'], single_border_width=0, ) _max_layout_settings = { **_layout_common_settings, "border_focu...
26.441176
77
0.724138
106
899
5.773585
0.386792
0.156863
0.261438
0.127451
0
0
0
0
0
0
0
0.010296
0.135706
899
33
78
27.242424
0.777349
0.216908
0
0
0
0
0.09104
0
0
0
0
0
0
1
0
false
0
0.136364
0
0.136364
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
4e21313453a76bb801fcf7c786e4c9fa435345a5
3,175
py
Python
tests/test_bandits.py
tmcclintock/MultiArmedBandits
bb3214a5687c750ef86f02d6f6e84a4b73d58dcf
[ "MIT" ]
null
null
null
tests/test_bandits.py
tmcclintock/MultiArmedBandits
bb3214a5687c750ef86f02d6f6e84a4b73d58dcf
[ "MIT" ]
1
2020-07-27T00:51:41.000Z
2020-07-27T00:51:41.000Z
tests/test_bandits.py
tmcclintock/MultiArmedBandits
bb3214a5687c750ef86f02d6f6e84a4b73d58dcf
[ "MIT" ]
null
null
null
""" Tests of bandits. """ import numpy as np import pytest from unittest import TestCase from bandit.bandit import ( CustomBandit, EpsGreedyBandit, GreedyBandit, RandomBandit, ) from bandit.environment import Environment from bandit.reward import GaussianReward class BanditTestCase(TestCase): de...
29.12844
68
0.605669
390
3,175
4.861538
0.187179
0.05538
0.075949
0.080169
0.456751
0.427215
0.327004
0.327004
0.283755
0.25211
0
0.015673
0.276535
3,175
108
69
29.398148
0.809752
0.014173
0
0.337079
0
0
0.002883
0
0
0
0
0
0.41573
1
0.101124
false
0
0.067416
0
0.224719
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
4e2aa357eb6cd6758da7f0deccc68b00c56538d5
1,783
py
Python
utest/test_detect_file_order.py
fanfank/timecat
6488771d781489ea03d3490e55050a18522c8bd1
[ "MIT" ]
69
2016-01-08T03:23:57.000Z
2021-05-06T03:14:10.000Z
utest/test_detect_file_order.py
fanfank/timecat
6488771d781489ea03d3490e55050a18522c8bd1
[ "MIT" ]
1
2016-10-20T17:08:58.000Z
2016-10-20T17:08:58.000Z
utest/test_detect_file_order.py
fanfank/timecat
6488771d781489ea03d3490e55050a18522c8bd1
[ "MIT" ]
10
2016-01-15T14:30:29.000Z
2020-09-24T02:42:14.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- from include import * from timecat import detect_file_format from timecat import detect_datetime_format case_num = 0 def dofo(f, start, end, regex_format_info): global case_num case_num += 1 print("case {}".format(case_num)) res = detect_file_format(f, start, ...
32.418182
84
0.63152
273
1,783
3.912088
0.234432
0.052434
0.168539
0.050562
0.714419
0.701311
0.63764
0.597378
0.597378
0.526217
0
0.153678
0.22995
1,783
54
85
33.018519
0.624181
0.066741
0
0.388889
0
0
0.237319
0.113527
0
0
0
0
0
1
0.027778
false
0
0.083333
0
0.111111
0.083333
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
4e2c40a662d4bfc0d9d63abeff78cd1610530203
1,642
py
Python
Downey2012a_exes/cap02/cookie2.py
crisgc/mab719
0514efdd4db649f472771e6f16df9a5611ed7db9
[ "MIT" ]
null
null
null
Downey2012a_exes/cap02/cookie2.py
crisgc/mab719
0514efdd4db649f472771e6f16df9a5611ed7db9
[ "MIT" ]
null
null
null
Downey2012a_exes/cap02/cookie2.py
crisgc/mab719
0514efdd4db649f472771e6f16df9a5611ed7db9
[ "MIT" ]
null
null
null
"""This file contains code for use with "Think Bayes", by Allen B. Downey, available from greenteapress.com Copyright 2012 Allen B. Downey License: GNU GPLv3 http://www.gnu.org/licenses/gpl.html """ from thinkbayes import Pmf from bowl import Bowl class Cookie(Pmf): """A map from string bowl ID to probablity."""...
23.457143
67
0.574909
204
1,642
4.52451
0.406863
0.058505
0.086674
0.08234
0.096425
0.069339
0.069339
0.069339
0.069339
0
0
0.015693
0.301462
1,642
69
68
23.797101
0.789015
0
0
0.194444
0
0
0.096688
0
0
0
0
0
0
0
null
null
0
0.055556
null
null
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4e375905fd80fe7f68027a1624911d3d06a78ce6
2,672
py
Python
src/getFrustum.py
asr-ros/asr_resources_for_active_scene_recognition
dd402ea95fd877769f12e572cad85385e4ebe5b3
[ "BSD-3-Clause" ]
null
null
null
src/getFrustum.py
asr-ros/asr_resources_for_active_scene_recognition
dd402ea95fd877769f12e572cad85385e4ebe5b3
[ "BSD-3-Clause" ]
null
null
null
src/getFrustum.py
asr-ros/asr_resources_for_active_scene_recognition
dd402ea95fd877769f12e572cad85385e4ebe5b3
[ "BSD-3-Clause" ]
2
2017-03-03T16:59:55.000Z
2019-12-06T12:10:33.000Z
#!/usr/bin/env python ''' Copyright (c) 2016, Allgeyer Tobias, Aumann Florian, Borella Jocelyn, Karrenbauer Oliver, Marek Felix, Meissner Pascal, Stroh Daniel, Trautmann Jeremias All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the follo...
54.530612
755
0.791542
370
2,672
5.589189
0.513514
0.033849
0.025145
0.040619
0.17118
0.065764
0.065764
0.065764
0.065764
0.065764
0
0.003977
0.153069
2,672
49
756
54.530612
0.909854
0.026946
0
0
0
0
0.161426
0.15304
0
0
0
0
0
0
null
null
0
0.227273
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
4e3f58928a5748c64ee63fdc647b83c5de587549
6,419
py
Python
peitho/errors_and_parsers/abc_sysbio/abcsysbio_parser/ParseAndWrite.py
MichaelPHStumpf/Peitho
a4daa9a3b2d8960079573d08d5baa019b5ac857e
[ "MIT" ]
1
2018-01-05T21:59:49.000Z
2018-01-05T21:59:49.000Z
peitho/errors_and_parsers/abc_sysbio/abcsysbio_parser/ParseAndWrite.py
MichaelPHStumpf/Peitho
a4daa9a3b2d8960079573d08d5baa019b5ac857e
[ "MIT" ]
null
null
null
peitho/errors_and_parsers/abc_sysbio/abcsysbio_parser/ParseAndWrite.py
MichaelPHStumpf/Peitho
a4daa9a3b2d8960079573d08d5baa019b5ac857e
[ "MIT" ]
3
2018-01-05T22:00:09.000Z
2018-12-25T13:32:10.000Z
from peitho.errors_and_parsers.abc_sysbio.abcsysbio_parser.ODEPythonWriter import ODEPythonWriter from peitho.errors_and_parsers.abc_sysbio.abcsysbio_parser.GillespiePythonWriter import GillespiePythonWriter from peitho.errors_and_parsers.abc_sysbio.abcsysbio_parser.SDEPythonWriter import SDEPythonWriter from peitho.er...
51.352
145
0.598068
653
6,419
5.82389
0.229709
0.089403
0.095714
0.044965
0.485406
0.442019
0.408625
0.399159
0.312122
0.109913
0
0.003406
0.313912
6,419
124
146
51.766129
0.860127
0.056862
0
0.268657
0
0
0.083282
0
0
0
0
0
0
0
null
null
0
0.149254
null
null
0.089552
0
0
0
null
0
0
0
0
0
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
9d70c2235e5fc849eb97316fd49d7acf1fb36a6a
2,634
py
Python
seamless/highlevel/SubCell.py
sjdv1982/seamless
1b814341e74a56333c163f10e6f6ceab508b7df9
[ "MIT" ]
15
2017-06-07T12:49:12.000Z
2020-07-25T18:06:04.000Z
seamless/highlevel/SubCell.py
sjdv1982/seamless
1b814341e74a56333c163f10e6f6ceab508b7df9
[ "MIT" ]
110
2016-06-21T23:20:44.000Z
2022-02-24T16:15:22.000Z
seamless/highlevel/SubCell.py
sjdv1982/seamless
1b814341e74a56333c163f10e6f6ceab508b7df9
[ "MIT" ]
6
2016-06-21T11:19:22.000Z
2019-01-21T13:45:39.000Z
import weakref from .Cell import Cell class SubCell(Cell): def __init__(self, parent, cell, subpath, readonly): assert isinstance(cell, Cell) assert not isinstance(cell, SubCell) fullpath = cell._path + subpath super().__init__(parent=parent, path=fullpath) self._cell = wea...
30.988235
96
0.602885
306
2,634
4.911765
0.277778
0.053227
0.023952
0.026613
0
0
0
0
0
0
0
0.001629
0.300683
2,634
84
97
31.357143
0.814332
0.077069
0
0.220588
0
0
0.009481
0
0
0
0
0.011905
0.044118
1
0.176471
false
0.014706
0.044118
0.073529
0.441176
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
9d712c380762c48dece9d6503dff8952414ca037
1,663
py
Python
cadnano/tests/testgroup.py
mctrinh/cadnano2.5
d8254f24eef5fd77b4fb2b1a9642a8eea2e3c736
[ "BSD-3-Clause" ]
69
2015-01-13T02:54:40.000Z
2022-03-27T14:25:51.000Z
cadnano/tests/testgroup.py
mctrinh/cadnano2.5
d8254f24eef5fd77b4fb2b1a9642a8eea2e3c736
[ "BSD-3-Clause" ]
127
2015-01-01T06:26:34.000Z
2022-03-02T12:48:05.000Z
cadnano/tests/testgroup.py
mctrinh/cadnano2.5
d8254f24eef5fd77b4fb2b1a9642a8eea2e3c736
[ "BSD-3-Clause" ]
48
2015-01-22T19:57:49.000Z
2022-03-27T14:27:53.000Z
# -*- coding: utf-8 -*- from PyQt5.QtWidgets import QGraphicsItem, QGraphicsRectItem, QGraphicsItemGroup from PyQt5.QtCore import pyqtSlot class MyItemGroup(QGraphicsItemGroup): Type = QGraphicsItem.UserType + 3 def __init__(self, parent=None): super(MyItemGroup, self).__init__(parent) def __rep...
26.822581
80
0.683103
201
1,663
5.383085
0.338308
0.049908
0.069316
0.047135
0.19963
0.19963
0.127542
0.127542
0.127542
0.127542
0
0.010687
0.212267
1,663
61
81
27.262295
0.815267
0.164161
0
0.2
0
0
0
0
0
0
0
0
0.2
1
0.2
false
0
0.057143
0.057143
0.514286
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
9d7c94008fdd0c290d0ad7ba8082f2beff2eb070
2,452
py
Python
Tensorflow_2X_PythonFiles/demo123_convolution_visualization.py
mahnooranjum/Tensorflow_DeepLearning
65ab178d4c17efad01de827062d5c85bdfb9b1ca
[ "MIT" ]
null
null
null
Tensorflow_2X_PythonFiles/demo123_convolution_visualization.py
mahnooranjum/Tensorflow_DeepLearning
65ab178d4c17efad01de827062d5c85bdfb9b1ca
[ "MIT" ]
null
null
null
Tensorflow_2X_PythonFiles/demo123_convolution_visualization.py
mahnooranjum/Tensorflow_DeepLearning
65ab178d4c17efad01de827062d5c85bdfb9b1ca
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Demo123_Convolution_Visualization.ipynb # **Spit some [tensor] flow** We need to learn the intricacies of tensorflow to master deep learning `Let's get this over with` """ import numpy as np import pandas as pd import matplotlib.pyplot as plt import tensorflow as tf print(tf.__version__) ...
21.137931
98
0.69168
386
2,452
4.277202
0.393782
0.018171
0.034525
0.023622
0.143549
0.079346
0.05633
0.041187
0.041187
0
0
0.023546
0.151305
2,452
115
99
21.321739
0.769822
0.026509
0
0.226667
0
0
0.043961
0.017122
0
0
0
0
0
0
null
null
0
0.133333
null
null
0.093333
0
0
0
null
0
0
0
0
0
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
9d88690768c73f37df5f9308e7658f80de5bdba2
1,475
py
Python
orange3/Orange/widgets/credentials.py
rgschmitz1/BioDepot-workflow-builder
f74d904eeaf91ec52ec9b703d9fb38e9064e5a66
[ "MIT" ]
54
2017-01-08T17:21:49.000Z
2021-11-02T08:46:07.000Z
orange3/Orange/widgets/credentials.py
Synthia-3/BioDepot-workflow-builder
4ee93abe2d79465755e82a145af3b6a6e1e79fd4
[ "MIT" ]
22
2017-03-28T06:03:14.000Z
2021-07-28T05:43:55.000Z
orange3/Orange/widgets/credentials.py
Synthia-3/BioDepot-workflow-builder
4ee93abe2d79465755e82a145af3b6a6e1e79fd4
[ "MIT" ]
21
2017-01-26T21:12:09.000Z
2022-01-31T21:34:59.000Z
import logging import keyring SERVICE_NAME = "Orange3 - {}" log = logging.getLogger(__name__) class CredentialManager: """ Class for storage of passwords in the system keyring service. All attributes of this class are safely stored. Args: service_name (str): service name used for storing i...
27.830189
88
0.614237
174
1,475
4.902299
0.33908
0.193435
0.123095
0.080891
0.305979
0.305979
0.213365
0.213365
0.145369
0.145369
0
0.008443
0.277288
1,475
52
89
28.365385
0.791745
0.251525
0
0.222222
0
0
0.138359
0
0
0
0
0
0
1
0.185185
false
0.111111
0.074074
0.037037
0.37037
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
9d8b9ee2c96a9f3f72e8c6e40b49a6ccfdc17590
2,247
py
Python
steamstore/client.py
saucesteals/steam.py
b1017f85f23c0eccafc6f35814d2e57cb4aa23e7
[ "MIT" ]
null
null
null
steamstore/client.py
saucesteals/steam.py
b1017f85f23c0eccafc6f35814d2e57cb4aa23e7
[ "MIT" ]
null
null
null
steamstore/client.py
saucesteals/steam.py
b1017f85f23c0eccafc6f35814d2e57cb4aa23e7
[ "MIT" ]
1
2021-04-11T00:38:19.000Z
2021-04-11T00:38:19.000Z
import logging import asyncio import aiohttp from .defaults import * from .app import App from .featured import FeaturedList log = logging.getLogger(__name__) class Client: """Main class for the Steam API""" def __init__(self, *, loop=None, **opts): self.loop = asyncio.get_event_loop() if loop is ...
26.127907
122
0.587895
278
2,247
4.539568
0.327338
0.050713
0.026149
0.025357
0.091918
0.091918
0.091918
0.049128
0
0
0
0
0.294615
2,247
85
123
26.435294
0.796215
0.036938
0
0.160714
0
0
0.023191
0
0.017857
0
0
0.011765
0
1
0.089286
false
0.017857
0.107143
0
0.285714
0.017857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9d9115d7ba282f909762763e4412827f039f107a
943
py
Python
pbtaskrunner/models.py
arxcruz/pbtaskrunner
26aff681593aae0d72520509fd1fbecbc3c8a9a6
[ "Apache-2.0" ]
null
null
null
pbtaskrunner/models.py
arxcruz/pbtaskrunner
26aff681593aae0d72520509fd1fbecbc3c8a9a6
[ "Apache-2.0" ]
null
null
null
pbtaskrunner/models.py
arxcruz/pbtaskrunner
26aff681593aae0d72520509fd1fbecbc3c8a9a6
[ "Apache-2.0" ]
null
null
null
from pbtaskrunner import db from pbtaskrunner import app from datetime import datetime def date_time_now(): return datetime.now class TestTask(db.Model): """Database representation of a Task test""" __tablename__ = 'test_task' request_id = db.Column(db.Integer, primary_key=True) requester = db....
31.433333
64
0.710498
129
943
5.015504
0.372093
0.136012
0.07728
0.078825
0.200927
0.200927
0.102009
0.102009
0
0
0
0.011378
0.161188
943
29
65
32.517241
0.806574
0.089077
0
0
0
0
0.090802
0
0
0
0
0
0
1
0.05
false
0
0.15
0.05
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9d956d3bf237c9754179486589b614a0b07bc05b
1,533
py
Python
app/__init__.py
alexander-emelyanov/microblog
f549768b410f1ce70fbfcbcdf89fb945793168e2
[ "MIT" ]
null
null
null
app/__init__.py
alexander-emelyanov/microblog
f549768b410f1ce70fbfcbcdf89fb945793168e2
[ "MIT" ]
null
null
null
app/__init__.py
alexander-emelyanov/microblog
f549768b410f1ce70fbfcbcdf89fb945793168e2
[ "MIT" ]
null
null
null
import os from flask import Flask from flask.ext.sqlalchemy import SQLAlchemy from flask.ext.login import LoginManager from flask.ext.openid import OpenID from config import basedir, ADMINS, MAIL_SERVER, MAIL_PORT, MAIL_USERNAME, MAIL_PASSWORD, MAIL_SECURE app = Flask(__name__) app.config.from_object('config') db = S...
26.894737
121
0.739726
205
1,533
5.385366
0.390244
0.032609
0.032609
0.032609
0.054348
0.054348
0
0
0
0
0
0.008534
0.159165
1,533
57
122
26.894737
0.847944
0.051533
0
0
0
0.027778
0.091724
0.016552
0
0
0
0
0
1
0.027778
false
0.083333
0.277778
0.027778
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9d99ee239305997e26415c20f473a94ad6005845
330
py
Python
PersonalWebApp/Blog/migrations/0002_remove_post_wallpaper_representation.py
CiganOliviu/personal_website
abedf67efc2e7e212c32815f645d3b3709f9f177
[ "MIT" ]
1
2021-04-02T16:45:56.000Z
2021-04-02T16:45:56.000Z
PersonalWebApp/Blog/migrations/0002_remove_post_wallpaper_representation.py
CiganOliviu/personal_website
abedf67efc2e7e212c32815f645d3b3709f9f177
[ "MIT" ]
null
null
null
PersonalWebApp/Blog/migrations/0002_remove_post_wallpaper_representation.py
CiganOliviu/personal_website
abedf67efc2e7e212c32815f645d3b3709f9f177
[ "MIT" ]
null
null
null
# Generated by Django 3.0.8 on 2020-09-03 17:04 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('Blog', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='post', name='wallpaper_representation', ...
18.333333
47
0.593939
34
330
5.676471
0.852941
0
0
0
0
0
0
0
0
0
0
0.081545
0.293939
330
17
48
19.411765
0.746781
0.136364
0
0
1
0
0.155477
0.084806
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9d9de2c097d8a8da90ec0340d6b529e57bfc179c
2,247
py
Python
src/main/scripts/evalDelly.py
cwhelan/cloudbreak
bcff41d5309cfffb1faffc1d46e3f85007f84981
[ "MIT" ]
4
2015-02-10T07:10:28.000Z
2016-09-18T19:29:53.000Z
src/main/scripts/evalDelly.py
cwhelan/cloudbreak
bcff41d5309cfffb1faffc1d46e3f85007f84981
[ "MIT" ]
null
null
null
src/main/scripts/evalDelly.py
cwhelan/cloudbreak
bcff41d5309cfffb1faffc1d46e3f85007f84981
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys import subprocess import evalBedFile # Delly file format (when only del summaries in file - cat *.del.txt | grep Deletion) # The summary line contains the chromosome, the estimated start and end of the structural variant, # the size of the variant, the number of supporting pairs, the ...
31.208333
125
0.652425
310
2,247
4.554839
0.354839
0.03966
0.048159
0.038244
0.226629
0.226629
0.188385
0.188385
0.157224
0.157224
0
0.025567
0.23409
2,247
71
126
31.647887
0.794887
0.202492
0
0.3
0
0
0.037535
0
0
0
0
0
0
0
null
null
0
0.06
null
null
0.26
0
0
0
null
0
0
0
0
0
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
9daad46c18973b22ab6ea33d444cd0187d68fcac
2,455
py
Python
programs/graduation-project/featureselection.py
Dilmuratjan/MyProject
26f4ee708eb4a7ceef780842ad737fef64a39d7e
[ "WTFPL" ]
2
2017-02-19T15:11:06.000Z
2017-02-22T18:34:10.000Z
programs/graduation-project/featureselection.py
Dilmuratjan/MyProject
26f4ee708eb4a7ceef780842ad737fef64a39d7e
[ "WTFPL" ]
null
null
null
programs/graduation-project/featureselection.py
Dilmuratjan/MyProject
26f4ee708eb4a7ceef780842ad737fef64a39d7e
[ "WTFPL" ]
4
2017-02-26T08:10:30.000Z
2017-05-02T10:02:03.000Z
import pandas as pd import numpy as np from time import time import matplotlib.pyplot as plt from sklearn.ensemble import ExtraTreesClassifier train = pd.read_excel('stats.xls', sheet_name='train') test = pd.read_excel('stats.xls', sheet_name='test') array_train = train.values array_test = test.values X = array_trai...
27.277778
81
0.638697
324
2,455
4.716049
0.441358
0.058901
0.04712
0.019634
0.127618
0.066754
0.066754
0
0
0
0
0.020221
0.153971
2,455
90
82
27.277778
0.715455
0.526273
0
0
0
0
0.15
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9dad12fdcaa78561145c587bd080d424b377a384
1,060
py
Python
backend/app/core/security.py
rufusnufus/BTSParking
3bb6e7fd20943f258e297428ab1624c4f2786444
[ "MIT" ]
2
2021-11-13T08:05:14.000Z
2021-12-02T11:36:11.000Z
backend/app/core/security.py
rufusnufus/BTSParking
3bb6e7fd20943f258e297428ab1624c4f2786444
[ "MIT" ]
44
2021-11-23T10:06:11.000Z
2021-12-18T07:23:22.000Z
backend/app/core/security.py
rufusnufus/BTSParking
3bb6e7fd20943f258e297428ab1624c4f2786444
[ "MIT" ]
null
null
null
import os import time from hashlib import sha256 import requests from dotenv import load_dotenv from fastapi.security import OAuth2PasswordBearer BASE_DIR = os.path.dirname(os.path.abspath(__file__)) load_dotenv(os.path.join(BASE_DIR, "../.env")) oauth2_scheme = OAuth2PasswordBearer(tokenUrl="api/v1/activate-login-c...
30.285714
84
0.724528
147
1,060
4.965986
0.47619
0.043836
0.038356
0.043836
0.065753
0.065753
0
0
0
0
0
0.012249
0.15283
1,060
34
85
31.176471
0.800668
0
0
0
0
0
0.130189
0.048113
0
0
0
0
0
1
0.12
false
0.08
0.24
0.04
0.48
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
9db6de217e5adf7d8e64871e558fa7b849812773
3,880
py
Python
calculate_Total-Hetero.py
evodify/population-genetic-analyses
5295f9d68736ac02fc5f3ece43dadd5bf4e98e6f
[ "MIT" ]
3
2018-01-31T09:57:10.000Z
2021-02-03T18:34:01.000Z
calculate_Total-Hetero.py
evodify/population-genetic-analyses
5295f9d68736ac02fc5f3ece43dadd5bf4e98e6f
[ "MIT" ]
null
null
null
calculate_Total-Hetero.py
evodify/population-genetic-analyses
5295f9d68736ac02fc5f3ece43dadd5bf4e98e6f
[ "MIT" ]
1
2019-09-02T06:13:29.000Z
2019-09-02T06:13:29.000Z
#! /usr/bin/env python ''' This script calculates total heterozygosity. #Example input: CHROM POS REF sample1 sample2 sample3 sample4 sample5 sample6 sample7 sample8 chr_1 1 A W N N A N N N N chr_1 2 C Y Y N C C N C N chr_1 3 C N C N C C C C C chr_1 4 ...
30.077519
130
0.549227
675
3,880
3.093333
0.225185
0.075671
0.087644
0.097701
0.292625
0.284483
0.277778
0.253352
0.178161
0.15613
0
0.033851
0.253866
3,880
128
131
30.3125
0.687392
0.079897
0
0
0
0
0.130406
0
0
0
0
0
0
0
null
null
0
0.055556
null
null
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
1
0
0
0
0
0
0
0
0
1
9db821a6f16092b02b4cd4951deab910f4dfd292
565
py
Python
__scraping__/zipnet.in - requests/main.py
whitmans-max/python-examples
881a8f23f0eebc76816a0078e19951893f0daaaa
[ "MIT" ]
140
2017-02-21T22:49:04.000Z
2022-03-22T17:51:58.000Z
__scraping__/zipnet.in - requests/main.py
whitmans-max/python-examples
881a8f23f0eebc76816a0078e19951893f0daaaa
[ "MIT" ]
5
2017-12-02T19:55:00.000Z
2021-09-22T23:18:39.000Z
__scraping__/zipnet.in - requests/main.py
whitmans-max/python-examples
881a8f23f0eebc76816a0078e19951893f0daaaa
[ "MIT" ]
79
2017-01-25T10:53:33.000Z
2022-03-11T16:13:57.000Z
import requests from bs4 import BeautifulSoup from time import sleep url = "http://zipnet.in/index.php?page=missing_person_search&criteria=browse_all&Page_No=1" r = requests.get(url) soup = BeautifulSoup(r.content, 'html.parser') all_tables = soup.findAll('table') for table in all_tables: print('--- table ---')...
26.904762
91
0.660177
82
565
4.402439
0.54878
0.077562
0.044321
0
0
0
0
0
0
0
0
0.011236
0.212389
565
20
92
28.25
0.8
0
0
0
0
0.0625
0.20531
0
0
0
0
0
0
0
null
null
0
0.1875
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9dc09ed0aa1f145f5e2a90e86cf3072696bbd4e9
3,435
py
Python
tests/fakedb.py
justinfay/dbkit
2aef6376a60965d7820c91692046f4bcf7d43640
[ "MIT" ]
4
2016-02-08T05:43:39.000Z
2020-08-25T21:37:55.000Z
tests/fakedb.py
justinfay/dbkit
2aef6376a60965d7820c91692046f4bcf7d43640
[ "MIT" ]
8
2015-04-24T13:39:42.000Z
2016-04-07T01:58:53.000Z
tests/fakedb.py
justinfay/dbkit
2aef6376a60965d7820c91692046f4bcf7d43640
[ "MIT" ]
null
null
null
""" A fake DB-API 2 driver. """ # DB names used to trigger certain behaviours. INVALID_DB = 'invalid-db' INVALID_CURSOR = 'invalid-cursor' HAPPY_OUT = 'happy-out' apilevel = '2.0' threadsafety = 2 paramstyle = 'qmark' def connect(database): return Connection(database) class Connection(object): """ A f...
22.598684
71
0.604076
373
3,435
5.504021
0.252011
0.052606
0.026303
0.040916
0.20263
0.168534
0.105212
0.105212
0.105212
0.059425
0
0.004534
0.293741
3,435
151
72
22.748344
0.841715
0.034352
0
0.356436
0
0
0.064369
0
0
0
0
0
0
1
0.118812
false
0.09901
0
0.019802
0.287129
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
9dc760639ffd67ca1391d622bcca50ed7b1b5700
5,178
py
Python
neurotin/logs/scores.py
mscheltienne/neurotin-analysis
841b7d86c0c990169cceb02b40d9eb6bd0d07612
[ "MIT" ]
null
null
null
neurotin/logs/scores.py
mscheltienne/neurotin-analysis
841b7d86c0c990169cceb02b40d9eb6bd0d07612
[ "MIT" ]
null
null
null
neurotin/logs/scores.py
mscheltienne/neurotin-analysis
841b7d86c0c990169cceb02b40d9eb6bd0d07612
[ "MIT" ]
null
null
null
from typing import List, Tuple, Union import pandas as pd import seaborn as sns from matplotlib import pyplot as plt from ..utils._checks import ( _check_participant, _check_participants, _check_type, ) from ..utils._docs import fill_doc @fill_doc def boxplot_scores_evolution( csv, participant: ...
28.295082
79
0.609888
690
5,178
4.476812
0.214493
0.018129
0.017481
0.027193
0.679832
0.66494
0.655228
0.649401
0.649401
0.637747
0
0.010447
0.279065
5,178
182
80
28.450549
0.817037
0.356895
0
0.613861
0
0
0.077517
0
0
0
0
0
0.009901
1
0.029703
false
0
0.059406
0
0.118812
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
9dcdcb702db69a33b8fb22a29cccef585723a801
4,515
py
Python
cardgame_channels_app/migrations/0001_initial.py
cyface/cardgame_channels
22f2bef190ee20999eae27e6aa9ce138a78ae47f
[ "MIT" ]
null
null
null
cardgame_channels_app/migrations/0001_initial.py
cyface/cardgame_channels
22f2bef190ee20999eae27e6aa9ce138a78ae47f
[ "MIT" ]
null
null
null
cardgame_channels_app/migrations/0001_initial.py
cyface/cardgame_channels
22f2bef190ee20999eae27e6aa9ce138a78ae47f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-11-18 11:31 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Crea...
43.834951
169
0.575858
431
4,515
5.825986
0.213457
0.076464
0.0908
0.082836
0.657905
0.62724
0.576264
0.561529
0.545599
0.520908
0
0.010255
0.287265
4,515
102
170
44.264706
0.770044
0.015061
0
0.521277
1
0
0.189694
0.080108
0
0
0
0
0
1
0
false
0
0.031915
0
0.074468
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
9dd7404e8264756d1a9d92df88241f2bdb03e559
793
py
Python
tools/run/mrcnnalt.py
MartinPlantinga/TomatoNet
52f3f993665865d1e74b24c43bf4a722c470eac1
[ "BSD-2-Clause" ]
1
2022-03-13T23:52:22.000Z
2022-03-13T23:52:22.000Z
tools/run/mrcnnalt.py
MartinPlantinga/TomatoNet
52f3f993665865d1e74b24c43bf4a722c470eac1
[ "BSD-2-Clause" ]
null
null
null
tools/run/mrcnnalt.py
MartinPlantinga/TomatoNet
52f3f993665865d1e74b24c43bf4a722c470eac1
[ "BSD-2-Clause" ]
null
null
null
import os from time import localtime, strftime pwd = os.curdir root_dir = pwd + './../' weights_path = '{}data/imagenet_models/VGG16.v2.caffemodel'.format(root_dir) cfg_path = '{}experiments/cfgs/mask_rcnn_alt_opt.yml'.format(root_dir) log_file="{}experiments/logs/mask_rcnn_alt_opt_{}".format(root_dir, strfti...
41.736842
158
0.696091
124
793
4.145161
0.459677
0.068093
0.075875
0.081712
0
0
0
0
0
0
0
0.014245
0.114754
793
18
159
44.055556
0.717949
0.121059
0
0
0
0.083333
0.42963
0.222222
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9dd8b07faafc812e62e163fe5ae0d1616164fd3e
2,224
py
Python
tree.py
korbi98/TicTacToeGo_Zero
b8ea4562f3ddf914a53fc380f2266f13ab887e04
[ "MIT" ]
null
null
null
tree.py
korbi98/TicTacToeGo_Zero
b8ea4562f3ddf914a53fc380f2266f13ab887e04
[ "MIT" ]
null
null
null
tree.py
korbi98/TicTacToeGo_Zero
b8ea4562f3ddf914a53fc380f2266f13ab887e04
[ "MIT" ]
1
2021-12-20T12:03:49.000Z
2021-12-20T12:03:49.000Z
# Simple tree structure import numpy as np import math class Node: ''' Class defining a node for the game tree. Nodes store their position on the board, their reward, their visits and their children. ''' def __init__(self, parent, boardposition, current_player): self.parent = parent ...
35.870968
87
0.616007
281
2,224
4.814947
0.338078
0.05765
0.050259
0.026608
0.03252
0
0
0
0
0
0
0.008794
0.284173
2,224
62
88
35.870968
0.84108
0.240108
0
0
0
0
0.03366
0
0
0
0
0
0
1
0.205128
false
0
0.051282
0
0.358974
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
0
1
0
0
0
0
0
0
0
1
9ddcd002e78260764fc62fd401536244bf8603dd
536
py
Python
solicitudes/migrations/0006_auto_20191101_0122.py
jmartipu/CrearSolicitudBack
e05c30d81eee3277c2e28e8e3e8991fa723dd770
[ "MIT" ]
null
null
null
solicitudes/migrations/0006_auto_20191101_0122.py
jmartipu/CrearSolicitudBack
e05c30d81eee3277c2e28e8e3e8991fa723dd770
[ "MIT" ]
7
2019-10-10T16:57:29.000Z
2022-02-10T08:14:25.000Z
solicitudes/migrations/0006_auto_20191101_0122.py
jmartipu/CrearSolicitudBack
e05c30d81eee3277c2e28e8e3e8991fa723dd770
[ "MIT" ]
null
null
null
# Generated by Django 2.2.5 on 2019-11-01 06:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('solicitudes', '0005_auto_20191101_0115'), ] operations = [ migrations.RemoveField( model_name='solicitud', name='tip...
23.304348
73
0.600746
51
536
6.176471
0.705882
0.057143
0.114286
0.139683
0.222222
0.222222
0
0
0
0
0
0.081365
0.289179
536
22
74
24.363636
0.745407
0.083955
0
0.375
1
0
0.214724
0.09816
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9ddd09288fc0047903028aaf720e265008e2c882
5,757
py
Python
MyHDLSim/Wrappers/SignalWrapper.py
mattsnowboard/msu-myhdlsim
5d0d881b682a72b77d9597cb84b8fdd4bd444afc
[ "BSD-2-Clause" ]
1
2021-03-30T10:20:06.000Z
2021-03-30T10:20:06.000Z
MyHDLSim/Wrappers/SignalWrapper.py
mattsnowboard/msu-myhdlsim
5d0d881b682a72b77d9597cb84b8fdd4bd444afc
[ "BSD-2-Clause" ]
null
null
null
MyHDLSim/Wrappers/SignalWrapper.py
mattsnowboard/msu-myhdlsim
5d0d881b682a72b77d9597cb84b8fdd4bd444afc
[ "BSD-2-Clause" ]
null
null
null
import wx, wx.lib.newevent import wx.lib.ogl as ogl from myhdl import Signal, always, intbv from MyHDLSim.sequential import ClkDriver # OGL object to draw a signal class SignalOGLShape(ogl.CompositeShape): """ This shape is used exclusively to contruct the SIGNAL main shape. The shape is initially based wi...
34.473054
94
0.589717
664
5,757
4.98494
0.290663
0.07855
0.035347
0.034441
0.30423
0.271601
0.271601
0.206042
0.177946
0.177946
0
0.008528
0.307452
5,757
166
95
34.680723
0.82167
0.213479
0
0.298969
0
0
0.01498
0
0
0
0
0.012048
0
1
0.14433
false
0
0.041237
0.010309
0.237113
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
9ddd849ad1a926498070335095fce2ee85d5a45b
1,403
py
Python
Modular Chatbot/frankenbot-framework/frankenbot_console.py
MAhsanShahid/Frankenbot
d9425446fb3754591aeea7ab7e562199f937bd52
[ "MIT" ]
2
2021-04-27T12:51:35.000Z
2021-08-16T12:43:50.000Z
Modular Chatbot/frankenbot-framework/frankenbot_console.py
MAhsanShahid/Frankenbot
d9425446fb3754591aeea7ab7e562199f937bd52
[ "MIT" ]
null
null
null
Modular Chatbot/frankenbot-framework/frankenbot_console.py
MAhsanShahid/Frankenbot
d9425446fb3754591aeea7ab7e562199f937bd52
[ "MIT" ]
1
2021-08-16T12:43:51.000Z
2021-08-16T12:43:51.000Z
import json import sys from frankenbot.bot import Bot from frankenbot.console_chat_interface import ConsoleChatInterface from frankenbot.persistence.json.json_unserializer import JSONUnserializer bot_def = "bot_def/restaurantsearch.json" unserializer = JSONUnserializer() #simpleResponseGenerator object bot = unseriali...
34.219512
91
0.784034
180
1,403
5.75
0.411111
0.030918
0.042512
0.089855
0
0
0
0
0
0
0
0
0.11618
1,403
41
92
34.219512
0.834677
0.694939
0
0
0
0
0.073048
0.073048
0
0
0
0
0
1
0
false
0
0.5
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
9de7ae2aa492539dbc68ce4c0725d40d32f1d767
2,184
py
Python
causallearn/utils/ChoiceGenerator.py
softsys4ai/causal-config-labyrinth
4f50f9ff15429b0ac6ad0a99fbe4cfdd17e360fc
[ "MIT" ]
15
2022-01-20T12:35:35.000Z
2022-03-24T16:25:24.000Z
causallearn/utils/ChoiceGenerator.py
softsys4ai/unicorn
4f50f9ff15429b0ac6ad0a99fbe4cfdd17e360fc
[ "MIT" ]
14
2022-01-23T00:20:00.000Z
2022-02-22T01:40:43.000Z
causallearn/utils/ChoiceGenerator.py
softsys4ai/causal-config-labyrinth
4f50f9ff15429b0ac6ad0a99fbe4cfdd17e360fc
[ "MIT" ]
1
2022-02-23T08:59:24.000Z
2022-02-23T08:59:24.000Z
class ChoiceGenerator: ''' Generates (nonrecursively) all of the combinations of a choose b, where a, b are nonnegative integers and a >= b. The values of a and b are given in the constructor, and the sequence of choices is obtained by repeatedly calling the next() method. When the sequence is fin...
34.125
80
0.56456
295
2,184
4.166102
0.335593
0.109845
0.019528
0.026851
0.162734
0.143206
0.143206
0.143206
0.143206
0.143206
0
0.009873
0.350733
2,184
63
81
34.666667
0.856841
0.423077
0
0.242424
1
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.212121
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
9deb0ef9427cc365d5801578cfd0695ec1ae527c
17,705
py
Python
scicopia/app/parser/ScicopiaParser.py
pikatech/Scicopia
dcdb3b4f55b9111fa3b4fe78afdb07bb2ceb9985
[ "MIT" ]
null
null
null
scicopia/app/parser/ScicopiaParser.py
pikatech/Scicopia
dcdb3b4f55b9111fa3b4fe78afdb07bb2ceb9985
[ "MIT" ]
9
2021-07-24T16:12:03.000Z
2021-07-24T16:58:19.000Z
scicopia/app/parser/ScicopiaParser.py
pikatech/Scicopia
dcdb3b4f55b9111fa3b4fe78afdb07bb2ceb9985
[ "MIT" ]
1
2021-06-18T16:00:06.000Z
2021-06-18T16:00:06.000Z
# Generated from Scicopia.g4 by ANTLR 4.9.2 # encoding: utf-8 from antlr4 import * from io import StringIO import sys if sys.version_info[1] > 5: from typing import TextIO else: from typing.io import TextIO def serializedATN(): with StringIO() as buf: buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7...
33.468809
471
0.560859
2,042
17,705
4.75808
0.110186
0.018526
0.011733
0.013174
0.656031
0.585838
0.552182
0.537773
0.473652
0.430012
0
0.063208
0.311946
17,705
528
472
33.532197
0.734362
0.004462
0
0.489796
1
0.058673
0.087931
0.060002
0
0
0.000454
0
0
1
0.137755
false
0.028061
0.012755
0.068878
0.339286
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
9dec02cc3a734c80b921decedb5baec89b783ae0
259
py
Python
scripts/init_db.py
LucienZhang/werewolf
c0b4baf2a0f7904978a26a533fe8a695fc274407
[ "MIT" ]
null
null
null
scripts/init_db.py
LucienZhang/werewolf
c0b4baf2a0f7904978a26a533fe8a695fc274407
[ "MIT" ]
6
2020-02-10T10:01:03.000Z
2020-04-01T06:19:55.000Z
scripts/init_db.py
LucienZhang/werewolf
c0b4baf2a0f7904978a26a533fe8a695fc274407
[ "MIT" ]
null
null
null
from pathlib import Path import sys sys.path.append(str(Path(__file__).resolve().parents[1])) from werewolf import create_app from werewolf.database import db app = create_app('db') with app.app_context(): db.drop_all() db.create_all()
19.923077
58
0.710425
39
259
4.487179
0.512821
0.137143
0
0
0
0
0
0
0
0
0
0.004673
0.173745
259
12
59
21.583333
0.813084
0
0
0
0
0
0.008097
0
0
0
0
0
0
1
0
false
0
0.444444
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
9ded0421224a68f8c7f744c1d9f09e3afc552f04
854
py
Python
Python/problem0294.py
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
Python/problem0294.py
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
Python/problem0294.py
1050669722/LeetCode-Answers
c8f4d1ccaac09cda63b60d75144335347b06dc81
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sat Jun 29 19:44:28 2019 @author: Administrator """ class Solution: def canWin(self, s: str) -> bool: ans = self.generatePossibleNextMoves(s) print(ans) count = 0 for state in ans: # print(state) for k in range(len(state...
23.081081
60
0.432084
98
854
3.765306
0.469388
0.01626
0.054201
0
0
0
0
0
0
0
0
0.039526
0.407494
854
37
61
23.081081
0.689723
0.160422
0
0
1
0
0.029703
0
0
0
0
0
0
1
0.08
false
0
0
0
0.24
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
9df570a8cc43113443b6b213e6ab3adba4fc6941
964
py
Python
yomikatawa/run.py
tensorknower69/yomikatawa-py
3e49e5e5d2ebfc49ddabe5a20e486ea0927b362a
[ "MIT" ]
null
null
null
yomikatawa/run.py
tensorknower69/yomikatawa-py
3e49e5e5d2ebfc49ddabe5a20e486ea0927b362a
[ "MIT" ]
null
null
null
yomikatawa/run.py
tensorknower69/yomikatawa-py
3e49e5e5d2ebfc49ddabe5a20e486ea0927b362a
[ "MIT" ]
null
null
null
import argparse import yomikatawa as yomi def create_parser(): parser = argparse.ArgumentParser(description="A command line interface for https://yomikatawa.com.") parser.add_argument("-c", "--category", type=str, default="kanji", help="print possible choices on error") parser.add_argument("-r", "--romaji"...
41.913043
140
0.706432
125
964
5.216
0.432
0.101227
0.104294
0.058282
0.07362
0
0
0
0
0
0
0
0.147303
964
22
141
43.818182
0.793187
0
0
0
0
0
0.28527
0.024896
0
0
0
0
0
1
0.105263
false
0
0.105263
0
0.263158
0.421053
0
0
0
null
0
0
0
0
0
0
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
d1819b0206e55ddd28666cb193356c3dd4977602
1,850
py
Python
openwisp_users/tests/test_adapter.py
ShreeshaRelysys/openwisp-users
af5f95e89656cbf3dd32f2392ba6d0f1b2c4df96
[ "BSD-3-Clause" ]
null
null
null
openwisp_users/tests/test_adapter.py
ShreeshaRelysys/openwisp-users
af5f95e89656cbf3dd32f2392ba6d0f1b2c4df96
[ "BSD-3-Clause" ]
1
2022-01-24T16:44:03.000Z
2022-01-24T16:44:03.000Z
openwisp_users/tests/test_adapter.py
ShreeshaRelysys/openwisp-users
af5f95e89656cbf3dd32f2392ba6d0f1b2c4df96
[ "BSD-3-Clause" ]
null
null
null
from unittest import mock from django.contrib.auth import get_user_model from django.core import mail from django.template import TemplateDoesNotExist from django.test import TestCase from django.urls import reverse from ..accounts.adapter import EmailAdapter from .utils import TestOrganizationMixin User = get_user_...
40.217391
87
0.718919
228
1,850
5.627193
0.385965
0.037412
0.035074
0.042089
0.303975
0.254092
0.254092
0.254092
0.254092
0.254092
0
0.004599
0.177297
1,850
45
88
41.111111
0.838371
0
0
0.27027
0
0
0.144865
0.046486
0
0
0
0
0.27027
1
0.081081
false
0.162162
0.216216
0
0.324324
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
d18388ef51dc04c9d268500afd15bf62ce17867a
382
py
Python
setup.py
ashtonwebster/vuln_toolkit
74792341104b2806e224bde4c2e704003d685a54
[ "MIT" ]
3
2021-05-13T14:20:12.000Z
2021-06-20T18:58:22.000Z
setup.py
ashtonwebster/vuln_toolkit
74792341104b2806e224bde4c2e704003d685a54
[ "MIT" ]
null
null
null
setup.py
ashtonwebster/vuln_toolkit
74792341104b2806e224bde4c2e704003d685a54
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='vuln_toolkit', version='0.1', description='Transfer Learning Toolkit', url='https://para.cs.umd.edu/purtilo/vulnerability-detection-tool-set/tree/master', author='Ashton Webster', author_email='ashton.webster@gmail.com', license='MIT', packages=...
27.285714
87
0.701571
48
382
5.479167
0.8125
0.125475
0
0
0
0
0
0
0
0
0
0.006135
0.146597
382
13
88
29.384615
0.800614
0
0
0
0
0.083333
0.492147
0.062827
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
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
d18b16204dc6401e0872226dc90166eab90caa4c
990
py
Python
Full/Python/01_Python_Basico/04_operadoresLogicos.py
ramonabreu-cdev/Revisao-JS
9a44ea0e7d3c22945b2ee6364d5c292d8be6a762
[ "RSA-MD" ]
1
2021-06-29T14:51:41.000Z
2021-06-29T14:51:41.000Z
Full/Python/01_Python_Basico/04_operadoresLogicos.py
ramonabreu-cdev/Revisao-WD
9a44ea0e7d3c22945b2ee6364d5c292d8be6a762
[ "RSA-MD" ]
null
null
null
Full/Python/01_Python_Basico/04_operadoresLogicos.py
ramonabreu-cdev/Revisao-WD
9a44ea0e7d3c22945b2ee6364d5c292d8be6a762
[ "RSA-MD" ]
null
null
null
""" Operadores lógicos Para agrupar operações com lógica booleana, utilizaremos operadores lógicos. Python suporta três operadores básicos: not (não), and (e), or (ou). Esses operadores podem ser traduzidos como não (¬ negação), e (Λ conjunção) e ou (V disjunção). """ # Operador not """ >>> not True False >>> not Fa...
18
149
0.710101
150
990
4.693333
0.46
0.056818
0.034091
0.036932
0
0
0
0
0
0
0
0.002481
0.185859
990
54
150
18.333333
0.869727
0.30202
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
d19be2f76f9b868d04aab5ea3ee253005cbeb0af
762
py
Python
pytglib/api/types/users.py
iTeam-co/pytglib
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
6
2019-10-30T08:57:27.000Z
2021-02-08T14:17:43.000Z
pytglib/api/types/users.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
1
2021-08-19T05:44:10.000Z
2021-08-19T07:14:56.000Z
pytglib/api/types/users.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
5
2019-12-04T05:30:39.000Z
2021-05-21T18:23:32.000Z
from ..utils import Object class Users(Object): """ Represents a list of users Attributes: ID (:obj:`str`): ``Users`` Args: total_count (:obj:`int`): Approximate total count of users found user_ids (List of :obj:`int`): A list of user identifiers ...
20.594595
56
0.56168
94
762
4.361702
0.393617
0.195122
0.102439
0.12439
0
0
0
0
0
0
0
0
0.322835
762
36
57
21.166667
0.794574
0.393701
0
0
0
0
0.072682
0
0
0
0
0
0
1
0.181818
false
0
0.090909
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
d19e24dc55adbb4574f0c6afd0acb289ae9f8abb
183
py
Python
foo.py
Lnvictor/i_am_learning_shellscript
7ee0ebcbdf41fb94ff0ad0210b580f29583444bb
[ "Apache-2.0" ]
null
null
null
foo.py
Lnvictor/i_am_learning_shellscript
7ee0ebcbdf41fb94ff0ad0210b580f29583444bb
[ "Apache-2.0" ]
null
null
null
foo.py
Lnvictor/i_am_learning_shellscript
7ee0ebcbdf41fb94ff0ad0210b580f29583444bb
[ "Apache-2.0" ]
null
null
null
from collections import OrderedDict my_dict = OrderedDict() def populate(data: dict): my_dict.update(data) return True if __name__ == "__main__": print(populate({}))
14.076923
35
0.693989
22
183
5.318182
0.727273
0.102564
0
0
0
0
0
0
0
0
0
0
0.191257
183
13
36
14.076923
0.790541
0
0
0
0
0
0.043478
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0.142857
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
d19f0f44e314141fc23b7283d9ad1c7b8685c068
384
py
Python
iniciante/python/1113-crescente-e-decrescente.py
tfn10/beecrowd
1ebf19ca9a253eb326160f03145d20be33064969
[ "MIT" ]
null
null
null
iniciante/python/1113-crescente-e-decrescente.py
tfn10/beecrowd
1ebf19ca9a253eb326160f03145d20be33064969
[ "MIT" ]
null
null
null
iniciante/python/1113-crescente-e-decrescente.py
tfn10/beecrowd
1ebf19ca9a253eb326160f03145d20be33064969
[ "MIT" ]
null
null
null
def crescente_e_decrescente(): while True: n1, n2 = entrada() if n1 > n2: print('Decrescente') elif n1 < n2: print('Crescente') else: break def entrada(): numeros = list(map(int, input().split(' '))) numero1 = numeros[0] numero2 = num...
19.2
48
0.544271
41
384
5
0.609756
0.058537
0.204878
0
0
0
0
0
0
0
0
0.047059
0.335938
384
19
49
20.210526
0.756863
0
0
0
0
0
0.054688
0
0
0
0
0
0
1
0.133333
false
0
0
0
0.2
0.133333
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
d1a9642bf9111e3ce2efbfc78ec14600b2219939
592
py
Python
codecademy_scripts/estimate_pi.py
Faraaz54/python_training_problems
24c7b42daaf54366759e1d7c4b42f9936316e94b
[ "MIT" ]
null
null
null
codecademy_scripts/estimate_pi.py
Faraaz54/python_training_problems
24c7b42daaf54366759e1d7c4b42f9936316e94b
[ "MIT" ]
null
null
null
codecademy_scripts/estimate_pi.py
Faraaz54/python_training_problems
24c7b42daaf54366759e1d7c4b42f9936316e94b
[ "MIT" ]
null
null
null
from math import sqrt def factorial(n): """Computes factorial of n.""" if n == 0: return 1 else: recurse = factorial(n-1) result = n * recurse return result def estimate_pi(): factor = (sqrt(2) * 2) / 9801 k = 0 total = 0 while True: nu...
20.413793
48
0.469595
77
592
3.584416
0.480519
0.072464
0
0
0
0
0
0
0
0
0
0.088319
0.407095
592
28
49
21.142857
0.698006
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.043478
null
null
0.043478
0
0
0
null
0
0
0
0
0
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
d1aca30c7404605a4e877890f728a3f9b0615ca4
623
py
Python
Python/Perfect-Python/12/1_4_2_echoclient.py
hrntsm/study-language
922578a5321d70c26b935e6052f400125e15649c
[ "MIT" ]
1
2022-02-06T10:50:42.000Z
2022-02-06T10:50:42.000Z
Python/Perfect-Python/12/1_4_2_echoclient.py
hrntsm/study-language
922578a5321d70c26b935e6052f400125e15649c
[ "MIT" ]
null
null
null
Python/Perfect-Python/12/1_4_2_echoclient.py
hrntsm/study-language
922578a5321d70c26b935e6052f400125e15649c
[ "MIT" ]
null
null
null
import asyncio class EchoClient(asyncio.Protocol): def __init__(self, message, loop): self.mesage = message self.loop = loop def connection_made(self, transport): transport.write(self.mesage.encode("utf-8")) self.transport = transport def data_received(self, data): ...
23.961538
83
0.670947
81
623
5
0.493827
0.096296
0.108642
0.083951
0
0
0
0
0
0
0
0.023952
0.195827
623
25
84
24.92
0.784431
0
0
0
0
0
0.038523
0
0
0
0
0
0
1
0.222222
false
0
0.055556
0
0.333333
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d1ae9c9c1b63d403d1996a3a61d581f139b38fa2
1,509
py
Python
js_services/migrations/0013_auto_20190709_2315.py
evgeny-dmi3ev/js-services
8d4960ec49a44b0eda537713af9f4976456e0f5e
[ "BSD-3-Clause" ]
null
null
null
js_services/migrations/0013_auto_20190709_2315.py
evgeny-dmi3ev/js-services
8d4960ec49a44b0eda537713af9f4976456e0f5e
[ "BSD-3-Clause" ]
null
null
null
js_services/migrations/0013_auto_20190709_2315.py
evgeny-dmi3ev/js-services
8d4960ec49a44b0eda537713af9f4976456e0f5e
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.22 on 2019-07-09 23:15 from __future__ import unicode_literals from django.db import migrations, models import js_color_picker.fields class Migration(migrations.Migration): dependencies = [ ('js_services', '0012_auto_20190430_0804'), ] operatio...
35.928571
288
0.612326
155
1,509
5.774194
0.477419
0.050279
0.102793
0.12067
0.430168
0.415642
0.330726
0.227933
0.129609
0.129609
0
0.045093
0.250497
1,509
41
289
36.804878
0.746242
0.045726
0
0.382353
1
0
0.219903
0.030619
0
0
0
0
0
1
0
false
0
0.088235
0
0.176471
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d1b947c30d3ec40d21821c8ac176cfd383593e74
832
py
Python
minimal_rating_system/views.py
dvischi/minimal-rating-system
25b42f49dbc36a8dfc912368273face49f9a4d97
[ "MIT" ]
null
null
null
minimal_rating_system/views.py
dvischi/minimal-rating-system
25b42f49dbc36a8dfc912368273face49f9a4d97
[ "MIT" ]
null
null
null
minimal_rating_system/views.py
dvischi/minimal-rating-system
25b42f49dbc36a8dfc912368273face49f9a4d97
[ "MIT" ]
null
null
null
from django.views.generic import DetailView, TemplateView from star_ratings.models import Rating from .models import Beer, Snack class BeerRateView(TemplateView): model = Beer template_name = 'minimal_rating_system/article_ratings.html' def get_context_data(self, **kwargs): kwargs['article_class...
33.28
78
0.72476
100
832
5.8
0.38
0.068966
0.096552
0.086207
0.62069
0.537931
0.537931
0.537931
0.537931
0.537931
0
0
0.159856
832
24
79
34.666667
0.829757
0
0
0.352941
0
0
0.191106
0.100962
0
0
0
0
0
1
0.117647
false
0
0.176471
0
0.764706
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
d1b9a244a6632704e7c6e345d736e70ca933a771
335
py
Python
AwardsApp/migrations/0005_remove_userprofile_bio.py
josphat-otieno/project-reviews
5eaf9334fbd15b95726aee922f936d83e6f3d56f
[ "MIT" ]
null
null
null
AwardsApp/migrations/0005_remove_userprofile_bio.py
josphat-otieno/project-reviews
5eaf9334fbd15b95726aee922f936d83e6f3d56f
[ "MIT" ]
null
null
null
AwardsApp/migrations/0005_remove_userprofile_bio.py
josphat-otieno/project-reviews
5eaf9334fbd15b95726aee922f936d83e6f3d56f
[ "MIT" ]
null
null
null
# Generated by Django 3.2.5 on 2021-07-20 15:33 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('AwardsApp', '0004_alter_userprofile_bio'), ] operations = [ migrations.RemoveField( model_name='userprofile', name='bio', ...
18.611111
52
0.6
35
335
5.628571
0.8
0
0
0
0
0
0
0
0
0
0
0.079832
0.289552
335
17
53
19.705882
0.747899
0.134328
0
0
1
0
0.170139
0.090278
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d1b9c4876479aca8264e006843673c2f7fdb84e7
8,530
py
Python
app.py
tpirate/SchoolPortal
ca4c7739126b0223b360de5b4927b3a8c9bda218
[ "MIT" ]
1
2020-12-07T07:40:33.000Z
2020-12-07T07:40:33.000Z
app.py
tpirate/SchoolPortal
ca4c7739126b0223b360de5b4927b3a8c9bda218
[ "MIT" ]
null
null
null
app.py
tpirate/SchoolPortal
ca4c7739126b0223b360de5b4927b3a8c9bda218
[ "MIT" ]
null
null
null
# Imports from flask import Flask, render_template, session, redirect, request, flash, url_for, abort from flask_session import Session from werkzeug.exceptions import default_exceptions, HTTPException, InternalServerError from werkzeug.security import check_password_hash, generate_password_hash from cs50 import S...
40.813397
252
0.62966
1,073
8,530
4.931966
0.16589
0.066516
0.084656
0.046674
0.595994
0.543273
0.493575
0.476757
0.476757
0.45446
0
0.006427
0.215592
8,530
208
253
41.009615
0.784487
0.01993
0
0.424419
0
0.011628
0.273978
0.008596
0
0
0
0
0
1
0.087209
false
0.087209
0.052326
0.011628
0.360465
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
d1bae04489d859e76db95e43fda5086ae3c123aa
621
py
Python
tests/test_rot13.py
onlykood/pycipher
8f1d7cf3cba4e12171e27d9ce723ad890194de19
[ "MIT" ]
196
2015-01-16T19:09:19.000Z
2022-03-13T16:19:21.000Z
tests/test_rot13.py
rafaelmessias/pycipher
787eb947a173138869ddd388b5331559e5cd3a5a
[ "MIT" ]
9
2015-10-09T18:07:32.000Z
2021-12-22T12:04:00.000Z
tests/test_rot13.py
rafaelmessias/pycipher
787eb947a173138869ddd388b5331559e5cd3a5a
[ "MIT" ]
76
2015-02-08T23:17:43.000Z
2021-12-27T04:15:30.000Z
from pycipher import Rot13 import unittest class TestRot13(unittest.TestCase): def test_decipher(self): text = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' declist = ['nopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklm'] dec = Rot13().decipher(text) self.assertEqual(dec...
36.529412
74
0.723027
48
621
9.3125
0.479167
0.03132
0.268456
0
0
0
0
0
0
0
0
0.019569
0.177134
621
17
75
36.529412
0.855186
0
0
0.153846
0
0
0.334405
0.334405
0
0
0
0
0.153846
1
0.153846
false
0
0.153846
0
0.384615
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
d1bd24d999e751c41059b172e51cf7f0d7f8e82a
246
py
Python
tests/functional_tests/identity_tests/test_definition.py
lycantropos/lz
632baaffc1c62cd644f6e67f0bcd7971ae6580da
[ "MIT" ]
7
2019-05-26T15:30:03.000Z
2022-03-07T16:00:31.000Z
tests/functional_tests/identity_tests/test_definition.py
lycantropos/lz
632baaffc1c62cd644f6e67f0bcd7971ae6580da
[ "MIT" ]
29
2018-11-12T11:45:56.000Z
2021-05-04T17:24:45.000Z
tests/functional_tests/identity_tests/test_definition.py
lycantropos/lz
632baaffc1c62cd644f6e67f0bcd7971ae6580da
[ "MIT" ]
null
null
null
from typing import Any from hypothesis import given from lz.functional import identity from tests import strategies @given(strategies.scalars) def test_basic(object_: Any) -> None: result = identity(object_) assert result is object_
17.571429
37
0.772358
33
246
5.636364
0.606061
0
0
0
0
0
0
0
0
0
0
0
0.170732
246
13
38
18.923077
0.911765
0
0
0
0
0
0
0
0
0
0
0
0.125
1
0.125
false
0
0.5
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d1c5a27d9a9982b68feaf9dde43f823499bf62ab
744
py
Python
odoo-13.0/addons/l10n_in/models/res_partner.py
VaibhavBhujade/Blockchain-ERP-interoperability
b5190a037fb6615386f7cbad024d51b0abd4ba03
[ "MIT" ]
null
null
null
odoo-13.0/addons/l10n_in/models/res_partner.py
VaibhavBhujade/Blockchain-ERP-interoperability
b5190a037fb6615386f7cbad024d51b0abd4ba03
[ "MIT" ]
null
null
null
odoo-13.0/addons/l10n_in/models/res_partner.py
VaibhavBhujade/Blockchain-ERP-interoperability
b5190a037fb6615386f7cbad024d51b0abd4ba03
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. from odoo import api, fields, models, _ from odoo.exceptions import ValidationError class ResPartner(models.Model): _inherit = 'res.partner' # Use in view attrs. Need to required state_id if Country is India. ...
41.333333
131
0.706989
110
744
4.645455
0.6
0.052838
0.050881
0
0
0
0
0
0
0
0
0.014658
0.174731
744
17
132
43.764706
0.81759
0.215054
0
0
0
0
0.196552
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d1c6823ee90be6b6904c09a99dc9b3ef3c77d40d
3,273
py
Python
opencdms/process/r_instat.py
dannyparsons/pyopencdms
94addc5009a0a68e17fb443607d876540a46afcc
[ "MIT" ]
null
null
null
opencdms/process/r_instat.py
dannyparsons/pyopencdms
94addc5009a0a68e17fb443607d876540a46afcc
[ "MIT" ]
11
2021-07-28T09:18:20.000Z
2022-02-24T09:48:53.000Z
opencdms/process/r_instat.py
dannyparsons/pyopencdms
94addc5009a0a68e17fb443607d876540a46afcc
[ "MIT" ]
2
2021-12-19T19:38:06.000Z
2022-01-14T16:46:36.000Z
# ================================================================= # # Authors: Stephen Lloyd # Ian Edwards # # Copyright (c) 2020, OpenCDMS Project # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation # files (the "Software"), to dea...
34.09375
79
0.643752
433
3,273
4.808314
0.418014
0.042267
0.012968
0.024496
0.173871
0.15562
0.15562
0.120077
0.120077
0.120077
0
0.011675
0.241063
3,273
95
80
34.452632
0.82649
0.844485
0
0
0
0
0.062893
0
0
0
0
0
0
1
0.066667
false
0
0
0
0.133333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d1d2b7418ea4360c01e3e7cac48267d8b72eae4a
336
py
Python
app/__init__.py
Lijah-Tech-Solution/flask_structure
f1c31043f5756db66624f47b6ae4e7f869064d19
[ "MIT" ]
1
2020-07-22T15:00:53.000Z
2020-07-22T15:00:53.000Z
app/__init__.py
Lijah-Tech-Solution/flask_structure
f1c31043f5756db66624f47b6ae4e7f869064d19
[ "MIT" ]
null
null
null
app/__init__.py
Lijah-Tech-Solution/flask_structure
f1c31043f5756db66624f47b6ae4e7f869064d19
[ "MIT" ]
null
null
null
from flask import Flask app = Flask(__name__) if app.config["ENV"] == "production": app.config.from_object("config.ProductionConfig") elif app.config["ENV"] == "testing": app.config.from_object("config.TestingConfig") else: app.config.from_object("config.DevelopmentConfig") from app import views from app im...
17.684211
51
0.752976
45
336
5.444444
0.4
0.183673
0.159184
0.232653
0.306122
0
0
0
0
0
0
0
0.113095
336
19
52
17.684211
0.822148
0
0
0
0
0
0.267062
0.139466
0
0
0
0
0
1
0
false
0
0.3
0
0.3
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d1d6ddc5133d35a051f353823254a3acc14e9b2b
888
py
Python
BeautifulSoup/request.py
madhubalajain/code_snippets
7cd4f79d94ced097efcc651dd0fd878a52fffad1
[ "MIT" ]
null
null
null
BeautifulSoup/request.py
madhubalajain/code_snippets
7cd4f79d94ced097efcc651dd0fd878a52fffad1
[ "MIT" ]
null
null
null
BeautifulSoup/request.py
madhubalajain/code_snippets
7cd4f79d94ced097efcc651dd0fd878a52fffad1
[ "MIT" ]
null
null
null
install Request module pip install requests import requests r = requests.get('https://xkcd.com/353/') print(r) print(r.text) #Download image r = requests.get('https://xkcd.com/comics/python.png') print(r.content) with open('comic.png', 'wb') as f: f.write(r.content) print(r.status_code) print(r.ok)...
17.76
66
0.643018
131
888
4.335878
0.51145
0.084507
0.084507
0.119718
0.179577
0.179577
0.137324
0.137324
0.137324
0
0
0.015193
0.184685
888
49
67
18.122449
0.769337
0
0
0.090909
0
0
0.255435
0
0
0
0
0
0
0
null
null
0.045455
0.045455
null
null
0.363636
0
0
0
null
0
0
0
0
0
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
d1d6ec176f56d2655e5c7c5a56574d4a35207716
1,231
py
Python
facturador/facturador/urls.py
crodriguezud/Facturador
1a1e08072ae1d54f3f7963cdd202444618a0fa2e
[ "Apache-2.0" ]
null
null
null
facturador/facturador/urls.py
crodriguezud/Facturador
1a1e08072ae1d54f3f7963cdd202444618a0fa2e
[ "Apache-2.0" ]
9
2020-06-05T17:25:18.000Z
2022-03-11T23:15:36.000Z
facturador/facturador/urls.py
crodriguezud/Facturador
1a1e08072ae1d54f3f7963cdd202444618a0fa2e
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import url, include from django.contrib import admin from rest_framework_jwt.views import obtain_jwt_token from rest_framework_jwt.views import refresh_jwt_token from rest_framework_jwt.views import verify_jwt_token # Configuration API Router from rest_framework import routers #router = routers...
32.394737
82
0.736799
168
1,231
5.25
0.279762
0.045351
0.045351
0.068027
0.168934
0.168934
0.088435
0.088435
0
0
0
0
0.119415
1,231
37
83
33.27027
0.813653
0.180341
0
0
0
0
0.16
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d1de025379609a12a3f05f1bd0a39e4f01a64269
407
py
Python
core/migrations/0007_item_paystack_link.py
adesiyanoladipo/django-referral-system
7cc4b41338289ecff78f7a50c9eee4bd47986215
[ "MIT" ]
6
2020-09-03T20:05:00.000Z
2021-07-02T11:49:46.000Z
core/migrations/0007_item_paystack_link.py
adesiyan-ifedayo/django-referral-system
7cc4b41338289ecff78f7a50c9eee4bd47986215
[ "MIT" ]
null
null
null
core/migrations/0007_item_paystack_link.py
adesiyan-ifedayo/django-referral-system
7cc4b41338289ecff78f7a50c9eee4bd47986215
[ "MIT" ]
4
2020-09-03T10:52:20.000Z
2021-01-13T16:13:45.000Z
# Generated by Django 2.2.14 on 2020-08-23 10:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0006_referral_amount'), ] operations = [ migrations.AddField( model_name='item', name='paystack_link', ...
21.421053
73
0.604423
46
407
5.23913
0.826087
0
0
0
0
0
0
0
0
0
0
0.07483
0.277641
407
18
74
22.611111
0.744898
0.113022
0
0
1
0
0.114206
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
d1deb1b97db88859b62d8246e63346725b35b7ec
798
py
Python
messenger/server/src/auth/decorators.py
v-v-d/Python_client-server_apps
5741c92dc5324ae8af2c7102d95f63c57e71b4c7
[ "MIT" ]
null
null
null
messenger/server/src/auth/decorators.py
v-v-d/Python_client-server_apps
5741c92dc5324ae8af2c7102d95f63c57e71b4c7
[ "MIT" ]
null
null
null
messenger/server/src/auth/decorators.py
v-v-d/Python_client-server_apps
5741c92dc5324ae8af2c7102d95f63c57e71b4c7
[ "MIT" ]
1
2020-02-27T08:08:26.000Z
2020-02-27T08:08:26.000Z
"""Decorators for auth module.""" from functools import wraps from src.protocol import make_response from src.database import session_scope from .models import Session def login_required(func): """Check that user is logged in based on the valid token exists in request.""" @wraps(func) def wrapper(reques...
33.25
98
0.689223
104
798
5.173077
0.538462
0.066915
0.063197
0.092937
0
0
0
0
0
0
0
0.009615
0.218045
798
23
99
34.695652
0.852564
0.125313
0
0
0
0
0.087336
0
0
0
0
0
0
1
0.133333
false
0
0.266667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d1def20a029952342126d505b499c5a421976187
3,607
py
Python
proj06_functions/proj06.py
hawiab/VSA18
852902f96f97d62e4cfbc8e997c96b305754bf5b
[ "MIT" ]
null
null
null
proj06_functions/proj06.py
hawiab/VSA18
852902f96f97d62e4cfbc8e997c96b305754bf5b
[ "MIT" ]
null
null
null
proj06_functions/proj06.py
hawiab/VSA18
852902f96f97d62e4cfbc8e997c96b305754bf5b
[ "MIT" ]
null
null
null
# Name: # Date: # proj05: functions and lists # Part I def divisors(num): """ Takes a number and returns all divisors of the number, ordered least to greatest :param num: int :return: list (int) """ # Fill in the function and change the return statment. numlist = [] check = 1 whil...
26.91791
90
0.609093
519
3,607
4.210019
0.267823
0.029291
0.034325
0.020595
0.148741
0.061327
0.038444
0.032037
0
0
0
0.008965
0.257832
3,607
134
91
26.91791
0.807247
0.601885
0
0.166667
0
0
0.018149
0
0
0
0
0
0
0
null
null
0
0
null
null
0.027778
0
0
0
null
0
0
0
0
0
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
d1e75fc6ed9f9190b3412688570aefced2173499
6,356
py
Python
src/tratamientos/migrations/0001_initial.py
mava-ar/sgk
cb8b3abf243b4614e6a45e4e2db5bb7cce94dee4
[ "Apache-2.0" ]
null
null
null
src/tratamientos/migrations/0001_initial.py
mava-ar/sgk
cb8b3abf243b4614e6a45e4e2db5bb7cce94dee4
[ "Apache-2.0" ]
32
2016-05-09T19:37:08.000Z
2022-01-13T01:00:52.000Z
src/tratamientos/migrations/0001_initial.py
mava-ar/sgk
cb8b3abf243b4614e6a45e4e2db5bb7cce94dee4
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-05-08 03:42 from __future__ import unicode_literals import django.core.validators from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('pacientes'...
67.617021
209
0.645374
663
6,356
6.007541
0.235294
0.118755
0.071554
0.060256
0.488576
0.455436
0.448908
0.448908
0.345468
0.345468
0
0.007074
0.221523
6,356
93
210
68.344086
0.797898
0.010541
0
0.423529
1
0
0.288101
0.016704
0
0
0
0
0
1
0
false
0
0.047059
0
0.094118
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
d1e84365ce59a1577648a2034fb246335760f7cf
7,308
py
Python
panel/tasks/tests/test_utils.py
freejooo/vigilio
d21bf4f9d39e5dcde5d7c21476d8650e914c3c66
[ "MIT" ]
137
2021-03-26T18:19:45.000Z
2022-03-06T07:48:23.000Z
panel/tasks/tests/test_utils.py
rrosajp/vigilio
d21bf4f9d39e5dcde5d7c21476d8650e914c3c66
[ "MIT" ]
11
2021-03-28T00:07:00.000Z
2021-05-04T12:54:58.000Z
panel/tasks/tests/test_utils.py
rrosajp/vigilio
d21bf4f9d39e5dcde5d7c21476d8650e914c3c66
[ "MIT" ]
16
2021-03-27T23:58:53.000Z
2022-03-20T14:52:13.000Z
from typing import Any, List, Dict RAW_INFO: Dict[str, List[Dict[str, Any]]] = { "streams": [ { "index": 0, "codec_name": "h264", "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10", "profile": "High", "codec_type": "video", ...
33.369863
359
0.491516
725
7,308
4.743448
0.415172
0.005816
0.013958
0.024426
0.398372
0.353591
0.306484
0.241931
0.220413
0.177959
0
0.134522
0.35509
7,308
218
360
33.522936
0.595162
0
0
0.366197
0
0.014085
0.456486
0.090996
0
0
0.002737
0
0
1
0
true
0
0.004695
0
0.004695
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
d1ee95da457c4546117cb03bfe6b449dcdd2ad26
2,581
py
Python
res/scripts/client/gui/mods/ScoreViewTools_Init.py
JoshuaEN/World-of-Tanks-ScoreViewTools-Data-Export-Mods
fb424b5bfa3a1e212ef39805f9b3afb750cec82f
[ "MIT" ]
null
null
null
res/scripts/client/gui/mods/ScoreViewTools_Init.py
JoshuaEN/World-of-Tanks-ScoreViewTools-Data-Export-Mods
fb424b5bfa3a1e212ef39805f9b3afb750cec82f
[ "MIT" ]
null
null
null
res/scripts/client/gui/mods/ScoreViewTools_Init.py
JoshuaEN/World-of-Tanks-ScoreViewTools-Data-Export-Mods
fb424b5bfa3a1e212ef39805f9b3afb750cec82f
[ "MIT" ]
null
null
null
from items import vehicles, _xml from gui.Scaleform.daapi.view.lobby.trainings.training_room import TrainingRoom; from helpers.statistics import StatisticsCollector; from game import init import ScoreViewTools def exportAll(): ScoreViewTools.Export.init() ScoreViewTools.Export.cleanup() ScoreVi...
40.328125
86
0.798915
216
2,581
9.333333
0.273148
0.138889
0.041667
0.071429
0.272321
0
0
0
0
0
0
0
0.136769
2,581
63
87
40.968254
0.904847
0.053468
0
0.108696
0
0
0
0
0
0
0
0
0
0
null
null
0
0.108696
null
null
0.021739
0
0
0
null
0
0
0
0
0
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
06011cb6cfe74f34fcd631c875b63cc52bf2717f
3,270
py
Python
beartype_test/a00_unit/data/hint/data_hintref.py
jonathanmorley/beartype
0d1207210220807d5c5848033d13657afa307983
[ "MIT" ]
null
null
null
beartype_test/a00_unit/data/hint/data_hintref.py
jonathanmorley/beartype
0d1207210220807d5c5848033d13657afa307983
[ "MIT" ]
null
null
null
beartype_test/a00_unit/data/hint/data_hintref.py
jonathanmorley/beartype
0d1207210220807d5c5848033d13657afa307983
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # --------------------( LICENSE )-------------------- # Copyright (c) 2014-2021 Beartype authors. # See "LICENSE" for further details. ''' **Beartype forward reference data submodule.** This submodule exercises **forward reference type hints** (i.e., strings whose valu...
44.794521
80
0.731804
403
3,270
5.868486
0.354839
0.067653
0.042283
0.052854
0.340803
0.340803
0.333192
0.261311
0.249471
0.249471
0
0.004053
0.170031
3,270
72
81
45.416667
0.867354
0.703058
0
0.173913
0
0
0.158395
0.158395
0
0
0
0
0
1
0.173913
false
0.043478
0.086957
0.173913
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
0
0
1
0
0
0
1
06031868a0bff21742dab627fcdc748961bfd19b
1,701
py
Python
pywss/statuscode.py
CzaOrz/Pyws
4b5e9ba6244ea348321446ea5c491f5c19a1d389
[ "MIT" ]
25
2019-10-16T02:57:54.000Z
2021-08-05T06:52:05.000Z
pywss/statuscode.py
CzaOrz/Pyws
4b5e9ba6244ea348321446ea5c491f5c19a1d389
[ "MIT" ]
7
2019-11-16T04:06:39.000Z
2021-04-11T06:24:45.000Z
pywss/statuscode.py
CzaOrz/Pyws
4b5e9ba6244ea348321446ea5c491f5c19a1d389
[ "MIT" ]
7
2019-12-02T02:57:38.000Z
2021-02-05T16:54:22.000Z
# coding: utf-8 StatusContinue = 100 StatusSwitchingProtocols = 101 StatusProcessing = 102 StatusEarlyHints = 103 StatusOK = 200 StatusCreated = 201 StatusAccepted = 202 StatusNonAuthoritativeInfo = 203 StatusNoContent = 204 StatusResetContent = 205 StatusPartialContent = 206 StatusMultiStatus = 207 StatusAlreadyRepor...
24.652174
41
0.847737
127
1,701
11.354331
1
0
0
0
0
0
0
0
0
0
0
0.124088
0.114051
1,701
68
42
25.014706
0.83278
0.007643
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
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
060586b3e64df98e8e03ed3e370e39181a0e31b4
13,664
py
Python
wellAnalysis.py
Jeffalltogether/well_decline_curve_analysis
0507813d85bdabbf52c4d92afec6af06e5228b26
[ "Apache-2.0" ]
53
2018-03-25T03:29:44.000Z
2022-01-28T16:18:14.000Z
wellAnalysis.py
Jeffalltogether/well_decline_curve_analysis
0507813d85bdabbf52c4d92afec6af06e5228b26
[ "Apache-2.0" ]
null
null
null
wellAnalysis.py
Jeffalltogether/well_decline_curve_analysis
0507813d85bdabbf52c4d92afec6af06e5228b26
[ "Apache-2.0" ]
34
2018-05-26T21:15:59.000Z
2021-11-11T09:07:56.000Z
''' Drilling info analysis This program reads well header data and production logs (e.g. exported from Drilling Info as .csv files) and walks the user through the genreation of decline curves for each well provided in the input data. Decine curves are fit with a the hyperbolic curve that is estimated using an iterativ...
35.490909
137
0.663422
1,907
13,664
4.64709
0.216571
0.053035
0.016136
0.01986
0.448319
0.407132
0.361431
0.342473
0.328933
0.316294
0
0.012725
0.177547
13,664
384
138
35.583333
0.77585
0.109046
0
0.410714
0
0.013393
0.288727
0.067364
0
0
0
0
0
0
null
null
0
0.044643
null
null
0.160714
0
0
0
null
0
0
0
0
0
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
06086e5e3711066ed31d842f20d1b8ffa81bf793
1,403
py
Python
cm/services/data/cvmfs.py
almahmoud/cloudman
41067dfd66c6334313069874f5f26e5a06884b71
[ "MIT" ]
1
2021-02-28T18:59:50.000Z
2021-02-28T18:59:50.000Z
cm/services/data/cvmfs.py
almahmoud/cloudman
41067dfd66c6334313069874f5f26e5a06884b71
[ "MIT" ]
null
null
null
cm/services/data/cvmfs.py
almahmoud/cloudman
41067dfd66c6334313069874f5f26e5a06884b71
[ "MIT" ]
null
null
null
"""A file system service for managing CVMFS-based client file systems.""" import os from cm.services import service_states import logging log = logging.getLogger('cloudman') class CVMFS(object): def __init__(self, filesystem, fs_type): self.fs = filesystem # File system encapsulating this implementati...
28.632653
79
0.605132
187
1,403
4.368984
0.459893
0.088127
0.067319
0.097919
0.228886
0.173807
0.078335
0.078335
0
0
0
0.004004
0.287954
1,403
48
80
29.229167
0.813814
0.231646
0
0.068966
0
0
0.069903
0
0
0
0
0
0
1
0.241379
false
0.034483
0.103448
0.068966
0.482759
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
0
1
0
0
0
0
0
0
0
1
0609649120551f07f42eaf40f08ee2c468af7cdf
3,240
py
Python
regional.py
relet/pygeohashing
aa04b167f1f0d5a26a011073d3e97013328f209c
[ "MIT" ]
4
2018-06-13T22:28:20.000Z
2021-07-21T10:59:45.000Z
regional.py
relet/pygeohashing
aa04b167f1f0d5a26a011073d3e97013328f209c
[ "MIT" ]
3
2016-12-14T20:34:25.000Z
2021-10-29T23:43:13.000Z
regional.py
relet/pygeohashing
aa04b167f1f0d5a26a011073d3e97013328f209c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import re, web, datetime, hashlib, struct, yaml, sys, wikipedia import xml.etree.ElementTree as ET re_NUMERIC = re.compile("(-?\d+)[ ,]+(-?\d+)") re_NUMERICF = re.compile("(-?[\.\d]+)[ ,]+(-?[\.\d]+)") #fractions allowed re_EXPEDITION = re.compile('\[\[(\d{4}-\d{2}-\d{2} -?\d+ -?\d+)') def g...
29.454545
91
0.624074
453
3,240
4.452539
0.368653
0.035697
0.014874
0.010907
0.017848
0
0
0
0
0
0
0.013173
0.203395
3,240
109
92
29.724771
0.768307
0.039815
0
0.108696
0
0
0.196716
0.007083
0
0
0
0
0
0
null
null
0
0.021739
null
null
0.097826
0
0
0
null
0
0
0
0
0
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
0609bb1f315036f7099bd541b54241e33b6fa051
1,034
py
Python
challenges/stack/nearest_smallest_element.py
lukasmartinelli/sharpen
6f314fc2aa17990ede04055e7c3ac9394a6c12c0
[ "CC0-1.0" ]
13
2017-04-24T23:27:16.000Z
2020-05-25T22:41:42.000Z
challenges/stack/nearest_smallest_element.py
lukasmartinelli/sharpen
6f314fc2aa17990ede04055e7c3ac9394a6c12c0
[ "CC0-1.0" ]
null
null
null
challenges/stack/nearest_smallest_element.py
lukasmartinelli/sharpen
6f314fc2aa17990ede04055e7c3ac9394a6c12c0
[ "CC0-1.0" ]
2
2017-05-27T08:55:28.000Z
2018-08-11T08:54:51.000Z
def nearest_smallest_element(arr): """ Given an array arr, find the nearest smaller element for each element. The index of the smaller element must be smaller than the current element. """ smaller_numbers = [] def nearest(n): def find_previous_num(): for previous_num in reve...
33.354839
85
0.636364
133
1,034
4.676692
0.345865
0.123794
0.176849
0.135048
0.290997
0.122187
0.122187
0
0
0
0
0.029294
0.273694
1,034
30
86
34.466667
0.798935
0.140232
0
0.1
0
0
0
0
0
0
0
0
0.15
1
0.25
false
0
0
0
0.45
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
ae091378dcfbc21471f5642e52eb0d041d0b3c94
529
py
Python
src/dnsblock_update/config.py
raynigon/dnsblock-update
258ca7c9934d21e6367ab2b282b24be5c06d9116
[ "Apache-2.0" ]
null
null
null
src/dnsblock_update/config.py
raynigon/dnsblock-update
258ca7c9934d21e6367ab2b282b24be5c06d9116
[ "Apache-2.0" ]
null
null
null
src/dnsblock_update/config.py
raynigon/dnsblock-update
258ca7c9934d21e6367ab2b282b24be5c06d9116
[ "Apache-2.0" ]
null
null
null
from yaml import safe_load from .blocklist import Blocklist class Configuration: def __init__(self, location): self.__location = location with open(location) as file: data = safe_load(file) self.repo_path = data["repository"]["path"] self.dnsmasq_path = data["dnsmasq"][...
35.266667
82
0.644612
59
529
5.610169
0.525424
0.048338
0
0
0
0
0
0
0
0
0
0
0.243856
529
15
83
35.266667
0.8275
0.064272
0
0
0
0
0.08502
0
0
0
0
0.066667
0
1
0.083333
false
0
0.166667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
ae09bb3a14c1ed49e2d5726423fbf824ac0d0220
5,532
py
Python
pySPACE/run/scripts/md_creator.py
pyspace/pyspace
763e62c0e7fa7cfcb19ccee1a0333c4f7e68ae62
[ "BSD-3-Clause" ]
32
2015-02-20T09:03:09.000Z
2022-02-25T22:32:52.000Z
pySPACE/run/scripts/md_creator.py
pyspace/pyspace
763e62c0e7fa7cfcb19ccee1a0333c4f7e68ae62
[ "BSD-3-Clause" ]
5
2015-05-18T15:08:40.000Z
2020-03-05T19:18:01.000Z
pySPACE/run/scripts/md_creator.py
pyspace/pyspace
763e62c0e7fa7cfcb19ccee1a0333c4f7e68ae62
[ "BSD-3-Clause" ]
18
2015-09-28T07:16:38.000Z
2021-01-20T13:52:19.000Z
""" Create meta data file 'metadata.yaml' for :class:`~pySPACE.resources.dataset_defs.feature_vector.FeatureVectorDataset` Used for external files, which can not be read directly in pySPACE. Eg. csv files without names. To be called in the dataset directory. """ def main(md_file): # Request all necessary data fr...
33.731707
122
0.537419
700
5,532
4.081429
0.26
0.064403
0.033602
0.028001
0.270914
0.226111
0.226111
0.19741
0.170809
0.113056
0
0.009028
0.319234
5,532
163
123
33.93865
0.749602
0.032899
0
0.254237
0
0.008475
0.244591
0
0.042373
0
0
0
0
0
null
null
0
0.016949
null
null
0.008475
0
0
0
null
0
0
0
0
0
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
ae111d2701de32e61ae648826dd4e4b4b1370654
882
py
Python
angr-management/angrmanagement/ui/menus/disasm_insn_context_menu.py
Ruide/angr-dev
964dc80c758e25c698c2cbcc454ef5954c5fa0a0
[ "BSD-2-Clause" ]
null
null
null
angr-management/angrmanagement/ui/menus/disasm_insn_context_menu.py
Ruide/angr-dev
964dc80c758e25c698c2cbcc454ef5954c5fa0a0
[ "BSD-2-Clause" ]
null
null
null
angr-management/angrmanagement/ui/menus/disasm_insn_context_menu.py
Ruide/angr-dev
964dc80c758e25c698c2cbcc454ef5954c5fa0a0
[ "BSD-2-Clause" ]
null
null
null
from PySide.QtGui import QKeySequence from PySide.QtCore import Qt from .menu import Menu, MenuEntry, MenuSeparator class DisasmInsnContextMenu(Menu): def __init__(self, disasm_view): super(DisasmInsnContextMenu, self).__init__("", parent=disasm_view) self.insn_addr = None self.entries....
32.666667
107
0.717687
102
882
5.813725
0.401961
0.10118
0.094435
0.067454
0
0
0
0
0
0
0
0
0.187075
882
26
108
33.923077
0.827057
0
0
0
0
0
0.07151
0
0
0
0
0
0
1
0.222222
false
0
0.166667
0.055556
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
ae14fd8d5a20f5e39dfb519bebc015197b1abd83
7,470
py
Python
scans/migrations/0001_initial.py
Cashiuus/nmap-manager
6d53bb4464f6b74ca40d5685a44f36942e5462b0
[ "MIT" ]
null
null
null
scans/migrations/0001_initial.py
Cashiuus/nmap-manager
6d53bb4464f6b74ca40d5685a44f36942e5462b0
[ "MIT" ]
9
2022-01-25T05:27:42.000Z
2022-03-31T05:30:02.000Z
scans/migrations/0001_initial.py
Cashiuus/nmap-manager
6d53bb4464f6b74ca40d5685a44f36942e5462b0
[ "MIT" ]
null
null
null
# Generated by Django 4.0.1 on 2022-01-11 19:00 from django.db import migrations, models import django.db.models.deletion import scans.models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Host', ...
63.305085
158
0.6
802
7,470
5.394015
0.198254
0.101711
0.070273
0.083218
0.555247
0.511096
0.487517
0.435969
0.384651
0.343042
0
0.017425
0.247122
7,470
117
159
63.846154
0.751778
0.006024
0
0.345455
1
0
0.215681
0.002964
0
0
0
0
0
1
0
false
0
0.036364
0
0.072727
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
ae1b1c2f48b9a90d658a39990474e0ffceef271d
366
py
Python
Entradas/migrations/0012_auto_20200521_1931.py
ToniIvars/Blog
c2d1674c2c1fdf51749f4b014795b507ed93b45e
[ "MIT" ]
null
null
null
Entradas/migrations/0012_auto_20200521_1931.py
ToniIvars/Blog
c2d1674c2c1fdf51749f4b014795b507ed93b45e
[ "MIT" ]
4
2021-03-30T13:26:38.000Z
2021-06-10T19:20:56.000Z
Entradas/migrations/0012_auto_20200521_1931.py
ToniIvars/Blog
c2d1674c2c1fdf51749f4b014795b507ed93b45e
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-05-21 17:31 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('Entradas', '0011_comentarios'), ] operations = [ migrations.RenameField( model_name='comentarios', old_name='comentario', ...
19.263158
47
0.587432
37
366
5.702703
0.810811
0
0
0
0
0
0
0
0
0
0
0.074219
0.300546
366
18
48
20.333333
0.75
0.122951
0
0
1
0
0.159875
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
ae219f0c0bca31c2d0339c1392885c6f7d746211
2,007
py
Python
src/util/utils.py
purpleposeidon/texture-atlas-generator
68864bf42a8bb38b4cdbd883f776b32816084c8e
[ "Unlicense", "MIT" ]
null
null
null
src/util/utils.py
purpleposeidon/texture-atlas-generator
68864bf42a8bb38b4cdbd883f776b32816084c8e
[ "Unlicense", "MIT" ]
null
null
null
src/util/utils.py
purpleposeidon/texture-atlas-generator
68864bf42a8bb38b4cdbd883f776b32816084c8e
[ "Unlicense", "MIT" ]
null
null
null
import os.path import shutil from data_parsers.json_parser import JsonParser from data_parsers.xml_parser import XmlParser from data_parsers.parser import ParserError from packing_algorithms.ratcliff.texture_packer_ratcliff import TexturePackerRatcliff from packing_algorithms.maxrects.texture_packer_maxrects import Te...
34.016949
93
0.757349
213
2,007
6.934272
0.338028
0.020311
0.030467
0.039269
0.075829
0.075829
0.075829
0.075829
0
0
0
0.000595
0.16293
2,007
58
94
34.603448
0.878571
0
0
0.066667
0
0
0.089188
0
0
0
0
0
0
1
0.133333
false
0
0.177778
0.022222
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ae21aa10b6eac30d1836dbd0c8245d129f6fe3ff
1,038
py
Python
myslice/web/rest/confirm.py
loicbaron/myslice2
32af9462cc9e5654a6e3036978ae74b0a03a2698
[ "MIT" ]
null
null
null
myslice/web/rest/confirm.py
loicbaron/myslice2
32af9462cc9e5654a6e3036978ae74b0a03a2698
[ "MIT" ]
1
2020-06-02T12:30:07.000Z
2020-06-02T12:30:07.000Z
myslice/web/rest/confirm.py
loicbaron/myslice2
32af9462cc9e5654a6e3036978ae74b0a03a2698
[ "MIT" ]
1
2018-10-29T16:11:26.000Z
2018-10-29T16:11:26.000Z
import json import logging import rethinkdb as r from tornado import gen, escape from myslice.db.activity import Event from myslice.lib.util import myJSONEncoder from myslice.web.rest import Api logger = logging.getLogger('myslice.rest.confirm') class ConfirmHandler(Api): @gen.coroutine def get(self, id): ...
31.454545
95
0.628131
128
1,038
5.09375
0.585938
0.050614
0.082822
0
0
0
0
0
0
0
0
0.001333
0.277457
1,038
32
96
32.4375
0.868
0.078035
0
0
0
0
0.167939
0
0
0
0
0
0
1
0.043478
false
0
0.304348
0
0.434783
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
ae2f2e86a4f028f1e691a235394a547ef477d257
470
py
Python
peripherals/cardreader.py
sparkoo/payterm
a8c783583017e65a6c2549a831a7dfa44367dbd1
[ "WTFPL" ]
null
null
null
peripherals/cardreader.py
sparkoo/payterm
a8c783583017e65a6c2549a831a7dfa44367dbd1
[ "WTFPL" ]
4
2020-02-26T21:56:57.000Z
2020-03-01T11:37:39.000Z
peripherals/cardreader.py
sparkoo/payterm
a8c783583017e65a6c2549a831a7dfa44367dbd1
[ "WTFPL" ]
null
null
null
import RPi.GPIO as GPIO import time from mfrc522 import SimpleMFRC522 import importlib.util spec = importlib.util.spec_from_file_location("conn", "lib/conn.py") conn = importlib.util.module_from_spec(spec) spec.loader.exec_module(conn) def readCard(): try: time.sleep(1) reader = SimpleMFRC522() cardid, ...
20.434783
68
0.723404
63
470
5.301587
0.555556
0.116766
0.101796
0
0
0
0
0
0
0
0
0.025316
0.159574
470
22
69
21.363636
0.820253
0
0
0
0
0
0.053191
0
0
0
0
0
0
1
0.055556
false
0
0.333333
0
0.444444
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ae344aa9b51e47e1afbcdf4afc821fdaead42258
715
py
Python
core/migrations/0003_alter_carro_chassi_alter_carro_montadora.py
montalvas/django05
199f2ba1c757d899a78f8fc40742081bc74a4187
[ "MIT" ]
null
null
null
core/migrations/0003_alter_carro_chassi_alter_carro_montadora.py
montalvas/django05
199f2ba1c757d899a78f8fc40742081bc74a4187
[ "MIT" ]
null
null
null
core/migrations/0003_alter_carro_chassi_alter_carro_montadora.py
montalvas/django05
199f2ba1c757d899a78f8fc40742081bc74a4187
[ "MIT" ]
null
null
null
# Generated by Django 4.0.2 on 2022-02-02 19:01 import core.models from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0002_carro_motoristas'), ] operations = [ migrations.AlterField( mod...
27.5
117
0.633566
81
715
5.481481
0.469136
0.054054
0.063063
0.099099
0.171171
0.171171
0
0
0
0
0
0.037037
0.244755
715
25
118
28.6
0.785185
0.062937
0
0.315789
1
0
0.112275
0.031437
0
0
0
0
0
1
0
false
0
0.157895
0
0.315789
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
ae386b890d023c6368568c73f1d37d4dc2112c5f
1,432
py
Python
bot/models.py
xammi/nash_dom_bot
9d5dfc7e0120d56c95e020e7e20505b973a5d402
[ "MIT" ]
null
null
null
bot/models.py
xammi/nash_dom_bot
9d5dfc7e0120d56c95e020e7e20505b973a5d402
[ "MIT" ]
null
null
null
bot/models.py
xammi/nash_dom_bot
9d5dfc7e0120d56c95e020e7e20505b973a5d402
[ "MIT" ]
null
null
null
from django.db import models from django.db.models import CASCADE class House(models.Model): class Meta: verbose_name = 'Дом' verbose_name_plural = 'дома' address = models.CharField(verbose_name='Адрес дома', max_length=255) tg_chat_id = models.BigIntegerField(verbose_name='ID чата жильцо...
31.822222
87
0.703212
178
1,432
5.426966
0.353933
0.204969
0.1294
0.150104
0.488613
0.255694
0
0
0
0
0
0.002568
0.184358
1,432
44
88
32.545455
0.824486
0
0
0.1875
0
0
0.173883
0
0
0
0
0
0
1
0.09375
false
0
0.0625
0.09375
0.8125
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
ae3bbabd4550be0f4670cf95d502fca83a0b0369
1,483
py
Python
example/resnet/convert_resnet_pytorch.py
leonskim/webdnn
f97c798c9a659fe953f9dc8c8537b8917e4be7a2
[ "MIT" ]
1
2021-04-09T15:55:35.000Z
2021-04-09T15:55:35.000Z
example/resnet/convert_resnet_pytorch.py
leonskim/webdnn
f97c798c9a659fe953f9dc8c8537b8917e4be7a2
[ "MIT" ]
null
null
null
example/resnet/convert_resnet_pytorch.py
leonskim/webdnn
f97c798c9a659fe953f9dc8c8537b8917e4be7a2
[ "MIT" ]
null
null
null
""" Example of converting ResNet-50 PyTorch model """ import argparse import os import torch, torchvision import numpy as np from webdnn.backend import generate_descriptor, backend_names from webdnn.frontend.pytorch import PyTorchConverter from webdnn.util import console def generate_graph(): model = torchvisi...
28.519231
102
0.697235
180
1,483
5.522222
0.477778
0.030181
0.051308
0
0
0
0
0
0
0
0
0.010161
0.203641
1,483
51
103
29.078431
0.831499
0.030344
0
0
1
0
0.106993
0
0
0
0
0
0
1
0.057143
false
0
0.2
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ae3bbe9c1d9612593b0ae91960ae41d57309e29d
436
py
Python
test/test_getter_setter.py
msztolcman/fileperms
8a99c5bb981265c18228b58cf44419c032d8d895
[ "MIT" ]
null
null
null
test/test_getter_setter.py
msztolcman/fileperms
8a99c5bb981265c18228b58cf44419c032d8d895
[ "MIT" ]
null
null
null
test/test_getter_setter.py
msztolcman/fileperms
8a99c5bb981265c18228b58cf44419c032d8d895
[ "MIT" ]
null
null
null
from fileperms import Permission, Permissions class TestGetterSetter: def test_empty(self): prm = Permissions() for item in Permission: assert prm.get(item) == False def test_other(self): prm = Permissions() for item in Permission: prm.set(item, True) ...
24.222222
45
0.577982
50
436
5
0.42
0.108
0.144
0.192
0.464
0.296
0.296
0
0
0
0
0
0.332569
436
17
46
25.647059
0.859107
0
0
0.461538
0
0
0
0
0
0
0
0
0.230769
1
0.153846
false
0
0.076923
0
0.307692
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
ae41aa44d40af6f5bd17f7b224b76b24b0631ba4
4,738
py
Python
demo/q0w_demo_analyzer/core/fonts.py
YourNorth/rezak-summarizator
3ab2f4bf1044ea9654b4084a39030987e4b8bfe8
[ "MIT" ]
3
2020-03-28T16:48:10.000Z
2020-12-01T17:18:55.000Z
demo/q0w_demo_analyzer/core/fonts.py
YourNorth/rezak-summarizator
3ab2f4bf1044ea9654b4084a39030987e4b8bfe8
[ "MIT" ]
31
2020-03-20T17:53:08.000Z
2021-03-10T11:48:11.000Z
demo/q0w_demo_analyzer/core/fonts.py
YourNorth/rezak-summarizator
3ab2f4bf1044ea9654b4084a39030987e4b8bfe8
[ "MIT" ]
1
2020-03-20T05:01:16.000Z
2020-03-20T05:01:16.000Z
TESTPHRASE = 'Lorem ipsum' # ANSI COLORS # ====== FAMILY ===== # end = '\33[0m' bold = '\33[1m' italic = '\33[3m' underline = '\33[4m' blink = '\33[5m' blink2 = '\33[6m' selected = '\33[7m' # ====== COLOR ====== # # greyscale black = '\33[97m' grey = '\33[90m' grey2 = '\33[37m' white = '\33[30m' # less saturation red ...
31.798658
117
0.58358
567
4,738
4.834215
0.229277
0.199197
0.249544
0.092302
0
0
0
0
0
0
0
0.06243
0.246095
4,738
148
118
32.013514
0.704927
0.047488
0
0.034483
0
0
0.191863
0
0
0
0
0.006757
0
1
0.060345
false
0
0
0.017241
0.112069
0.37069
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
ae444d42c02b963c853a9f963e814c548f5a9dae
1,652
py
Python
torchsupport/training/score_supervised.py
bobelly/torchsupport
5aa0a04f20c193ec99310f5d6a3375d2e95e740d
[ "MIT" ]
18
2019-05-02T16:32:15.000Z
2021-04-16T09:33:54.000Z
torchsupport/training/score_supervised.py
bobelly/torchsupport
5aa0a04f20c193ec99310f5d6a3375d2e95e740d
[ "MIT" ]
5
2019-10-14T13:46:49.000Z
2021-06-08T11:48:34.000Z
torchsupport/training/score_supervised.py
bobelly/torchsupport
5aa0a04f20c193ec99310f5d6a3375d2e95e740d
[ "MIT" ]
12
2019-05-12T21:34:24.000Z
2021-07-15T14:14:16.000Z
import random import numpy as np import torch import torch.nn as nn import torch.nn.functional as func from torchsupport.data.io import netwrite, to_device, make_differentiable from torchsupport.training.energy import DenoisingScoreTraining from torchsupport.training.samplers import AnnealedLangevin class ScoreSupe...
30.592593
73
0.70339
210
1,652
5.433333
0.32381
0.047327
0.04908
0.049956
0.087642
0.054338
0
0
0
0
0
0.000747
0.190073
1,652
53
74
31.169811
0.852018
0
0
0
0
0
0.006053
0
0
0
0
0
0
1
0.162791
false
0
0.186047
0.046512
0.534884
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
ae44d99a916d3dc0c3e4c682ab78f7a52d9f0c8b
332
py
Python
src/modeling/models/timer.py
NovaSBE-DSKC/predict-campaing-sucess-rate
fec339aee7c883f55d64130eb69e490f765ee27d
[ "MIT" ]
null
null
null
src/modeling/models/timer.py
NovaSBE-DSKC/predict-campaing-sucess-rate
fec339aee7c883f55d64130eb69e490f765ee27d
[ "MIT" ]
null
null
null
src/modeling/models/timer.py
NovaSBE-DSKC/predict-campaing-sucess-rate
fec339aee7c883f55d64130eb69e490f765ee27d
[ "MIT" ]
null
null
null
import time class Timer(): def __init__(self): self.start = time.time() def end(self): self.end = time.time() elapsed_time = self.end - self.start minutes = int(elapsed_time // 60) seconds = elapsed_time % 60 print("Elapsed time: {}m {}s".format(minutes, round...
22.133333
70
0.581325
42
332
4.428571
0.452381
0.236559
0.139785
0
0
0
0
0
0
0
0
0.016807
0.283133
332
14
71
23.714286
0.764706
0
0
0
0
0
0.063253
0
0
0
0
0
0
1
0.2
false
0
0.1
0
0.4
0.1
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
ae4a47fd92f1a12f864fae2ce0feac13263ca7ac
1,019
py
Python
setup.py
thermokarst-forks/q2-plugin-template
0583ed514a7476ae75fd7a052043e0aec2faecb9
[ "BSD-3-Clause" ]
5
2021-05-10T14:23:11.000Z
2022-03-04T14:37:15.000Z
setup.py
thermokarst-forks/q2-plugin-template
0583ed514a7476ae75fd7a052043e0aec2faecb9
[ "BSD-3-Clause" ]
2
2021-05-12T15:08:31.000Z
2021-07-13T13:57:24.000Z
setup.py
thermokarst-forks/q2-plugin-template
0583ed514a7476ae75fd7a052043e0aec2faecb9
[ "BSD-3-Clause" ]
3
2021-05-12T15:02:12.000Z
2022-02-09T13:33:19.000Z
# ---------------------------------------------------------------------------- # Copyright (c) 2021, QIIME 2 development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file LICENSE, distributed with this software. # -----------------------------------------------------...
29.970588
78
0.570167
109
1,019
5.211009
0.59633
0.070423
0.084507
0.056338
0
0
0
0
0
0
0
0.015495
0.176644
1,019
33
79
30.878788
0.661502
0.322866
0
0
0
0
0.376833
0.107038
0
0
0
0
0
1
0
true
0
0.086957
0
0.086957
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
ae537a846977c181886563c30f2c68e1118f6d27
74,410
py
Python
remit_admin/views.py
naamara/blink
326c035b2f0ef0feae4cd7aa2d4e73fa4a40171a
[ "Unlicense", "MIT" ]
null
null
null
remit_admin/views.py
naamara/blink
326c035b2f0ef0feae4cd7aa2d4e73fa4a40171a
[ "Unlicense", "MIT" ]
10
2019-12-26T17:31:31.000Z
2022-03-21T22:17:33.000Z
remit_admin/views.py
naamara/blink
326c035b2f0ef0feae4cd7aa2d4e73fa4a40171a
[ "Unlicense", "MIT" ]
null
null
null
# Create your views here. from django.template import Template, context, RequestContext from django.shortcuts import render_to_response, render, get_object_or_404, redirect, HttpResponseRedirect, HttpResponse from django.contrib.auth.decorators import login_required from remit_admin.forms import RateUpdateForm, Profile...
39.432962
430
0.619339
8,078
74,410
5.47487
0.06561
0.036291
0.026455
0.017162
0.619161
0.551915
0.499254
0.467666
0.442523
0.412495
0
0.004831
0.279465
74,410
1,886
431
39.453871
0.82005
0.084975
0
0.448889
0
0.000741
0.112267
0.019572
0
0
0.002885
0
0
0
null
null
0.008889
0.02963
null
null
0.017778
0
0
0
null
0
0
0
0
0
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
ae56d2f7d0da35ed27472371e04da9a9312adf59
608
py
Python
encoder_decoder_model/DNS_NetworkParameters_Jiao_Wan.py
mrjiao2018/LearningGroupStructure
7426837b8c96f771724cfd663a57ed32f9d16560
[ "MIT" ]
1
2018-12-07T14:36:13.000Z
2018-12-07T14:36:13.000Z
encoder_decoder_model/DNS_NetworkParameters_Jiao_Wan.py
mrjiao2018/LearningGroupStructure
7426837b8c96f771724cfd663a57ed32f9d16560
[ "MIT" ]
null
null
null
encoder_decoder_model/DNS_NetworkParameters_Jiao_Wan.py
mrjiao2018/LearningGroupStructure
7426837b8c96f771724cfd663a57ed32f9d16560
[ "MIT" ]
1
2018-12-05T11:03:07.000Z
2018-12-05T11:03:07.000Z
import os class NetworkParameters: def __init__(self, modelDirectory): self.modelDirectory = modelDirectory if os.path.exists(self.modelDirectory) is False: os.mkdir(self.modelDirectory) self.checkpointedModelDir = os.path.join(self.modelDirectory, 'savedModels') if ...
33.777778
94
0.710526
64
608
6.65625
0.375
0.211268
0.070423
0.098592
0.328639
0
0
0
0
0
0
0.008097
0.1875
608
17
95
35.764706
0.854251
0
0
0
0
0
0.078947
0.036184
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.272727
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
ae58d33794d0e8f0c6295bcf0262290cc4e159e7
1,163
py
Python
Python/Advanced OOP/Attributes/Hotel/01. Hotel.py
teodoramilcheva/softuni-software-engineering
98dc9faa66f42570f6538fd7ef186d2bd1d39bff
[ "MIT" ]
null
null
null
Python/Advanced OOP/Attributes/Hotel/01. Hotel.py
teodoramilcheva/softuni-software-engineering
98dc9faa66f42570f6538fd7ef186d2bd1d39bff
[ "MIT" ]
null
null
null
Python/Advanced OOP/Attributes/Hotel/01. Hotel.py
teodoramilcheva/softuni-software-engineering
98dc9faa66f42570f6538fd7ef186d2bd1d39bff
[ "MIT" ]
null
null
null
class Hotel: def __init__(self, name: str): self.name = name self.rooms = [] self.guests = 0 @classmethod def from_stars(cls, stars_count): name = f'{stars_count} stars Hotel' return cls(name) def add_room(self, room): self.rooms.append(room)...
29.820513
97
0.563199
164
1,163
3.847561
0.243902
0.085578
0.038035
0.063391
0.369255
0.369255
0.302694
0.301109
0.301109
0.301109
0
0.005063
0.320722
1,163
38
98
30.605263
0.793671
0
0
0.275862
0
0.068966
0.201606
0.037467
0
0
0
0
0
1
0.206897
false
0
0
0
0.344828
0.137931
0
0
0
null
0
0
0
0
0
0
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
ae63be6d85b78ced6ae0f350b22b8798f6f015df
1,349
py
Python
tests/examples/coreutils/ls/requirements/requirements.py
testflows/TestFlows-Core
0aa17247dffd2f7199465031ab16cc4f12c9cfb0
[ "Apache-2.0" ]
3
2020-06-25T19:23:19.000Z
2021-10-20T19:29:56.000Z
tests/examples/coreutils/ls/requirements/requirements.py
testflows/TestFlows-Core
0aa17247dffd2f7199465031ab16cc4f12c9cfb0
[ "Apache-2.0" ]
null
null
null
tests/examples/coreutils/ls/requirements/requirements.py
testflows/TestFlows-Core
0aa17247dffd2f7199465031ab16cc4f12c9cfb0
[ "Apache-2.0" ]
1
2020-02-24T12:31:45.000Z
2020-02-24T12:31:45.000Z
# These requirements were auto generated # from software requirements specification (SRS) # document by TestFlows v1.6.200716.1214830. # Do not edit by hand but re-generate instead # using 'tfs requirements generate' command. from testflows.core import Requirement RQ_SRS001_CU_LS = Requirement( name='RQ.SRS001...
26.45098
107
0.578206
160
1,349
4.8
0.4
0.0625
0.078125
0.09375
0.507813
0.486979
0.339844
0.285156
0.285156
0.285156
0
0.041845
0.309118
1,349
50
108
26.98
0.782189
0.159377
0
0.571429
1
0
0.31117
0.050532
0
0
0
0
0
1
0
false
0
0.02381
0
0.02381
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
ae69157e9e2838981548e0247bcf82bb4114ecc3
1,501
py
Python
zeeko/handlers/setup_package.py
alexrudy/Zeeko
fb4992724620ed548dd32c3201f79f5b7bebfe32
[ "BSD-3-Clause" ]
2
2017-07-23T22:06:05.000Z
2020-02-28T07:54:15.000Z
zeeko/handlers/setup_package.py
alexrudy/Zeeko
fb4992724620ed548dd32c3201f79f5b7bebfe32
[ "BSD-3-Clause" ]
1
2020-10-29T19:54:06.000Z
2020-10-29T19:54:06.000Z
zeeko/handlers/setup_package.py
alexrudy/Zeeko
fb4992724620ed548dd32c3201f79f5b7bebfe32
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import import os from zeeko._build_helpers import get_utils_extension_args, get_zmq_extension_args, _generate_cython_extensions, pxd, get_package_data from astropy_helpers import setup_helpers utilities = [pxd("..utils.rc"), pxd("..utils.msg"), ...
38.487179
133
0.654231
166
1,501
5.63253
0.385542
0.125134
0.054545
0.04492
0.081283
0.081283
0
0
0
0
0
0.002459
0.187209
1,501
39
134
38.487179
0.763934
0.031979
0
0
1
0
0.180249
0.029006
0
0
0
0
0
1
0.034483
false
0
0.137931
0
0.206897
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
ae73d85a5f4dcb6adc5dcd4a48bf418ba8cec3c0
1,184
py
Python
ppln/gatkRealignerTargCreator.py
asalomatov/nextgen-pipeline
4ac358050075dc40d32a1c09160e86a41f093f98
[ "MIT" ]
4
2017-08-11T21:02:35.000Z
2020-10-29T19:49:41.000Z
ppln/gatkRealignerTargCreator.py
asalomatov/nextgen-pipeline
4ac358050075dc40d32a1c09160e86a41f093f98
[ "MIT" ]
null
null
null
ppln/gatkRealignerTargCreator.py
asalomatov/nextgen-pipeline
4ac358050075dc40d32a1c09160e86a41f093f98
[ "MIT" ]
2
2017-08-18T19:40:10.000Z
2017-08-19T03:43:07.000Z
''' ''' import sys, subprocess sys.path.insert(0, '/nethome/asalomatov/projects/ppln') import logProc ntFlag = '-nt 10' #interval_padding = '--interval_padding 0' # bed files padded with 100bp interval_padding = '--interval_padding 200' read_filter = '--read_filter BadCigar' print '\nsys.args :', sys.argv[1:] inb...
42.285714
215
0.705236
170
1,184
4.864706
0.435294
0.072551
0.076179
0.097944
0.37364
0.264813
0.264813
0.264813
0.264813
0.264813
0
0.025
0.121622
1,184
27
216
43.851852
0.770192
0.239865
0
0
0
0.052632
0.36036
0.092342
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ae76f9115d5aeaf3a667d8ad57a43721c93b13f6
14,613
py
Python
api/app/models/test_geofile.py
enermaps/enermaps
bac472e60e44724be605068103d01da0320483e6
[ "Apache-2.0" ]
5
2021-09-09T13:17:09.000Z
2022-03-31T11:57:06.000Z
api/app/models/test_geofile.py
enermaps/enermaps
bac472e60e44724be605068103d01da0320483e6
[ "Apache-2.0" ]
154
2020-10-16T09:14:00.000Z
2022-03-31T13:31:17.000Z
api/app/models/test_geofile.py
enermaps/enermaps
bac472e60e44724be605068103d01da0320483e6
[ "Apache-2.0" ]
9
2021-05-20T15:12:54.000Z
2022-03-15T15:39:42.000Z
import copy import json import os from app.common import path from app.common.projection import epsg_string_to_proj4 from app.common.test import BaseApiTest from . import geofile, storage class TestLoad(BaseApiTest): def testArea(self): with self.flask_app.app_context(): layer = geofile.load...
34.222482
88
0.534729
1,393
14,613
5.437904
0.115578
0.086865
0.030099
0.04264
0.761584
0.732805
0.672607
0.653201
0.627591
0.595776
0
0.030338
0.350373
14,613
426
89
34.302817
0.767618
0
0
0.48368
0
0
0.138712
0.055225
0
0
0
0
0.181009
1
0.05638
false
0
0.020772
0
0.11276
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
ae777c31a89605e1d2a2a1e2bfa85ac8840eebee
6,676
py
Python
src/modules/base/Configuration.py
andreaswatch/piTomation
140bff77ad0b84ad17898106c7be7dc48a2d0783
[ "MIT" ]
null
null
null
src/modules/base/Configuration.py
andreaswatch/piTomation
140bff77ad0b84ad17898106c7be7dc48a2d0783
[ "MIT" ]
null
null
null
src/modules/base/Configuration.py
andreaswatch/piTomation
140bff77ad0b84ad17898106c7be7dc48a2d0783
[ "MIT" ]
null
null
null
''' Basic piTomation configuration options. ''' from pydantic import BaseModel from typing import Any, Optional, Union from pydantic.class_validators import validator __pdoc__ = { "WithPlugins": None, "configuration": None } __registry: dict[type, list[type]] = {} '''Contains all @configuration class types,...
29.539823
142
0.687088
740
6,676
6.125676
0.290541
0.026473
0.026252
0.013236
0.215531
0.193029
0.146923
0.106331
0.106331
0.055151
0
0.000371
0.192481
6,676
225
143
29.671111
0.840475
0.316956
0
0.063492
0
0
0.02998
0
0
0
0
0
0
1
0.063492
false
0
0.063492
0
0.68254
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
ae7c6c2bff216ece676b2bf277a3dea69a26d9e6
2,414
py
Python
python/opentrons_ot3_firmware/scripts/generate_header.py
Opentrons/ot3-firmware
3047fbf54ed2bf9350a9fe02c0c0fb246ac0285a
[ "Apache-2.0" ]
3
2021-09-21T13:20:27.000Z
2021-12-02T13:12:32.000Z
python/opentrons_ot3_firmware/scripts/generate_header.py
Opentrons/ot3-firmware
3047fbf54ed2bf9350a9fe02c0c0fb246ac0285a
[ "Apache-2.0" ]
36
2021-08-10T15:18:09.000Z
2022-03-30T19:08:13.000Z
python/opentrons_ot3_firmware/scripts/generate_header.py
Opentrons/ot3-firmware
3047fbf54ed2bf9350a9fe02c0c0fb246ac0285a
[ "Apache-2.0" ]
null
null
null
"""Script to generate c++ header file of canbus constants.""" from __future__ import annotations import argparse import io from enum import Enum from typing import Type, Any import sys from opentrons_ot3_firmware.constants import ( MessageId, FunctionCode, NodeId, ) class block: """C block generator....
27.431818
83
0.584921
287
2,414
4.749129
0.365854
0.080704
0.035216
0.030814
0.192223
0.092443
0.052825
0
0
0
0
0.001109
0.253107
2,414
87
84
27.747126
0.754853
0.159901
0
0.070175
1
0
0.22148
0.048304
0
0
0
0
0
1
0.105263
false
0
0.122807
0
0.263158
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
ae87c58fe103e3173ad0eb9f9da060726e492203
346
py
Python
search01.py
kekelele/canlib-for-kvaser
5f7f55319a33956de0bb9a1376ee7fbf897b8c4b
[ "Apache-2.0" ]
null
null
null
search01.py
kekelele/canlib-for-kvaser
5f7f55319a33956de0bb9a1376ee7fbf897b8c4b
[ "Apache-2.0" ]
null
null
null
search01.py
kekelele/canlib-for-kvaser
5f7f55319a33956de0bb9a1376ee7fbf897b8c4b
[ "Apache-2.0" ]
1
2019-08-16T04:25:44.000Z
2019-08-16T04:25:44.000Z
from canlib import canlib num_channels = canlib.getNumberOfChannels() print("Found %d channels" % num_channels) for ch in range(0, num_channels): chdata = canlib.ChannelData(ch) print("%d. %s (%s / %s)" % (ch, chdata.device_name, chdata.card_upc_no, ...
38.444444
55
0.592486
42
346
4.690476
0.547619
0.167513
0
0
0
0
0
0
0
0
0
0.004098
0.294798
346
9
56
38.444444
0.803279
0
0
0
0
0
0.095101
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.25
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
ae882f531080b30ee1443e5c07ad6e5e57ec1e85
2,208
py
Python
src/assisted_test_infra/test_infra/helper_classes/config/base_config.py
nirarg/assisted-test-infra
e07c43501c1d9bfaa1aee3aea49f1ef359faee07
[ "Apache-2.0" ]
null
null
null
src/assisted_test_infra/test_infra/helper_classes/config/base_config.py
nirarg/assisted-test-infra
e07c43501c1d9bfaa1aee3aea49f1ef359faee07
[ "Apache-2.0" ]
null
null
null
src/assisted_test_infra/test_infra/helper_classes/config/base_config.py
nirarg/assisted-test-infra
e07c43501c1d9bfaa1aee3aea49f1ef359faee07
[ "Apache-2.0" ]
null
null
null
from abc import ABC, abstractmethod from dataclasses import asdict, dataclass from typing import Any from triggers.env_trigger import DataPool, Triggerable @dataclass class BaseConfig(Triggerable, ABC): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) def __post_init__(self): ...
30.666667
89
0.613225
266
2,208
4.793233
0.383459
0.032941
0.015686
0.025098
0.03451
0.03451
0
0
0
0
0
0
0.289855
2,208
71
90
31.098592
0.813138
0.13904
0
0.12766
0
0
0.025296
0
0
0
0
0
0
1
0.212766
false
0.042553
0.085106
0.042553
0.446809
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
ae8a201243a94cc44dd5cdf663f89bc62c36cf5a
917
py
Python
licensecheck/types.py
matthewdeanmartin/LicenseCheck
54063d10d2033adc77fe12ddac6c0ced1a5e6502
[ "MIT" ]
null
null
null
licensecheck/types.py
matthewdeanmartin/LicenseCheck
54063d10d2033adc77fe12ddac6c0ced1a5e6502
[ "MIT" ]
null
null
null
licensecheck/types.py
matthewdeanmartin/LicenseCheck
54063d10d2033adc77fe12ddac6c0ced1a5e6502
[ "MIT" ]
null
null
null
"""PackageCompat type. """ from __future__ import annotations import typing from enum import Enum class PackageInfo(typing.TypedDict): """PackageInfo type.""" name: str version: str namever: str size: int home_page: str author: str license: str class PackageCompat(PackageInfo): """PackageCompat type.""" ...
14.107692
56
0.687023
138
917
4.391304
0.608696
0.024752
0
0
0
0
0
0
0
0
0
0.085795
0.224646
917
64
57
14.328125
0.766526
0.236641
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.075
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ae8ae6c3af80fec8fe0b9de9dbde6389fdebdfe5
889
py
Python
sciwx/demo/canvas4_tool.py
Pad0y/imagepy
23f41b64ade02f94b566b0d23a4b6459c1a1578d
[ "BSD-4-Clause" ]
null
null
null
sciwx/demo/canvas4_tool.py
Pad0y/imagepy
23f41b64ade02f94b566b0d23a4b6459c1a1578d
[ "BSD-4-Clause" ]
null
null
null
sciwx/demo/canvas4_tool.py
Pad0y/imagepy
23f41b64ade02f94b566b0d23a4b6459c1a1578d
[ "BSD-4-Clause" ]
null
null
null
import sys sys.path.append("../../") from skimage.data import astronaut, camera from sciwx.canvas import ICanvas from sciapp.action import Tool import wx class TestTool(Tool): def __init__(self): Tool.__init__(self) def mouse_down(self, image, x, y, btn, **key): print( "x:%d y:%d...
22.794872
64
0.574803
127
889
3.850394
0.401575
0.02045
0.0818
0.08998
0.153374
0.153374
0.118609
0.118609
0.118609
0
0
0
0.257593
889
38
65
23.394737
0.740909
0
0
0.068966
0
0
0.08099
0
0
0
0
0
0
1
0.172414
false
0.068966
0.172414
0
0.37931
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
0
0
0
1
0
0
0
0
0
1
ae8cd09d05a4a07cf96b19a5f1e50745c23583f0
1,352
py
Python
socialserver/conftest.py
niallasher/socialserver-neo
7e7d25d939133d149b56ccd54fbfa62d75cabb73
[ "MIT" ]
null
null
null
socialserver/conftest.py
niallasher/socialserver-neo
7e7d25d939133d149b56ccd54fbfa62d75cabb73
[ "MIT" ]
11
2022-03-10T04:55:09.000Z
2022-03-30T14:24:19.000Z
socialserver/conftest.py
niallasher/socialserver-neo
7e7d25d939133d149b56ccd54fbfa62d75cabb73
[ "MIT" ]
null
null
null
# Copyright (c) Niall Asher 2022 from os import remove, path, mkdir from socialserver.util.output import console from socialserver.util.config import config from socialserver import application from werkzeug.serving import make_server from threading import Thread class TestingServer(Thread): def __init__(self, ...
28.765957
87
0.713018
176
1,352
5.306818
0.505682
0.051392
0.042827
0.042827
0
0
0
0
0
0
0
0.013812
0.196746
1,352
46
88
29.391304
0.846225
0.14497
0
0
0
0
0.10792
0.05396
0
0
0
0.021739
0
1
0.166667
false
0.033333
0.2
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
ae8d4fb7a13c8900171e04c43ef88541458c98e4
484
py
Python
wildlifecompliance/migrations/0258_auto_20190717_1102.py
preranaandure/wildlifecompliance
bc19575f7bccf7e19adadbbaf5d3eda1d1aee4b5
[ "Apache-2.0" ]
1
2020-12-07T17:12:40.000Z
2020-12-07T17:12:40.000Z
wildlifecompliance/migrations/0258_auto_20190717_1102.py
preranaandure/wildlifecompliance
bc19575f7bccf7e19adadbbaf5d3eda1d1aee4b5
[ "Apache-2.0" ]
14
2020-01-08T08:08:26.000Z
2021-03-19T22:59:46.000Z
wildlifecompliance/migrations/0258_auto_20190717_1102.py
preranaandure/wildlifecompliance
bc19575f7bccf7e19adadbbaf5d3eda1d1aee4b5
[ "Apache-2.0" ]
15
2020-01-08T08:02:28.000Z
2021-11-03T06:48:32.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2019-07-17 03:02 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('wildlifecompliance', '0257_auto_20190717_1034'), ] operations = [ migration...
23.047619
58
0.636364
53
484
5.603774
0.811321
0
0
0
0
0
0
0
0
0
0
0.090909
0.25
484
20
59
24.2
0.727273
0.140496
0
0
1
0
0.162228
0.05569
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
ae9051d6cbac2dfdb6778875e7c06650eadb0b18
448
py
Python
config.py
richardpanda/todo-api
40ee3cc3fa96fc58fa6721e92a057c01ac938273
[ "MIT" ]
null
null
null
config.py
richardpanda/todo-api
40ee3cc3fa96fc58fa6721e92a057c01ac938273
[ "MIT" ]
null
null
null
config.py
richardpanda/todo-api
40ee3cc3fa96fc58fa6721e92a057c01ac938273
[ "MIT" ]
null
null
null
import os from dotenv import load_dotenv load_dotenv() class Config(): DEBUG = True ENV = 'dev' JWT_SECRET = os.getenv('JWT_SECRET', 'secret') SQLALCHEMY_DATABASE_URI = os.getenv('DEV_DB_URI', 'sqlite://') SQLALCHEMY_TRACK_MODIFICATIONS = False TESTING = False class TestingConfig(Config): ...
20.363636
70
0.683036
55
448
5.309091
0.436364
0.082192
0.143836
0.157534
0.19863
0
0
0
0
0
0
0
0.200893
448
21
71
21.333333
0.815642
0
0
0
0
0
0.151786
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.933333
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
ae913a111fa67bd457b4fc79bdf05c3e30106229
724
py
Python
src/DevicesAPP/migrations/0003_auto_20180418_1607.py
mizamae/HomeAutomation
8c462ee4c31c1fea6792cb19af66a4d2cf7bb2ca
[ "MIT" ]
null
null
null
src/DevicesAPP/migrations/0003_auto_20180418_1607.py
mizamae/HomeAutomation
8c462ee4c31c1fea6792cb19af66a4d2cf7bb2ca
[ "MIT" ]
9
2017-11-21T15:45:18.000Z
2022-02-11T03:37:54.000Z
src/DevicesAPP/migrations/0003_auto_20180418_1607.py
mizamae/HomeAutomation
8c462ee4c31c1fea6792cb19af66a4d2cf7bb2ca
[ "MIT" ]
1
2020-07-22T02:24:17.000Z
2020-07-22T02:24:17.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2018-04-18 14:07 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('DevicesAPP', '0002_auto_20180404_1557'), ] operations = [ migrations....
36.2
314
0.683702
73
724
6.60274
0.739726
0.128631
0.053942
0.078838
0
0
0
0
0
0
0
0.057592
0.208564
724
19
315
38.105263
0.783595
0.093923
0
0
1
0
0.490536
0.190852
0
0
0
0
0
1
0
false
0
0.166667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ae91c071e030f6f6416a98aa6827070d9d7478ef
7,395
py
Python
backtoshops/notifs/views.py
RaphaelPrevost/Back2Shops
5f2d369e82fe2a7b9b3a6c55782319b23d142dfd
[ "CECILL-B" ]
null
null
null
backtoshops/notifs/views.py
RaphaelPrevost/Back2Shops
5f2d369e82fe2a7b9b3a6c55782319b23d142dfd
[ "CECILL-B" ]
6
2021-03-31T19:21:50.000Z
2022-01-13T01:46:09.000Z
backtoshops/notifs/views.py
RaphaelPrevost/Back2Shops
5f2d369e82fe2a7b9b3a6c55782319b23d142dfd
[ "CECILL-B" ]
null
null
null
# -*- coding: utf-8 -*- ############################################################################# # # Copyright © Dragon Dollar Limited # contact: contact@dragondollar.com # # This software is a collection of webservices designed to provide a secure # and scalable framework to build e-commerce websites. # # This s...
36.975
85
0.652738
892
7,395
5.299327
0.282511
0.020732
0.028771
0.026655
0.326634
0.300825
0.268458
0.23186
0.222974
0.156124
0
0.001585
0.232319
7,395
199
86
37.160804
0.830897
0.217039
0
0.429688
0
0
0.054464
0
0
0
0
0
0
1
0.109375
false
0
0.09375
0.007813
0.507813
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
ae9c101bafb94a97148b51abc123ec5cc959835d
428
py
Python
backend/setup.py
erik/smiegel
34e9d132e241f2db4e96e84295588cd11d7c0164
[ "MIT" ]
null
null
null
backend/setup.py
erik/smiegel
34e9d132e241f2db4e96e84295588cd11d7c0164
[ "MIT" ]
null
null
null
backend/setup.py
erik/smiegel
34e9d132e241f2db4e96e84295588cd11d7c0164
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='smiegel', version='0.0', long_description=__doc__, packages=['smiegel'], include_package_data=True, author='Erik Price', description='Self hosted SMS mirroring service', license='MIT', install_requires=open('requirements.txt').readlines(), ...
22.526316
58
0.640187
44
428
5.909091
0.840909
0
0
0
0
0
0
0
0
0
0
0.006042
0.226636
428
18
59
23.777778
0.779456
0
0
0
0
0
0.292056
0.049065
0
0
0
0
0
1
0
true
0
0.058824
0
0.058824
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
8818024dcc74585344f5c0d78dbccf72a3196b14
1,253
py
Python
src/aioros_master/master.py
mgrrx/aioros_master
24e74e851d6a00fb6517d053d78c02ed8b8bede2
[ "Apache-2.0" ]
1
2020-09-01T07:29:21.000Z
2020-09-01T07:29:21.000Z
src/aioros_master/master.py
mgrrx/aioros_master
24e74e851d6a00fb6517d053d78c02ed8b8bede2
[ "Apache-2.0" ]
null
null
null
src/aioros_master/master.py
mgrrx/aioros_master
24e74e851d6a00fb6517d053d78c02ed8b8bede2
[ "Apache-2.0" ]
null
null
null
from typing import Optional from aiohttp.web import AppRunner # TODO fix import from aioros.graph_resource import get_local_address from .master_api_server import start_server from .param_cache import ParamCache from .registration_manager import RegistrationManager class Master: def __init__(self): se...
28.477273
72
0.656824
138
1,253
5.65942
0.311594
0.170294
0.176697
0
0
0
0
0
0
0
0
0.005488
0.272945
1,253
43
73
29.139535
0.851811
0.011971
0
0
0
0
0
0
0
0
0
0.023256
0
1
0.029412
false
0
0.176471
0
0.235294
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
881919bc42fa47660473b0dc049df1de113f468a
1,344
py
Python
models/agent.py
AfrinAyesha/data-service
09d4aa45b1f8b0340646739fb0cf17966541af9d
[ "MIT" ]
null
null
null
models/agent.py
AfrinAyesha/data-service
09d4aa45b1f8b0340646739fb0cf17966541af9d
[ "MIT" ]
null
null
null
models/agent.py
AfrinAyesha/data-service
09d4aa45b1f8b0340646739fb0cf17966541af9d
[ "MIT" ]
null
null
null
from db import db class AgentModel(db.Model): __tablename__ = 'agents' id = db.Column(db.Integer, primary_key=True) agent_id = db.Column(db.Integer, db.ForeignKey('users.id'), unique=True) customers = db.relationship("CustomerModel", backref='agent') name = db.Column(db.String(80)) email = db.C...
30.545455
123
0.638393
171
1,344
4.818713
0.362573
0.093447
0.072816
0.082524
0.046117
0
0
0
0
0
0
0.006876
0.24256
1,344
43
124
31.255814
0.802554
0
0
0.058824
0
0
0.080537
0
0
0
0
0
0
1
0.147059
false
0
0.029412
0.088235
0.529412
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