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
a364aa68530080a54914292f77a4109550571cc3
2,002
py
Python
review/migrations/0001_initial.py
hossainchisty/Multi-Vendor-eCommerce
42c5f62b8b098255cc9ea57858d3cc7de94bd76a
[ "MIT" ]
16
2021-09-22T19:08:28.000Z
2022-03-18T18:57:02.000Z
review/migrations/0001_initial.py
hossainchisty/Multi-Vendor-eCommerce
42c5f62b8b098255cc9ea57858d3cc7de94bd76a
[ "MIT" ]
6
2021-09-30T12:36:02.000Z
2022-03-18T22:18:00.000Z
review/migrations/0001_initial.py
hossainchisty/Multi-Vendor-eCommerce
42c5f62b8b098255cc9ea57858d3cc7de94bd76a
[ "MIT" ]
6
2021-12-06T02:04:51.000Z
2022-03-13T14:38:14.000Z
# Generated by Django 3.2.6 on 2021-08-29 19:36 import cloudinary.models from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('product', '0001_initial'), (...
50.05
205
0.620879
209
2,002
5.856459
0.483254
0.03268
0.045752
0.071895
0.224673
0.224673
0.224673
0.224673
0.19281
0.19281
0
0.023591
0.237762
2,002
39
206
51.333333
0.778506
0.022478
0
0
1
0
0.243215
0
0
0
0
0
0
1
0
false
0
0.125
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
a3750df07fdee8a0b251d18de3fee3b8c852d24c
822
py
Python
python/meta.py
sweetporkbones/scratchpad
e5865c5cdec78f7a66d032c77919848773c991fb
[ "BSD-2-Clause" ]
9
2016-03-26T13:00:34.000Z
2021-12-09T05:29:06.000Z
python/meta.py
sweetporkbones/scratchpad
e5865c5cdec78f7a66d032c77919848773c991fb
[ "BSD-2-Clause" ]
null
null
null
python/meta.py
sweetporkbones/scratchpad
e5865c5cdec78f7a66d032c77919848773c991fb
[ "BSD-2-Clause" ]
4
2017-04-06T22:03:42.000Z
2020-07-06T20:44:10.000Z
#!/usr/bin/python # technique #1: list only the class member variables w/o the metadata class DataClass: instance_var = 'data' instance_var2 = 'more data' def __dir__(self): """Overrides dir() to return only public instance variables""" return [e for e in dir(DataClass) if e[0] != '_'] d...
22.833333
84
0.694647
112
822
4.991071
0.526786
0.057245
0.118068
0.110912
0.143113
0
0
0
0
0
0
0.005797
0.160584
822
35
85
23.485714
0.804348
0.375912
0
0
0
0
0.153693
0.041916
0
0
0
0
0
1
0.1
false
0
0.05
0
0.35
0.6
0
0
0
null
0
0
0
0
0
0
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
a37d0692728b7b2bf7381bc45be509f6afdc4ea7
388
py
Python
Python/Exercícios_Python/052_progressão_aritmética.py
vdonoladev/aprendendo-programacao
83abbcd6701b2105903b28fd549738863418cfb8
[ "MIT" ]
null
null
null
Python/Exercícios_Python/052_progressão_aritmética.py
vdonoladev/aprendendo-programacao
83abbcd6701b2105903b28fd549738863418cfb8
[ "MIT" ]
null
null
null
Python/Exercícios_Python/052_progressão_aritmética.py
vdonoladev/aprendendo-programacao
83abbcd6701b2105903b28fd549738863418cfb8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """052 - Progressão Aritmética Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1XxsY2LOjklht2ABKc1B0VXPOppV9E7Dh """ num = int(input('\nDigite o Primeiro número da PA: ')) razão = int(input('Digite a Razão da PA: ')) for c in ra...
25.866667
77
0.688144
52
388
5.134615
0.826923
0.059925
0
0
0
0
0
0
0
0
0
0.043077
0.162371
388
15
78
25.866667
0.778462
0.512887
0
0
1
0
0.344262
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
a38272707cb83148586db5450d235651315bb75c
821
py
Python
src/amuse/ext/fresco/xyz.py
rieder/Fresco
a169fb7e84d6e72c72201ac8e3548f8be93d5055
[ "MIT" ]
2
2019-11-07T04:29:32.000Z
2021-05-13T01:31:02.000Z
fresco/xyz.py
JPGlaser/Fresco
807bf44e5785aa99645762528c0b7321f667c083
[ "MIT" ]
13
2016-09-09T19:58:12.000Z
2017-09-18T15:23:43.000Z
fresco/xyz.py
JPGlaser/Fresco
807bf44e5785aa99645762528c0b7321f667c083
[ "MIT" ]
2
2019-07-17T19:28:53.000Z
2021-03-03T18:50:13.000Z
import os import numpy from amuse.units import units this_dir, this_filename = os.path.split(__file__) if this_dir == "": this_dir = "." instrument = "WFPC_II_WFC3" data_dir = this_dir + "/data/" + instrument + "/" f = open(data_dir + "ciexyz31.csv","r") lines = f.readlines() cielam = [] | units.nano...
22.805556
57
0.602923
120
821
3.983333
0.383333
0.058577
0.125523
0.188285
0.066946
0
0
0
0
0
0
0.010903
0.218027
821
35
58
23.457143
0.733645
0
0
0
0
0
0.045067
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
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
a38a945b3f2e51e4008da839c28b1891cadf9e1b
672
py
Python
djstripe/migrations/0013_auto_20200611_1539.py
davidastephens/dj-stripe
f973f7c77fe1378784843e0cec5d404441ab52c9
[ "MIT" ]
2
2020-09-01T20:05:28.000Z
2021-07-22T08:20:42.000Z
djstripe/migrations/0013_auto_20200611_1539.py
davidastephens/dj-stripe
f973f7c77fe1378784843e0cec5d404441ab52c9
[ "MIT" ]
1
2021-02-24T15:01:41.000Z
2021-03-25T20:44:53.000Z
djstripe/migrations/0013_auto_20200611_1539.py
davidastephens/dj-stripe
f973f7c77fe1378784843e0cec5d404441ab52c9
[ "MIT" ]
null
null
null
# Generated by Django 3.0.7 on 2020-06-11 15:39 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("djstripe", "0012_apikey"), ] operations = [ migrations.AlterField( model_name="apikey", ...
24
76
0.494048
63
672
5.190476
0.793651
0.061162
0.122324
0
0
0
0
0
0
0
0
0.068127
0.388393
672
27
77
24.888889
0.727494
0.066964
0
0.095238
1
0.047619
0.12
0.0704
0
0
0
0
0
1
0
false
0
0.095238
0
0.238095
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
a3915503ab56d0f8b7f2e047325c5fd5d0d7bca5
1,409
py
Python
runlmc/util/normalizer.py
vlad17/run-lmc
bddb7df2aa3dcec17380d858325bf50502fffb4e
[ "BSD-3-Clause" ]
29
2017-06-13T21:45:54.000Z
2021-12-15T02:03:10.000Z
runlmc/util/normalizer.py
vlad17/run-lmc
bddb7df2aa3dcec17380d858325bf50502fffb4e
[ "BSD-3-Clause" ]
3
2020-06-11T02:34:23.000Z
2022-02-26T18:03:45.000Z
runlmc/util/normalizer.py
vlad17/run-lmc
bddb7df2aa3dcec17380d858325bf50502fffb4e
[ "BSD-3-Clause" ]
9
2017-03-12T16:36:56.000Z
2021-03-02T05:10:36.000Z
# Copyright (c) 2016, Vladimir Feinberg # Licensed under the BSD 3-clause license (see LICENSE) # This file was modified from the GPy project. Its file header is replicated # below. Its LICENSE.txt is replicated in the LICENSE file for this directory. # Copyright (c) 2012-2014, GPy authors (see AUTHORS.txt). # Licens...
28.18
78
0.598297
192
1,409
4.34375
0.447917
0.047962
0.038369
0.045564
0.103118
0.103118
0.103118
0.103118
0.103118
0
0
0.017276
0.301632
1,409
49
79
28.755102
0.830285
0.381831
0
0
0
0
0.084088
0
0
0
0
0
0
1
0.285714
false
0
0.047619
0.047619
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
a391e3b8cf4f08d71d1f57ad7fcc92a046261235
2,471
py
Python
digit_multiplication.py
PetePrattis/multiplying-digits-of-number
89d78f557b79a1b57126697b25c3fdb41b1d2d6d
[ "MIT" ]
1
2019-10-10T20:22:47.000Z
2019-10-10T20:22:47.000Z
digit_multiplication.py
PetePrattis/multiplying-digits-of-number
89d78f557b79a1b57126697b25c3fdb41b1d2d6d
[ "MIT" ]
null
null
null
digit_multiplication.py
PetePrattis/multiplying-digits-of-number
89d78f557b79a1b57126697b25c3fdb41b1d2d6d
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf8 -*- #Author Παναγιώτης Πράττης/Panagiotis Prattis ''' A program which calculates how many times we have to multiply the digits of a number in order to get one digit result. ''' import math #This is the function def multiTimes (val): x=0 ''' first case is...
34.319444
103
0.469041
281
2,471
4.120996
0.409253
0.017271
0.043178
0.053541
0.100173
0.100173
0.100173
0.100173
0.100173
0.100173
0
0.023773
0.472278
2,471
71
104
34.802817
0.864264
0.168353
0
0.111111
0
0
0.199528
0
0
0
0
0
0
0
null
null
0
0.027778
null
null
0.25
0
0
0
null
0
0
0
0
0
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
a3a29290ef27069fae763cc83a6ef44555681863
2,580
py
Python
dlimage/imgclassification/analysis.py
morningkyle/DLImage
52e1ca27387126233f6ba6c8533d2d0e236a58a2
[ "MIT" ]
1
2018-01-27T13:09:07.000Z
2018-01-27T13:09:07.000Z
dlimage/imgclassification/analysis.py
morningkyle/DLImage
52e1ca27387126233f6ba6c8533d2d0e236a58a2
[ "MIT" ]
null
null
null
dlimage/imgclassification/analysis.py
morningkyle/DLImage
52e1ca27387126233f6ba6c8533d2d0e236a58a2
[ "MIT" ]
null
null
null
"""Analysis classification result data.""" import os import pandas as pd import numpy as np import matplotlib.pyplot as plt def get_csv_files(path): path = os.path.abspath(path) results = [os.path.join(path, file) for file in os.listdir(path) if file.endswith('.csv')] print(results) return results ...
28.988764
100
0.623643
385
2,580
3.987013
0.272727
0.029316
0.035179
0.019544
0.063844
0.063844
0.063844
0.063844
0.063844
0.063844
0
0.015438
0.221705
2,580
88
101
29.318182
0.749004
0.013953
0
0.061538
0
0.015385
0.103272
0
0
0
0
0
0.015385
1
0.107692
false
0.061538
0.061538
0
0.276923
0.092308
0
0
0
null
0
0
0
0
0
0
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
6e5926a4ade6158d97563e3c820f3385f4fb5c48
1,386
py
Python
rplugin/python3/lfx/helper/formatting.py
dcampos/nvim-ulf
9b70096bf04133a33f09691b1ef1ac89f8f29a85
[ "MIT" ]
2
2020-10-15T09:34:53.000Z
2020-10-26T10:31:48.000Z
rplugin/python3/lfx/helper/formatting.py
dcampos/nvim-ulf
9b70096bf04133a33f09691b1ef1ac89f8f29a85
[ "MIT" ]
null
null
null
rplugin/python3/lfx/helper/formatting.py
dcampos/nvim-ulf
9b70096bf04133a33f09691b1ef1ac89f8f29a85
[ "MIT" ]
1
2020-10-15T09:35:05.000Z
2020-10-15T09:35:05.000Z
from ..lfx import RequestHelper from ..core.typing import Any, Dict from ..core.protocol import RequestMethod # from ..core.logging import debug from ..core.views import text_document_range_formatting, text_document_formatting from ..core.edit import parse_text_edit, sort_by_application_order class DocumentFormatting...
37.459459
120
0.701299
151
1,386
6.172185
0.390728
0.042918
0.048283
0.05794
0.10515
0.10515
0.10515
0.10515
0.10515
0.10515
0
0
0.212843
1,386
36
121
38.5
0.854262
0.023088
0
0.16
0
0
0.04216
0.04216
0
0
0
0
0
1
0.16
false
0
0.2
0
0.56
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6e5b61e504044341951fa251f250383c000b2ada
3,749
py
Python
scripts/tests/common/data/filtering/test_wp1.py
clinical-genomics-uppsala/CAPS
26b870406d8f7aa42d0d40fb199d58ba9f6a32e5
[ "MIT" ]
null
null
null
scripts/tests/common/data/filtering/test_wp1.py
clinical-genomics-uppsala/CAPS
26b870406d8f7aa42d0d40fb199d58ba9f6a32e5
[ "MIT" ]
null
null
null
scripts/tests/common/data/filtering/test_wp1.py
clinical-genomics-uppsala/CAPS
26b870406d8f7aa42d0d40fb199d58ba9f6a32e5
[ "MIT" ]
null
null
null
# vim: syntax=python tabstop=4 expandtab # coding: utf-8 import unittest import logging logger = logging.getLogger(__name__).addHandler(logging.NullHandler()) class TestWP1ReportsMethods(unittest.TestCase): def setUp(self): self.filter1 = lambda column, mapper: True self.filter2 = filter2 = lambd...
50.662162
121
0.708722
511
3,749
5.019569
0.183953
0.134503
0.088889
0.098246
0.703314
0.598441
0.507992
0.378558
0.304094
0.17076
0
0.021589
0.147506
3,749
73
122
51.356164
0.780976
0.01387
0
0.034483
0
0
0.028695
0
0
0
0
0
0.413793
1
0.172414
false
0.017241
0.206897
0
0.396552
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
6e5e04292698c097314221822a1e626cb4cd6f5e
783
py
Python
web/transiq/sme/migrations/0009_auto_20171220_1914.py
manibhushan05/transiq
763fafb271ce07d13ac8ce575f2fee653cf39343
[ "Apache-2.0" ]
null
null
null
web/transiq/sme/migrations/0009_auto_20171220_1914.py
manibhushan05/transiq
763fafb271ce07d13ac8ce575f2fee653cf39343
[ "Apache-2.0" ]
14
2020-06-05T23:06:45.000Z
2022-03-12T00:00:18.000Z
web/transiq/sme/migrations/0009_auto_20171220_1914.py
manibhushan05/transiq
763fafb271ce07d13ac8ce575f2fee653cf39343
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-12-20 19:14 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('employee', '0006_auto_20170520_1229'), ('sme', '000...
27.964286
128
0.625798
90
783
5.255556
0.622222
0.05074
0.059197
0.093023
0.143763
0.143763
0
0
0
0
0
0.088285
0.247765
783
27
129
29
0.714771
0.086845
0
0.3
1
0
0.141854
0.064607
0
0
0
0
0
1
0
false
0
0.15
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6e67f04c1b6b326676f071b6259c2f90850a0ea4
770
py
Python
Card_Generator.py
BradleyNewell/PlayingCardGenerator
09ddf273e67e5908c1b62ca67974f3acbcf5bee7
[ "MIT" ]
null
null
null
Card_Generator.py
BradleyNewell/PlayingCardGenerator
09ddf273e67e5908c1b62ca67974f3acbcf5bee7
[ "MIT" ]
null
null
null
Card_Generator.py
BradleyNewell/PlayingCardGenerator
09ddf273e67e5908c1b62ca67974f3acbcf5bee7
[ "MIT" ]
null
null
null
import random # Generate a single random playing card with its numerical value used in blackjack. class cardGenerator: # The __init__ method contains two lists, one containing the names of the cards and the other contains their values. def __init__(self): self.values = ['Ace', 'Jack', 'Queen', 'King', 'Ten', '...
30.8
117
0.707792
102
770
5.088235
0.588235
0.092486
0.061657
0.077071
0
0
0
0
0
0
0
0
0.154545
770
25
118
30.8
0.797235
0.254545
0
0
1
0
0.153846
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0
0.357143
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6e6a4ceaca91afd4275ff2658039b9d041aa4faf
1,266
py
Python
app/core/tests/test_models.py
AizaYosuke/recipe_app_api
b010ab69ccecef4d62fccb7596586a478e773f4d
[ "MIT" ]
null
null
null
app/core/tests/test_models.py
AizaYosuke/recipe_app_api
b010ab69ccecef4d62fccb7596586a478e773f4d
[ "MIT" ]
null
null
null
app/core/tests/test_models.py
AizaYosuke/recipe_app_api
b010ab69ccecef4d62fccb7596586a478e773f4d
[ "MIT" ]
null
null
null
from django.test import TestCase from django.contrib.auth import get_user_model class ModelTests(TestCase): def test_create_user_with_email_sucessfull(self): """Testa criação de usuário com email""" email = 'test@eapapapa.com' password = 'Testepassword1234' user = get_user_model()...
34.216216
69
0.656398
149
1,266
5.355705
0.375839
0.04386
0.075188
0.095238
0.240602
0.16792
0.095238
0.095238
0
0
0
0.013528
0.240916
1,266
36
70
35.166667
0.816857
0.116114
0
0
0
0
0.080146
0
0
0
0
0
0.230769
1
0.153846
false
0.115385
0.076923
0
0.269231
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
6e6ad7fbc007713fdebf8240744255f2cb9c8cf5
431
py
Python
project_name/settings/session.py
the-falc0n/django-react-boilerplate
5fd4e72e576c03415c933e8b4aa32b2521407e68
[ "MIT" ]
null
null
null
project_name/settings/session.py
the-falc0n/django-react-boilerplate
5fd4e72e576c03415c933e8b4aa32b2521407e68
[ "MIT" ]
null
null
null
project_name/settings/session.py
the-falc0n/django-react-boilerplate
5fd4e72e576c03415c933e8b4aa32b2521407e68
[ "MIT" ]
null
null
null
# to allow api client save environment state to database. SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer' # we use cached_db backend for longlive and fast sessions. SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db' SESSION_COOKIE_NAME = 'sid' SESSION_COOKIE_AGE = 86400 * 60 # 2...
39.181818
78
0.791183
58
431
5.689655
0.741379
0.118182
0.127273
0
0
0
0
0
0
0
0
0.02122
0.12529
431
10
79
43.1
0.854111
0.361949
0
0
0
0
0.435424
0.424354
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6e72c8d1d13c1de75eef9c332cc7375888ca3c3c
8,253
py
Python
solutions/graphs.py
edab/DSA_Quick_Reference
827a7d3331d9224e8bb21feb9151a89fc637a649
[ "MIT" ]
3
2021-02-15T15:59:51.000Z
2021-05-02T16:52:17.000Z
solutions/graphs.py
edab/DSA_Quick_Reference
827a7d3331d9224e8bb21feb9151a89fc637a649
[ "MIT" ]
null
null
null
solutions/graphs.py
edab/DSA_Quick_Reference
827a7d3331d9224e8bb21feb9151a89fc637a649
[ "MIT" ]
1
2021-06-28T08:50:42.000Z
2021-06-28T08:50:42.000Z
class GraphNode(object): def __init__(self, val): self.value = val self.children = [] def add_child(self, new_node): self.children.append(new_node) def remove_child(self, del_node): if del_node in self.children: self.children.remove(del_node) class...
33.54878
173
0.562462
1,065
8,253
4.219718
0.138967
0.051402
0.032043
0.023364
0.455496
0.399421
0.357588
0.333778
0.284157
0.26591
0
0.017199
0.316612
8,253
245
174
33.685714
0.77961
0.103599
0
0.262821
0
0
0.085098
0
0
0
0
0
0
1
0.108974
false
0.083333
0
0
0.173077
0.173077
0
0
0
null
0
0
0
0
0
0
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
6e733067693ecac09dc7a865865814994fca9742
3,135
py
Python
IoT_master/tools/camera_initialize.py
Janek3d/teleserver
cf6027cd88bca39d2d208df956983d834ebf35a9
[ "MIT" ]
null
null
null
IoT_master/tools/camera_initialize.py
Janek3d/teleserver
cf6027cd88bca39d2d208df956983d834ebf35a9
[ "MIT" ]
1
2020-01-12T19:06:07.000Z
2020-01-12T19:06:07.000Z
IoT_master/tools/camera_initialize.py
Janek3d/teleserver
cf6027cd88bca39d2d208df956983d834ebf35a9
[ "MIT" ]
null
null
null
import cv2 try: from tools.secret_manager import SecretManager except ModuleNotFoundError: from secret_manager import SecretManager from secret_manager import SecretManager from tools.secret_manager import SecretManager class ThermalCamera: """This class initializes connection througth rtsp protocol with...
33
83
0.62807
395
3,135
4.896203
0.359494
0.023268
0.039297
0.066184
0.218201
0.218201
0.138573
0.138573
0.138573
0.138573
0
0.013239
0.277193
3,135
94
84
33.351064
0.840247
0.270175
0
0.244898
0
0
0.149865
0.109973
0
0
0
0
0
1
0.061224
false
0.061224
0.102041
0
0.204082
0.040816
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
6e7c2a22b8f6a692049556f88f7ca99e710100b4
779
py
Python
annotations.py
ragavsachdeva/deepsat-sat6-CNN
920f061880ffeeb64171476aa4de34f55c858400
[ "MIT" ]
5
2018-03-08T16:58:46.000Z
2019-05-06T17:21:07.000Z
annotations.py
ragavsachdeva/deepsat-sat6-CNN
920f061880ffeeb64171476aa4de34f55c858400
[ "MIT" ]
null
null
null
annotations.py
ragavsachdeva/deepsat-sat6-CNN
920f061880ffeeb64171476aa4de34f55c858400
[ "MIT" ]
null
null
null
from __future__ import print_function, division import os import pandas as pd from skimage import io, transform, exposure, img_as_uint, img_as_float import numpy as np import argparse parser = argparse.ArgumentParser() parser.add_argument("DataPath", help="Please provide the path of csv file.") parser.add_argument('-o...
29.961538
97
0.775353
114
779
5.105263
0.526316
0.046392
0.058419
0.068729
0.089347
0.089347
0
0
0
0
0
0
0.102696
779
26
98
29.961538
0.832618
0
0
0
0
0
0.208974
0
0
0
0
0
0
1
0
false
0
0.315789
0
0.315789
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
6e800fb7283fbde9cd8d5883163a30fcd977d21e
1,116
py
Python
pyvisdk/do/virtual_machine_file_layout_ex_disk_layout.py
Infinidat/pyvisdk
f2f4e5f50da16f659ccc1d84b6a00f397fa997f8
[ "MIT" ]
null
null
null
pyvisdk/do/virtual_machine_file_layout_ex_disk_layout.py
Infinidat/pyvisdk
f2f4e5f50da16f659ccc1d84b6a00f397fa997f8
[ "MIT" ]
null
null
null
pyvisdk/do/virtual_machine_file_layout_ex_disk_layout.py
Infinidat/pyvisdk
f2f4e5f50da16f659ccc1d84b6a00f397fa997f8
[ "MIT" ]
null
null
null
import logging from pyvisdk.exceptions import InvalidArgumentError ######################################## # Automatically generated, do not edit. ######################################## log = logging.getLogger(__name__) def VirtualMachineFileLayoutExDiskLayout(vim, *args, **kwargs): '''Layout of a virtual di...
32.823529
124
0.620072
123
1,116
5.593496
0.617886
0.069767
0.034884
0
0
0
0
0
0
0
0
0.004494
0.202509
1,116
33
125
33.818182
0.768539
0.173835
0
0
1
0
0.193976
0.056627
0
0
0
0
0
1
0.058824
false
0
0.117647
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6e81292d91dc2af80d388926d58b88d976211534
351
py
Python
deps/lib/python3.5/site-packages/netdisco/discoverables/sonos.py
jfarmer08/hassio
792a6071a97bb33857c14c9937946233c620035c
[ "MIT" ]
78
2017-08-19T03:46:13.000Z
2020-02-19T04:29:45.000Z
deps/lib/python3.5/site-packages/netdisco/discoverables/sonos.py
jfarmer08/hassio
792a6071a97bb33857c14c9937946233c620035c
[ "MIT" ]
5
2017-08-21T16:33:08.000Z
2018-06-21T18:37:18.000Z
deps/lib/python3.5/site-packages/netdisco/discoverables/sonos.py
jfarmer08/hassio
792a6071a97bb33857c14c9937946233c620035c
[ "MIT" ]
13
2017-08-19T16:46:08.000Z
2018-11-05T23:11:34.000Z
"""Discover Sonos devices.""" from . import SSDPDiscoverable # pylint: disable=too-few-public-methods class Discoverable(SSDPDiscoverable): """Add support for discovering Sonos devices.""" def get_entries(self): """Get all the Sonos device uPnP entries.""" return self.find_by_st("urn:schemas-...
29.25
74
0.712251
44
351
5.613636
0.795455
0.097166
0
0
0
0
0
0
0
0
0
0.00339
0.159544
351
11
75
31.909091
0.833898
0.413105
0
0
0
0
0.210526
0.210526
0
0
0
0
0
1
0.25
false
0
0.25
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
1
0
0
0
0
0
0
0
1
6e8607760152cc34620b809b00962062a9b674d8
254
py
Python
engines/engine_config.py
CJinny/SQLCell
ded1c39ec64232f349728141cca816cb12e99848
[ "MIT" ]
1
2020-01-18T07:20:48.000Z
2020-01-18T07:20:48.000Z
engines/engine_config.py
CJinny/SQLCell
ded1c39ec64232f349728141cca816cb12e99848
[ "MIT" ]
null
null
null
engines/engine_config.py
CJinny/SQLCell
ded1c39ec64232f349728141cca816cb12e99848
[ "MIT" ]
null
null
null
import os # default connection string info here driver = 'postgresql' username = os.getenv('DB_USERNAME') or 'undefined' password = os.getenv('DB_PASSWORD') or 'undefined' host = 'localhost' port = '5432' # empty until set by user default_db = 'sports'
23.090909
50
0.73622
35
254
5.257143
0.714286
0.086957
0.108696
0
0
0
0
0
0
0
0
0.018433
0.145669
254
10
51
25.4
0.829493
0.232283
0
0
0
0
0.359375
0
0
0
0
0
0
1
0
false
0.142857
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
6e86eac8e78bd2a0ecd9c5091087928257f03846
3,864
py
Python
aln_analysis.py
WenchaoLin/myTyper
e3a56584a397ef9fd21c2a660c9d9e8f65df8246
[ "MIT" ]
null
null
null
aln_analysis.py
WenchaoLin/myTyper
e3a56584a397ef9fd21c2a660c9d9e8f65df8246
[ "MIT" ]
null
null
null
aln_analysis.py
WenchaoLin/myTyper
e3a56584a397ef9fd21c2a660c9d9e8f65df8246
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Summary """ from Bio import SeqIO from Bio.Align import AlignInfo from Bio import AlignIO from Bio import Seq from Bio import SeqRecord import sys import numpy as np import argparse import logging def split_paired_barcode(): with open(sys.argv[1]) as f: ...
22.33526
121
0.548913
492
3,864
4.144309
0.315041
0.035311
0.025503
0.008828
0.082884
0.034331
0.034331
0
0
0
0
0.014111
0.321429
3,864
172
122
22.465116
0.763539
0.106108
0
0.047619
0
0
0.067822
0
0
0
0
0
0
0
null
null
0
0.107143
null
null
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6e879e90e7297c3539ce9e9268d03bd171a7235d
507
py
Python
mailbag/emailModel.py
UAlbanyArchives/mailbag
32a4466b2ef420235e331e275aada2745960213a
[ "MIT" ]
19
2021-03-23T15:20:33.000Z
2022-03-15T21:14:59.000Z
mailbag/emailModel.py
UAlbanyArchives/mailbag
32a4466b2ef420235e331e275aada2745960213a
[ "MIT" ]
88
2021-03-26T17:29:37.000Z
2022-03-29T16:30:42.000Z
mailbag/emailModel.py
UAlbanyArchives/mailbag
32a4466b2ef420235e331e275aada2745960213a
[ "MIT" ]
null
null
null
from jsonmodels import models, fields, errors, validators class Email(models.Base): """EmailModel - model class for email formats""" Message_ID = fields.StringField(required=True) Email_Folder = fields.StringField() Original_Filename = fields.StringField() Date = fields.StringField() From = fie...
36.214286
57
0.706114
53
507
6.679245
0.54717
0.480226
0
0
0
0
0
0
0
0
0
0
0.185404
507
14
58
36.214286
0.857143
0.08284
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.083333
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6e8a165c16e1b782099f6d9143f4c6c83a14528e
12,443
py
Python
sleepens/ml/models/_gb.py
paradoxysm/sleepens
9ee4bd8fc8fe2a901e8c16e778daabd31cc5d793
[ "BSD-3-Clause" ]
2
2020-07-24T02:35:43.000Z
2021-09-01T11:27:48.000Z
sleepens/ml/models/_gb.py
paradoxysm/sleepens
9ee4bd8fc8fe2a901e8c16e778daabd31cc5d793
[ "BSD-3-Clause" ]
null
null
null
sleepens/ml/models/_gb.py
paradoxysm/sleepens
9ee4bd8fc8fe2a901e8c16e778daabd31cc5d793
[ "BSD-3-Clause" ]
null
null
null
from sklearn.ensemble import GradientBoostingClassifier as gbm from sleepens.ml._base_model import Classifier class GradientBoostingClassifier(Classifier): """ Wrapper class for sci-kit learn's Gradient Boosting Classifier. Gradient Boosting Classifier builds an additive model in a forward stage-wise fashi...
43.506993
94
0.701197
1,786
12,443
4.743001
0.218925
0.016055
0.008263
0.015346
0.140833
0.114862
0.093141
0.059025
0.040137
0.021013
0
0.006404
0.234429
12,443
285
95
43.659649
0.882847
0.814755
0
0
0
0
0.031269
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6e9a0d8930cf28ac1e587517f137074ceaff2ba0
4,689
py
Python
lipreading/io/io_utils.py
elekhtron/MathResearchQHSS
b680fc1995b03b55fa360e3ca7f83bfcf237503d
[ "MIT" ]
1
2018-11-17T01:51:04.000Z
2018-11-17T01:51:04.000Z
lipreading/io/io_utils.py
elekhtron/MathResearchQHSS
b680fc1995b03b55fa360e3ca7f83bfcf237503d
[ "MIT" ]
8
2018-11-16T04:02:16.000Z
2019-11-10T17:05:55.000Z
lipreading/io/io_utils.py
elekhtron/MathResearchQHSS
b680fc1995b03b55fa360e3ca7f83bfcf237503d
[ "MIT" ]
5
2018-11-16T17:44:26.000Z
2019-11-03T22:17:26.000Z
import keras import numpy as np import os from glob import glob # Utility Functions def get_list_IDs(any_path, val_split = 0.8): ''' param any_path: directory to either the align files or the .mpg files; i.e. s1_path or s1_align ''' id_list =[os.path.splitext(file)[0] for file in os.list...
33.021127
104
0.609938
652
4,689
4.20092
0.280675
0.030668
0.028112
0.043812
0.13107
0.066448
0.024096
0.024096
0
0
0
0.008565
0.277884
4,689
141
105
33.255319
0.800354
0.215398
0
0.109756
0
0
0.019463
0
0
0
0
0
0
1
0.231707
false
0
0.04878
0.085366
0.47561
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
6ea181402a55770e3a4b26d500780a9462af276e
3,223
py
Python
Mathematics_for_ML/eigen.py
sharmaronak79/python
7d000a613087e522005083453630272bb48bb2ed
[ "MIT" ]
null
null
null
Mathematics_for_ML/eigen.py
sharmaronak79/python
7d000a613087e522005083453630272bb48bb2ed
[ "MIT" ]
null
null
null
Mathematics_for_ML/eigen.py
sharmaronak79/python
7d000a613087e522005083453630272bb48bb2ed
[ "MIT" ]
null
null
null
import sys import numpy as np print('Python : {}'.format(sys.version)) print('Numpy : {}'.format(np.__version__)) from numpy import linalg # Define an Array A=np.arange(9) - 3 A B=A.reshape(3,3) B #Ecludian L2 norm - default print(np.linalg.norm(A)) print(np.linalg.norm(B)) #the frogeniuos norm is the L2 no...
23.874074
133
0.737512
533
3,223
4.388368
0.288931
0.035913
0.035913
0.020522
0.339461
0.300983
0.279607
0.245404
0.245404
0.245404
0
0.033159
0.111077
3,223
134
134
24.052239
0.783246
0.307167
0
0.366197
0
0
0.082428
0
0
0
0
0
0
0
null
null
0
0.070423
null
null
0.15493
0
0
0
null
0
0
0
0
0
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
6eb8040e71556ca5d2de08db242ab509faa6856b
1,160
py
Python
bgtorch/bgtorch/nn/flow/funnel.py
noegroup/neurips2020_snf
9b017bb3681f756d0f2ba0ee7b1a2986c1b07261
[ "BSD-3-Clause" ]
42
2021-04-22T13:32:00.000Z
2022-03-31T12:26:12.000Z
bgtorch/bgtorch/nn/flow/funnel.py
noegroup/neurips2020_snf
9b017bb3681f756d0f2ba0ee7b1a2986c1b07261
[ "BSD-3-Clause" ]
29
2021-05-09T01:02:43.000Z
2022-02-21T18:30:42.000Z
bgtorch/bgtorch/nn/flow/funnel.py
noegroup/neurips2020_snf
9b017bb3681f756d0f2ba0ee7b1a2986c1b07261
[ "BSD-3-Clause" ]
14
2021-05-03T11:37:20.000Z
2022-03-09T15:49:54.000Z
import torch import numpy as np from .base import Flow # TODO: write docstrings # TODO: refactor messy implementation class FunnelFlow(Flow): def __init__(self, eps=1e-6, min_val=-1.0, max_val=1.0): super().__init__() self._eps = eps self._min_val = min_val self._max_val = max_va...
32.222222
80
0.575862
171
1,160
3.608187
0.274854
0.106969
0.145867
0.136143
0.416532
0.372771
0.307942
0.307942
0.307942
0.307942
0
0.012107
0.287931
1,160
36
81
32.222222
0.734867
0.05
0
0.285714
0
0
0
0
0
0
0
0.027778
0
1
0.107143
false
0
0.107143
0
0.321429
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
6eba5a60c97f3e200780c0110952883e0775ede4
4,439
py
Python
mx.zippy/mx_zippy.py
wdv4758h/ZipPy
70eabc24f7429e28f89a2e814e1dd3b312e60424
[ "BSD-3-Clause" ]
null
null
null
mx.zippy/mx_zippy.py
wdv4758h/ZipPy
70eabc24f7429e28f89a2e814e1dd3b312e60424
[ "BSD-3-Clause" ]
null
null
null
mx.zippy/mx_zippy.py
wdv4758h/ZipPy
70eabc24f7429e28f89a2e814e1dd3b312e60424
[ "BSD-3-Clause" ]
null
null
null
from argparse import ArgumentParser import mx import mx_graal import pymarks import json def pythonShellCp(): return mx.classpath("edu.uci.python.shell"); def pythonShellClass(): return "edu.uci.python.shell.Shell"; def python(args): """run a Python program or shell VM args should have a @ prefix.""...
31.041958
96
0.661861
472
4,439
6.184322
0.230932
0.068517
0.154162
0.214114
0.445015
0.429257
0.413498
0.195272
0
0
0
0.004642
0.223474
4,439
142
97
31.260563
0.842182
0.029061
0
0.227723
0
0
0.169846
0.065379
0
0
0
0
0
1
0.059406
false
0
0.049505
0.019802
0.128713
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
6ebda207077adbf926798f6cf40734df3b648016
656
py
Python
slackbot/bot.py
NOTpilatus/twitter_pipeline
0d0fe88e138f96a726e61154ba36235ba2c78ba7
[ "MIT" ]
null
null
null
slackbot/bot.py
NOTpilatus/twitter_pipeline
0d0fe88e138f96a726e61154ba36235ba2c78ba7
[ "MIT" ]
null
null
null
slackbot/bot.py
NOTpilatus/twitter_pipeline
0d0fe88e138f96a726e61154ba36235ba2c78ba7
[ "MIT" ]
null
null
null
import slack from sqlalchemy import create_engine import time import psycopg2 import config HOST = config.pg_host USERNAME = config.pg_username PORT = config.pg_port DB = config.pg_db PASSWORD = config.pg_password oauth_token = config.slack_token engine = create_engine(f'postgres://{USERNAME}:{PASSWORD}@{HOST}:{PO...
25.230769
106
0.708841
86
656
5.255814
0.5
0.088496
0
0
0
0
0
0
0
0
0
0.007394
0.175305
656
26
107
25.230769
0.828096
0
0
0
0
0
0.270928
0.120244
0
0
0
0
0
1
0
false
0.1
0.25
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
6ec1b3f455d33151ec8c8dca6ade9319101776a5
4,320
py
Python
main.py
zero-one-group/flask-ddd-example
d08f6fc518f4e410bec6f0f4a9ab0afe10013732
[ "MIT" ]
2
2021-03-05T21:28:12.000Z
2021-05-01T09:34:28.000Z
main.py
zero-one-group/flask-ddd-example
d08f6fc518f4e410bec6f0f4a9ab0afe10013732
[ "MIT" ]
null
null
null
main.py
zero-one-group/flask-ddd-example
d08f6fc518f4e410bec6f0f4a9ab0afe10013732
[ "MIT" ]
1
2021-09-14T07:19:21.000Z
2021-09-14T07:19:21.000Z
import os from flask import Flask, jsonify, request from flask_sqlalchemy import SQLAlchemy from flask_marshmallow import Marshmallow from flask_jwt_extended import JWTManager, jwt_required, create_access_token from console.cli import register_cli from repository import register_repository app = Flask(__name__) bas...
35.702479
106
0.656019
516
4,320
5.310078
0.22093
0.076277
0.058394
0.026277
0.324818
0.245985
0.190876
0.147445
0.082482
0.082482
0
0.008336
0.222454
4,320
120
107
36
0.807383
0.003472
0
0.268041
0
0
0.136881
0.019521
0
0
0
0
0
1
0.061856
false
0.061856
0.072165
0
0.247423
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
6ec90dc0478eef09b3155bb386359dfe9695609d
5,753
py
Python
NLP_feature_extractor.py
franciscogmm/FinancialAnalysisUsingNLPandMachineLearning
f58bba5a47f696ed53dc79b4d48d645fb8f83fbf
[ "MIT" ]
13
2018-08-01T18:49:01.000Z
2022-03-05T18:51:03.000Z
NLP_feature_extractor.py
franciscogmm/FinancialAnalysisUsingNLPandMachineLearning
f58bba5a47f696ed53dc79b4d48d645fb8f83fbf
[ "MIT" ]
null
null
null
NLP_feature_extractor.py
franciscogmm/FinancialAnalysisUsingNLPandMachineLearning
f58bba5a47f696ed53dc79b4d48d645fb8f83fbf
[ "MIT" ]
8
2018-01-05T08:19:48.000Z
2022-03-05T18:51:08.000Z
import nltk from nltk import FreqDist,ngrams from nltk.corpus import stopwords import string from os import listdir from os.path import isfile, join def wordfreq(file): f = open(file,'rU') raw = f.read() raw = raw.replace('\n',' ') #raw = raw.decode('utf8') #tokenization tokens = nltk.word_tok...
30.120419
98
0.624544
862
5,753
4.053364
0.146172
0.018317
0.027476
0.037779
0.633085
0.633085
0.618489
0.576989
0.576989
0.566113
0
0.007615
0.223883
5,753
191
99
30.120419
0.774916
0.507909
0
0.392405
0
0
0.058072
0.023375
0
0
0
0
0
0
null
null
0.012658
0.075949
null
null
0.050633
0
0
0
null
0
0
0
0
0
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
6eca9a750b106b264a4bdcd465d07b6b9c8c8e72
563
py
Python
prediction/scripts/util/find_duplicates.py
henhenhen/ur5_push_operations
0cd36b86cde8222493507c19e6249d2deed5e9d7
[ "BSD-2-Clause" ]
null
null
null
prediction/scripts/util/find_duplicates.py
henhenhen/ur5_push_operations
0cd36b86cde8222493507c19e6249d2deed5e9d7
[ "BSD-2-Clause" ]
null
null
null
prediction/scripts/util/find_duplicates.py
henhenhen/ur5_push_operations
0cd36b86cde8222493507c19e6249d2deed5e9d7
[ "BSD-2-Clause" ]
2
2019-04-08T08:28:53.000Z
2019-11-18T15:58:26.000Z
#!/usr/bin/env python import glob def find_duplicates_in(filename): print filename with open(filename) as f: last_line = -1 for line in f: i = line.split(',')[0] if i.isdigit(): if int(i) == last_line: print "Duplicate id:", i last_line = int(i) if __name__=="__main__": directories = glob....
20.851852
68
0.634103
82
563
4.146341
0.487805
0.070588
0.094118
0
0
0
0
0
0
0
0
0.008811
0.193606
563
26
69
21.653846
0.740088
0.035524
0
0.136364
0
0
0.199262
0
0
0
0
0
0
0
null
null
0
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
6ecd6dcb3b02a8a828bd4ac60007fecaad5599ac
784
py
Python
test/tests.py
Triballian/candiapps
0602039e48b51e2752da6f8a4a3d93cfeb29b3cf
[ "MIT" ]
null
null
null
test/tests.py
Triballian/candiapps
0602039e48b51e2752da6f8a4a3d93cfeb29b3cf
[ "MIT" ]
null
null
null
test/tests.py
Triballian/candiapps
0602039e48b51e2752da6f8a4a3d93cfeb29b3cf
[ "MIT" ]
null
null
null
# tests import os os.chdir('\\Users\\Noe\\workspace\\stakenanny\\candiapps') #import utils.py import imp imp.load_source('utils','utils.py') import utils import unittest class NewConfTest(unittest.TestCase): def test_can_grab_env_from_conf_n_use_it_later(self): self.assertIn('turbostake, bott...
25.290323
77
0.686224
95
784
5.473684
0.536842
0.126923
0.153846
0.2
0
0
0
0
0
0
0
0
0.159439
784
30
78
26.133333
0.789074
0.0625
0
0
0
0
0.284341
0.097527
0
0
0
0
0.375
1
0.0625
false
0
0.25
0
0.375
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
6ecd86d1c977b0df399dffad8a68cd2fee2e4eb8
845
py
Python
15-more-types/petbox/petbox.py
SeirousLee/example-code-2e
81ec1669a4b8fd098db44a78a3d551287eec7bc9
[ "MIT" ]
990
2019-03-21T21:17:34.000Z
2022-03-31T00:55:07.000Z
15-more-types/petbox/petbox.py
FerMatPy/example-code-2e
980f75032685921e08d5200513a261e83ef5f858
[ "MIT" ]
17
2019-12-18T18:00:05.000Z
2022-01-12T14:23:47.000Z
15-more-types/petbox/petbox.py
FerMatPy/example-code-2e
980f75032685921e08d5200513a261e83ef5f858
[ "MIT" ]
276
2019-04-06T12:32:00.000Z
2022-03-29T11:50:47.000Z
""" Example adapted from `Atomic Kotlin` by Bruce Eckel & Svetlana Isakova, chapter `Creating Generics`, section `Variance`. """ from typing import TypeVar, Generic, Any class Pet: """Domestic animal kept for companionship.""" class Cat(Pet): """Felis catus""" class Siamese(Cat): """Cat breed from Th...
17.244898
71
0.64142
111
845
4.792793
0.459459
0.135338
0.037594
0.052632
0.131579
0.131579
0.131579
0.131579
0.131579
0
0
0
0.222485
845
48
72
17.604167
0.809741
0.231953
0
0.3
0
0
0.020767
0
0
0
0
0
0
1
0.25
false
0
0.05
0.1
0.7
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
6ed3264e33320b355f0e4987a3d4f4c630f9405e
21,293
py
Python
terror.py
MJshah001/terrorism-data-anyaiysis-forsk
7e63136e9abb69eadfab9878422b14f8ad9d6207
[ "Apache-2.0" ]
null
null
null
terror.py
MJshah001/terrorism-data-anyaiysis-forsk
7e63136e9abb69eadfab9878422b14f8ad9d6207
[ "Apache-2.0" ]
null
null
null
terror.py
MJshah001/terrorism-data-anyaiysis-forsk
7e63136e9abb69eadfab9878422b14f8ad9d6207
[ "Apache-2.0" ]
null
null
null
import pandas as pd import dash from dash.dependencies import Input , Output import dash_core_components as dcc import dash_html_components as html import webbrowser import plotly.graph_objects as go import plotly.express as px app = dash.Dash() app.title = 'Terrorism Data Analysis' def load_data...
37.820604
179
0.384446
1,758
21,293
4.496018
0.146189
0.020876
0.030364
0.030364
0.354124
0.271635
0.250759
0.209388
0.198128
0.182313
0
0.007608
0.506176
21,293
563
180
37.820604
0.74408
0.011271
0
0.396714
0
0
0.129539
0
0
0
0
0
0
1
0.023474
false
0.035211
0.018779
0
0.058685
0.042254
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6ed326dad32e3a3a992602836a80c9376f577880
1,031
py
Python
memsql_loader/api/caller.py
yonglehou/memsql-loader
5e7bb5787991aa990889c4e709f63a3529544268
[ "MIT" ]
1
2021-05-10T03:37:26.000Z
2021-05-10T03:37:26.000Z
memsql_loader/api/caller.py
yonglehou/memsql-loader
5e7bb5787991aa990889c4e709f63a3529544268
[ "MIT" ]
null
null
null
memsql_loader/api/caller.py
yonglehou/memsql-loader
5e7bb5787991aa990889c4e709f63a3529544268
[ "MIT" ]
null
null
null
import re from memsql_loader.api.exceptions import ApiException from memsql_loader.api.jobs import Jobs from memsql_loader.api.job import Job from memsql_loader.api.tasks import Tasks from memsql_loader.api.task import Task APIS = [ Jobs, Job, Tasks, Task ] __underscorer1 = re.compile(r'(.)([A-Z][a-z]+)') __undersco...
29.457143
90
0.678952
151
1,031
4.417219
0.403974
0.074963
0.11994
0.142429
0
0
0
0
0
0
0
0.01199
0.191077
1,031
34
91
30.323529
0.78777
0.053346
0
0
0
0
0.062241
0
0
0
0
0
0
1
0.173913
false
0
0.26087
0.043478
0.608696
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
6edbfbc76a318bd54a58af2ff8113d617df7498f
399
py
Python
reader/migrations/0035_comic_licenses.py
Kadantte/comicake
205f327b920cbfdec86e57034d98a42f335d64ee
[ "ISC" ]
18
2018-05-01T04:56:37.000Z
2022-03-27T16:11:57.000Z
reader/migrations/0035_comic_licenses.py
Kadantte/comicake
205f327b920cbfdec86e57034d98a42f335d64ee
[ "ISC" ]
32
2018-06-08T06:29:35.000Z
2022-03-11T23:32:21.000Z
reader/migrations/0035_comic_licenses.py
Kadantte/comicake
205f327b920cbfdec86e57034d98a42f335d64ee
[ "ISC" ]
13
2018-04-25T20:14:01.000Z
2021-12-12T10:02:05.000Z
# Generated by Django 2.0.4 on 2018-04-15 05:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('reader', '0034_licensee'), ] operations = [ migrations.AddField( model_name='comic', name='licenses', fi...
21
75
0.596491
42
399
5.619048
0.809524
0
0
0
0
0
0
0
0
0
0
0.066202
0.280702
399
18
76
22.166667
0.756098
0.112782
0
0
1
0
0.133523
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
6ee0dabd73876e833ddb4e09d8fd4c55d119cd4d
1,069
py
Python
tests/cli_test.py
hall-lab/lah
2cb0bd5c053b32406b1c1cd17425ae742a068822
[ "MIT" ]
null
null
null
tests/cli_test.py
hall-lab/lah
2cb0bd5c053b32406b1c1cd17425ae742a068822
[ "MIT" ]
null
null
null
tests/cli_test.py
hall-lab/lah
2cb0bd5c053b32406b1c1cd17425ae742a068822
[ "MIT" ]
null
null
null
import click, os, unittest from click.testing import CliRunner from lah.cli import cli as lah_cli @click.command() def the_test_cmd(): print("Hello World!") lah_cli.add_command(the_test_cmd, "test") class CliTest(unittest.TestCase): def test_lah(self): runner = CliRunner() result = runner.in...
27.410256
86
0.645463
139
1,069
4.71223
0.345324
0.082443
0.164886
0.192366
0.467176
0.393893
0.351145
0.247328
0.247328
0.247328
0
0.007051
0.203929
1,069
38
87
28.131579
0.762632
0.07203
0
0.291667
0
0
0.072801
0
0
0
0
0
0.25
1
0.083333
false
0
0.125
0
0.25
0.041667
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
6ee348b852147a4081fbc13419d13bc2828cd670
576
py
Python
src/195_amount_of_elements_smaller_in_sorted_matrix.py
redfast00/daily-algorithm-challenge
3507164d5ec58abe68a6e820120625e100dee96c
[ "MIT" ]
null
null
null
src/195_amount_of_elements_smaller_in_sorted_matrix.py
redfast00/daily-algorithm-challenge
3507164d5ec58abe68a6e820120625e100dee96c
[ "MIT" ]
null
null
null
src/195_amount_of_elements_smaller_in_sorted_matrix.py
redfast00/daily-algorithm-challenge
3507164d5ec58abe68a6e820120625e100dee96c
[ "MIT" ]
null
null
null
def amount_of_elements_smaller(matrix, i, j): '''Count the amount of elements smaller than m[i][j] in the (square) matrix. Each column and row is sorted in ascending order. >>> amount_of_elements_smaller([[1, 2, 3], [4, 5, 6], [7, 8, 9]], 1, 1) 4 ''' size = len(matrix) assert size == len(ma...
28.8
80
0.545139
86
576
3.581395
0.5
0.077922
0.155844
0.224026
0
0
0
0
0
0
0
0.046154
0.322917
576
19
81
30.315789
0.74359
0.34375
0
0.153846
0
0
0
0
0
0
0
0
0.076923
1
0.076923
false
0
0
0
0.230769
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
6ee8d17471876cde17dd379e737ff4a22b1631b0
1,945
py
Python
attacking_queens/tests/test_placing_queens.py
schkolski/training_ground
530406bad558b87ffbaf2f699ee9eb76e96f3fb4
[ "MIT" ]
null
null
null
attacking_queens/tests/test_placing_queens.py
schkolski/training_ground
530406bad558b87ffbaf2f699ee9eb76e96f3fb4
[ "MIT" ]
null
null
null
attacking_queens/tests/test_placing_queens.py
schkolski/training_ground
530406bad558b87ffbaf2f699ee9eb76e96f3fb4
[ "MIT" ]
null
null
null
import unittest from attacking_queens.board import ChessBoard, WhiteQueen from attacking_queens.board import BlackQueen from attacking_queens.exceptions import BadQueenPlacementException class PlacingQueensTests(unittest.TestCase): def setUp(self): self.board = ChessBoard(size=5) def test_place_bla...
41.382979
82
0.759383
251
1,945
5.505976
0.175299
0.097685
0.081042
0.054993
0.723589
0.505065
0.358177
0.279305
0.212735
0
0
0.00798
0.162468
1,945
46
83
42.282609
0.840393
0
0
0.228571
0
0
0.00874
0
0
0
0
0
0.171429
1
0.228571
false
0
0.114286
0
0.371429
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
6ee9018d9736d3641b85fa164f429262d132c689
11,034
py
Python
mirari/mirari/views.py
gcastellan0s/mirariapp
24a9db06d10f96c894d817ef7ccfeec2a25788b7
[ "MIT" ]
null
null
null
mirari/mirari/views.py
gcastellan0s/mirariapp
24a9db06d10f96c894d817ef7ccfeec2a25788b7
[ "MIT" ]
18
2019-12-27T19:58:20.000Z
2022-02-27T08:17:49.000Z
mirari/mirari/views.py
gcastellan0s/mirariapp
24a9db06d10f96c894d817ef7ccfeec2a25788b7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.utils.translation import gettext as _ from .viewbase import * ############################################################################################### ############################################################################################### ######### TEMPLATE ##########...
54.088235
188
0.501903
874
11,034
6.125858
0.21968
0.032873
0.035861
0.03474
0.375047
0.344042
0.247105
0.212738
0.212738
0.212738
0
0.004029
0.19023
11,034
203
189
54.35468
0.595187
0.052202
0
0.309211
0
0.006579
0.13726
0.054125
0
0
0
0
0
1
0.072368
false
0.144737
0.013158
0.006579
0.434211
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
6eeb53a2b9a62604db18c0d1aaaf19c4746f8014
6,183
py
Python
Web Scraping (Beautiful Soup, Scrapy, Selenium)/Web Scraping_ Day92/StockX Scraper/Solution/1-url_scraper.py
pooja-gera/TheWireUsChallenge
18abb5ff3fd31b7dbfef41b8008f91d3fac029d3
[ "MIT" ]
null
null
null
Web Scraping (Beautiful Soup, Scrapy, Selenium)/Web Scraping_ Day92/StockX Scraper/Solution/1-url_scraper.py
pooja-gera/TheWireUsChallenge
18abb5ff3fd31b7dbfef41b8008f91d3fac029d3
[ "MIT" ]
null
null
null
Web Scraping (Beautiful Soup, Scrapy, Selenium)/Web Scraping_ Day92/StockX Scraper/Solution/1-url_scraper.py
pooja-gera/TheWireUsChallenge
18abb5ff3fd31b7dbfef41b8008f91d3fac029d3
[ "MIT" ]
1
2021-05-21T09:30:41.000Z
2021-05-21T09:30:41.000Z
import time import request import random import json from selenium import webdriver from selenium.common.exceptions import NoSuchElementException from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC ...
41.496644
164
0.508329
638
6,183
4.804075
0.352665
0.023491
0.025449
0.02447
0.174225
0.12137
0.070473
0.049592
0
0
0
0.029612
0.382824
6,183
149
165
41.496644
0.773585
0.118066
0
0.213675
0
0.017094
0.162705
0.046987
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.136752
0
0
0
null
0
0
0
0
0
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
42b57ffe374d803e200bd2ed6600c590c9c0322c
1,832
py
Python
opendht-2.1.4/tools/dhtproxy_stats.py
verified-network/verified-blockchain
667fd8154ad14c86209c4121d24b2465ce018f6d
[ "MIT" ]
null
null
null
opendht-2.1.4/tools/dhtproxy_stats.py
verified-network/verified-blockchain
667fd8154ad14c86209c4121d24b2465ce018f6d
[ "MIT" ]
null
null
null
opendht-2.1.4/tools/dhtproxy_stats.py
verified-network/verified-blockchain
667fd8154ad14c86209c4121d24b2465ce018f6d
[ "MIT" ]
null
null
null
import requests import time ts = time.time() stats_total = {"users":0, "pushListenersCount":0, "listenCount":0, "totalListeners":0, "totalPermanentPuts":0, "timestamp": str(ts)} for i in range(80,101): print("Collecting stats for proxy " + str(i)) response = requests.request('STATS', 'http://127.0.0.1:' + st...
33.925926
132
0.576965
189
1,832
5.497355
0.296296
0.103946
0.103946
0.032724
0.304139
0.227141
0.177093
0.059673
0
0
0
0.015789
0.274017
1,832
54
133
33.925926
0.765414
0.096616
0
0.384615
0
0
0.274879
0
0
0
0
0
0
1
0
false
0.128205
0.051282
0
0.051282
0.025641
0
0
0
null
0
0
0
0
0
0
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
42b6506852f02b8334fa1ac4b4f3c206b54fbc05
742
py
Python
openbook_communities/migrations/0020_auto_20190426_1847.py
TamaraAbells/okuna-api
f87d8e80d2f182c01dbce68155ded0078ee707e4
[ "MIT" ]
164
2019-07-29T17:59:06.000Z
2022-03-19T21:36:01.000Z
openbook_communities/migrations/0020_auto_20190426_1847.py
TamaraAbells/okuna-api
f87d8e80d2f182c01dbce68155ded0078ee707e4
[ "MIT" ]
188
2019-03-16T09:53:25.000Z
2019-07-25T14:57:24.000Z
openbook_communities/migrations/0020_auto_20190426_1847.py
TamaraAbells/okuna-api
f87d8e80d2f182c01dbce68155ded0078ee707e4
[ "MIT" ]
80
2019-08-03T17:49:08.000Z
2022-02-28T16:56:33.000Z
# Generated by Django 2.2 on 2019-04-26 16:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('openbook_communities', '0019_auto_20190426_1346'), ] operations = [ migrations.AlterField( model_name='communitylog', ...
39.052632
384
0.605121
83
742
5.325301
0.771084
0.045249
0
0
0
0
0
0
0
0
0
0.052277
0.200809
742
18
385
41.222222
0.693086
0.057951
0
0
1
0
0.365854
0.032999
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
42c03e3874ccb6c8d0d124e7e354fe13272b3888
1,345
py
Python
tests/test_Locus.py
jonahcullen/Camoco
2e95950f996329e27c00e5155e3768c0de9b8b7b
[ "MIT" ]
19
2017-12-20T16:25:44.000Z
2021-09-09T13:59:06.000Z
tests/test_Locus.py
jonahcullen/Camoco
2e95950f996329e27c00e5155e3768c0de9b8b7b
[ "MIT" ]
64
2015-02-13T15:51:48.000Z
2017-12-05T19:29:07.000Z
tests/test_Locus.py
jonahcullen/Camoco
2e95950f996329e27c00e5155e3768c0de9b8b7b
[ "MIT" ]
20
2018-04-01T03:42:12.000Z
2021-06-17T20:01:05.000Z
import pytest from itertools import chain from camoco import Locus from camoco.Config import cf @pytest.fixture def simple_Locus(): return Locus(1,100,200) @pytest.fixture def LocusX(): return Locus(1,100,200) @pytest.fixture def LocusY(): return Locus(1,300,400) def test_locus_initialization(simple...
26.372549
71
0.715985
192
1,345
4.859375
0.416667
0.07074
0.051447
0.038585
0.190782
0.072883
0.072883
0.072883
0
0
0
0.052536
0.179182
1,345
50
72
26.9
0.792572
0.070632
0
0.138889
0
0
0.000804
0
0
0
0
0
0.25
1
0.222222
false
0
0.111111
0.083333
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
42c0dfe6db17cdeabe03feb87ed8b3d4fddb473b
14,228
py
Python
grammar/parse.py
n0emis/silvius
47278d6b13ebc8a83c9ee86bd7ef7e15ca4aaaab
[ "BSD-2-Clause" ]
95
2015-12-09T13:03:23.000Z
2021-09-02T22:09:54.000Z
grammar/parse.py
n0emis/silvius
47278d6b13ebc8a83c9ee86bd7ef7e15ca4aaaab
[ "BSD-2-Clause" ]
32
2017-02-20T00:13:24.000Z
2020-09-07T03:09:13.000Z
grammar/parse.py
n0emis/silvius
47278d6b13ebc8a83c9ee86bd7ef7e15ca4aaaab
[ "BSD-2-Clause" ]
33
2016-07-27T09:55:31.000Z
2021-08-12T01:35:31.000Z
# Parser, based on John Aycock's SPARK examples from spark import GenericParser from spark import GenericASTBuilder from ast import AST class GrammaticalError(Exception): def __init__(self, string): self.string = string def __str__(self): return self.string class CoreParser(GenericParser): ...
30.336887
77
0.477158
1,336
14,228
4.866766
0.213323
0.055368
0.017994
0.024915
0.245771
0.197939
0.090434
0.070286
0.048754
0.048754
0
0.016673
0.405609
14,228
468
78
30.401709
0.752158
0.039078
0
0.228856
0
0
0.116977
0
0
0
0
0
0
0
null
null
0
0.014925
null
null
0.00995
0
0
0
null
0
0
0
0
0
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
42c1564c310862121acbfe6d715ead045440343a
861
py
Python
yu c.py
ParanoiaSYT/-Study
63de4116839d4e4dcf28d65d842512e5c24bf04c
[ "MIT" ]
2
2020-04-23T02:09:20.000Z
2020-05-04T16:38:39.000Z
yu c.py
ParanoiaSYT/-Study
63de4116839d4e4dcf28d65d842512e5c24bf04c
[ "MIT" ]
1
2020-05-03T19:19:23.000Z
2020-05-04T08:36:03.000Z
yu c.py
ParanoiaSYT/-Study
63de4116839d4e4dcf28d65d842512e5c24bf04c
[ "MIT" ]
null
null
null
# print('~~~~~~~~~~~~~我爱鱼C工作室~~~~~~~~~~~~~~~~') # temp=input("不妨猜一下小甲鱼想的数字:") # guess=int(temp) # if guess == 8: # print("卧槽,你是蛔虫吗") # print("哼,猜中也没有奖励") # else: # print("猜错了,现在想的是8") # print("游戏结束,不玩了") # teacher='小甲鱼' # print(teacher) # teacher='老甲鱼' # print(teacher) # first=3 # second=8 # third=first+se...
15.654545
47
0.584204
127
861
3.944882
0.511811
0.047904
0.035928
0.043912
0
0
0
0
0
0
0
0.024557
0.148664
861
55
48
15.654545
0.658936
0.670151
0
0
0
0
0.097561
0
0
0
0
0
0
1
0
false
0
0
0
0
0.416667
0
0
0
null
0
0
0
0
0
0
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
42c6edb3c762dc1079db466306c87bad36c3d162
1,557
py
Python
src/WatchDbg/core/watch.py
Tekiter/WatchDBG-IDA
063dcd2c2342d88c5d975ec23a2e1e1c8469562e
[ "MIT" ]
42
2019-05-28T01:08:24.000Z
2021-12-14T15:57:31.000Z
src/WatchDbg/core/watch.py
Tekiter/WatchDBG-IDA
063dcd2c2342d88c5d975ec23a2e1e1c8469562e
[ "MIT" ]
3
2021-05-14T13:15:20.000Z
2021-06-11T10:36:42.000Z
src/WatchDbg/core/watch.py
Tekiter/WatchDBG-IDA
063dcd2c2342d88c5d975ec23a2e1e1c8469562e
[ "MIT" ]
10
2019-06-02T15:23:40.000Z
2019-09-08T18:05:22.000Z
from WatchDbg.common import EventHandler NEXT_ID = 0 def get_next_id(): global NEXT_ID ret = NEXT_ID NEXT_ID += 1 return ret class WatchListItem(): nextid = 0 def __init__(self, address, wtype): self.address = address self.type = wtype self.name = "" self._i...
21.040541
51
0.575466
181
1,557
4.718232
0.259669
0.103045
0.056206
0.063232
0.215457
0.215457
0
0
0
0
0
0.002876
0.330122
1,557
73
52
21.328767
0.815916
0
0
0.185185
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.018519
0.055556
0.518519
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
42ca1a28414e5c0c717bd32c72b41390ffabaefa
214
py
Python
t1040.py
gbroiles/tax
1f0873db85a8ee489b991e9d129fd2395087b95a
[ "MIT" ]
null
null
null
t1040.py
gbroiles/tax
1f0873db85a8ee489b991e9d129fd2395087b95a
[ "MIT" ]
null
null
null
t1040.py
gbroiles/tax
1f0873db85a8ee489b991e9d129fd2395087b95a
[ "MIT" ]
null
null
null
""" modules for income tax """ # import datetime class TaxReturn: """ Tax return class """ def hello(self, x): print("hello ", x) print("Hi") taxreturn = TaxReturn() taxreturn.hello("monkey")
13.375
30
0.607477
25
214
5.2
0.64
0.092308
0
0
0
0
0
0
0
0
0
0
0.228972
214
15
31
14.266667
0.787879
0.271028
0
0
0
0
0.097902
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0.333333
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
42d3a1a49542950491987e70c72a1216025ab101
2,756
py
Python
python-code/pub-iss.py
raspberryvalley/arthur-remix
a39b2a44392251529d0d686bbbdb9d7ed8266a90
[ "MIT" ]
null
null
null
python-code/pub-iss.py
raspberryvalley/arthur-remix
a39b2a44392251529d0d686bbbdb9d7ed8266a90
[ "MIT" ]
null
null
null
python-code/pub-iss.py
raspberryvalley/arthur-remix
a39b2a44392251529d0d686bbbdb9d7ed8266a90
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ MQTT sender, which sends countdown information for ISS (international space station) until it is overhead. This Python 3 code uses the **iss_overhead** class to forecast, when ISS is overhead, by providing coordinates for a given location. See the **iss_overhead** documentation for more det...
33.204819
156
0.695936
345
2,756
5.457971
0.431884
0.066915
0.02974
0.030271
0.101434
0.081784
0.081784
0.081784
0.081784
0.081784
0
0.000862
0.1582
2,756
82
157
33.609756
0.810776
0.370464
0
0.051282
0
0
0.187611
0
0
0
0
0
0
1
0.025641
false
0.076923
0.153846
0
0.179487
0.128205
0
0
0
null
0
0
0
0
0
0
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
42db27039ac33ad068bf81d2368ee645b7a0ca9d
573
py
Python
image-metadata/init/read.py
dstreev/docker-hortonworks
979da22d3dd785102596160862b5e74ccb8b4fd0
[ "Apache-2.0" ]
2
2017-06-16T04:36:27.000Z
2020-03-30T18:01:23.000Z
image-metadata/init/read.py
dstreev/docker-hortonworks
979da22d3dd785102596160862b5e74ccb8b4fd0
[ "Apache-2.0" ]
1
2017-03-28T12:26:04.000Z
2017-03-28T12:26:04.000Z
image-metadata/init/read.py
dstreev/docker-hortonworks
979da22d3dd785102596160862b5e74ccb8b4fd0
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import sys one_image="" #file_num=0 from subprocess import Popen, PIPE for line in sys.stdin: if line.strip() != "BBBBBB": one_image=one_image+line else: #print "==================" #print "Done with file num %d" % file_num #print "==================" #file =...
27.285714
69
0.560209
76
573
4.092105
0.486842
0.135048
0.102894
0.135048
0
0
0
0
0
0
0
0.01139
0.233857
573
21
70
27.285714
0.697039
0.387435
0
0
0
0
0.069971
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
42dfeb2cb33928415667c2377971880703f869ec
1,104
py
Python
coursera-26.py
raychorn/python_coursera
99be4669a18aa3bfc31887725dca869eb8bf892f
[ "CC0-1.0" ]
null
null
null
coursera-26.py
raychorn/python_coursera
99be4669a18aa3bfc31887725dca869eb8bf892f
[ "CC0-1.0" ]
null
null
null
coursera-26.py
raychorn/python_coursera
99be4669a18aa3bfc31887725dca869eb8bf892f
[ "CC0-1.0" ]
null
null
null
import re def convert_phone_number(phone): result = phone print(phone) results = re.search(r'(\d{3}[-| ]\d{3}[-| ]\d{4}|[+]?\d{1,3}[-| ]?\d{3}[-| ]\d{3}[-| ]\d{4}|\d{10,11})', phone) if (results): print(results.groups()) toks = re.split(r'[ -]', results.groups()[0]) #result = pho...
61.333333
184
0.593297
170
1,104
3.794118
0.276471
0.11938
0.139535
0.093023
0.567442
0.505426
0.443411
0.421705
0.421705
0.421705
0
0.128233
0.15942
1,104
18
185
61.333333
0.56681
0.270833
0
0
0
0.0625
0.277154
0.026217
0
0
0
0
0
1
0.0625
false
0
0.0625
0
0.1875
0.5
0
0
0
null
0
0
0
0
0
0
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
42e2dc58218c21d3dff2d40e5915f4daa0b0d078
5,415
py
Python
Team_of_the_year.py
Ayushshah2023/FantasyFootballEPL
cc4b15fcf2a9bd799e67b83d093d10343f3a77b3
[ "Apache-2.0" ]
2
2020-06-24T12:38:11.000Z
2021-07-30T15:10:49.000Z
Team_of_the_year.py
Ayushshah2023/FantasyFootballEPL
cc4b15fcf2a9bd799e67b83d093d10343f3a77b3
[ "Apache-2.0" ]
null
null
null
Team_of_the_year.py
Ayushshah2023/FantasyFootballEPL
cc4b15fcf2a9bd799e67b83d093d10343f3a77b3
[ "Apache-2.0" ]
null
null
null
import pandas as pd import numpy as np data=pd.read_csv('england-premier-league-players-2018-to-2019-stats.csv') #print(data) #print(list(data.columns)) data_we_need=data[["full_name","position","Current Club","appearances_overall","goals_overall","assists_overall","penalty_goals","penalty_misses", 'clean_sheets...
44.752066
327
0.751801
690
5,415
5.64058
0.123188
0.055498
0.025694
0.039054
0.688078
0.688078
0.594553
0.565776
0.520555
0.486125
0
0.018298
0.071468
5,415
120
328
45.125
0.755768
0.291597
0
0.285714
0
0
0.270416
0.014332
0
0
0
0
0
1
0.057143
false
0
0.028571
0.057143
0.142857
0.442857
0
0
0
null
0
0
0
0
0
0
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
42fd042496e135a96152af9e8db969c2fd7ec1af
42,608
py
Python
train_pipeline.py
MelleVessies/orconvqa-release_clone
36682dbe026c5e7fb5e77f4732281ee1082ab3f5
[ "MIT" ]
null
null
null
train_pipeline.py
MelleVessies/orconvqa-release_clone
36682dbe026c5e7fb5e77f4732281ee1082ab3f5
[ "MIT" ]
null
null
null
train_pipeline.py
MelleVessies/orconvqa-release_clone
36682dbe026c5e7fb5e77f4732281ee1082ab3f5
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # In[1]: from __future__ import absolute_import, division, print_function # import os # os.environ["CUDA_DEVICE_ORDER"]="PCI_BUS_ID" # os.environ["CUDA_VISIBLE_DEVICES"]="1,2" from stdargparser import StdArgparser import logging import os import platform import random import g...
44.29106
151
0.65483
5,369
42,608
4.899236
0.124232
0.018818
0.014332
0.007413
0.500038
0.428452
0.385683
0.338428
0.29832
0.268058
0
0.006144
0.255116
42,608
961
152
44.337149
0.822642
0.133097
0
0.269289
0
0.001513
0.079259
0.008135
0
0
0
0.001041
0.003026
1
0.018154
false
0.080182
0.05295
0.001513
0.089259
0.003026
0
0
0
null
0
0
0
0
0
0
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
42fe63455df5de1ca40bae69e976b9dee9dec218
180
py
Python
demo/3/1/phonebook.py
nimishbongale/AutomazionePython
10cb71e9e663a0bceed1cfae583a07d2a6deb0d3
[ "MIT" ]
1
2020-09-26T11:27:25.000Z
2020-09-26T11:27:25.000Z
demo/3/1/phonebook.py
nimishbongale/AutomazionePython
10cb71e9e663a0bceed1cfae583a07d2a6deb0d3
[ "MIT" ]
1
2019-02-28T18:35:40.000Z
2019-03-10T17:22:42.000Z
demo/3/1/phonebook.py
nimishbongale/AutomazionePython
10cb71e9e663a0bceed1cfae583a07d2a6deb0d3
[ "MIT" ]
null
null
null
info = open("phonebook.txt", "r+").readlines() ph = {} for i in range(len(info)): word = info[i].split() ph[word[0]]=word[1] for i in sorted(ph.keys()): print(i,ph[i])
22.5
46
0.572222
32
180
3.21875
0.59375
0.07767
0.116505
0
0
0
0
0
0
0
0
0.013514
0.177778
180
8
47
22.5
0.682432
0
0
0
0
0
0.082873
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
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
6e021cb6c09d9250c357a689c1411812081f974e
410
py
Python
01_10/day-3/assignments/2-roller-coaster-1.py
srakhe/100-days-py
4d99ab35eb1376d2f8722c42e0bf98acc18fba20
[ "MIT" ]
null
null
null
01_10/day-3/assignments/2-roller-coaster-1.py
srakhe/100-days-py
4d99ab35eb1376d2f8722c42e0bf98acc18fba20
[ "MIT" ]
null
null
null
01_10/day-3/assignments/2-roller-coaster-1.py
srakhe/100-days-py
4d99ab35eb1376d2f8722c42e0bf98acc18fba20
[ "MIT" ]
null
null
null
print("Welcome to the roller coaster!") height = int(input("What is your height in cm? ")) canRide = False if height > 120: age = int(input("What is your age in years? ")) if age > 18: canRide = True else: canRide = False else: canRide = False if canRide: print('You can r...
25.625
55
0.612195
58
410
4.327586
0.482759
0.10757
0.191235
0.111554
0.143426
0
0
0
0
0
0
0.017007
0.282927
410
15
56
27.333333
0.836735
0
0
0.4
0
0
0.397468
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
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
6e0775dd85e713d415ddbfdaa64b28bda37a5917
826
py
Python
matplotlib-3.4.3/matplotlib-3.4.3/examples/widgets/multicursor.py
JohnLauFoo/clc_packages_Yu
259f01d9b5c02154ce258734d519ae8995cd0991
[ "MIT" ]
1
2021-11-13T17:21:44.000Z
2021-11-13T17:21:44.000Z
matplotlib-3.4.3/matplotlib-3.4.3/examples/widgets/multicursor.py
JohnLauFoo/clc_packages_Yu
259f01d9b5c02154ce258734d519ae8995cd0991
[ "MIT" ]
null
null
null
matplotlib-3.4.3/matplotlib-3.4.3/examples/widgets/multicursor.py
JohnLauFoo/clc_packages_Yu
259f01d9b5c02154ce258734d519ae8995cd0991
[ "MIT" ]
null
null
null
""" =========== Multicursor =========== Showing a cursor on multiple plots simultaneously. This example generates two subplots and on hovering the cursor over data in one subplot, the values of that datapoint are shown in both respectively. """ import numpy as np import matplotlib.pyplot as plt from matplotlib.widget...
24.294118
79
0.627119
118
826
4.389831
0.59322
0.042471
0.019305
0
0
0
0
0
0
0
0
0.029787
0.146489
826
33
80
25.030303
0.704965
0.485472
0
0
1
0
0.002994
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6e155e482ed2131f7c4b4c5cc21e7dee04222cd2
1,678
py
Python
versions/1.1.3/blog/views/account/login_view.py
mnp-fuf/django-bona-blog
ca9afd301345ece8074ccb696959feb6b8ca14b3
[ "MIT" ]
92
2020-07-08T05:24:53.000Z
2022-03-16T05:53:47.000Z
versions/1.1.3/blog/views/account/login_view.py
mnp-fuf/django-bona-blog
ca9afd301345ece8074ccb696959feb6b8ca14b3
[ "MIT" ]
9
2020-07-12T15:16:52.000Z
2022-03-12T09:48:10.000Z
versions/1.1.3/blog/views/account/login_view.py
mnp-fuf/django-bona-blog
ca9afd301345ece8074ccb696959feb6b8ca14b3
[ "MIT" ]
45
2020-07-10T09:20:45.000Z
2022-03-19T18:53:18.000Z
# Django imports. from django.contrib.auth import authenticate, login from django.contrib import messages from django.shortcuts import render, redirect from django.views.generic import View # Blog app imports from blog.forms.account.login_forms import UserLoginForm class UserLoginView(View): """ Logs author...
33.56
81
0.614422
177
1,678
5.723164
0.355932
0.044423
0.056269
0.068115
0.254689
0.254689
0.19151
0.19151
0.19151
0.140178
0
0
0.296782
1,678
49
82
34.244898
0.858475
0.036353
0
0.166667
0
0
0.165414
0
0
0
0
0
0
1
0.066667
false
0.2
0.166667
0.033333
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
6e193a7595161137559ea2db0e33f9c9bc4cff82
15,335
py
Python
backwardAlgorithm.py
Skar0/generalizedparity
a29e08a637d8a957bc795f0bd93e5f8c420120f9
[ "BSD-4-Clause-UC" ]
null
null
null
backwardAlgorithm.py
Skar0/generalizedparity
a29e08a637d8a957bc795f0bd93e5f8c420120f9
[ "BSD-4-Clause-UC" ]
null
null
null
backwardAlgorithm.py
Skar0/generalizedparity
a29e08a637d8a957bc795f0bd93e5f8c420120f9
[ "BSD-4-Clause-UC" ]
null
null
null
from antichain import Antichain import copy """ This file contains the implementation of the symbolic algorithm to solve parity games via safety games. The implementation contains the algorithm with the point of view of player 1 (counters for odd priorities) and for player 2 (counters for even priorities). """ def i...
30.068627
191
0.617216
1,923
15,335
4.783151
0.121685
0.055447
0.023483
0.030441
0.739509
0.707328
0.662209
0.645575
0.613612
0.596869
0
0.020365
0.282752
15,335
510
192
30.068627
0.815892
0.217802
0
0.306569
0
0
0.053688
0.004049
0
0
0
0.001961
0
1
0.065693
false
0
0.021898
0
0.20438
0.080292
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
6e1e74bdfc4aaf16aa19f05f51af18b8b6d7cf4d
875
py
Python
sparse_causal_model_learner_rl/config/test_config.py
sergeivolodin/causality-disentanglement-rl
5a41b4a2e3d85fa7e9c8450215fdc6cf954df867
[ "CC0-1.0" ]
2
2020-12-11T05:26:24.000Z
2021-04-21T06:12:58.000Z
sparse_causal_model_learner_rl/config/test_config.py
sergeivolodin/causality-disentanglement-rl
5a41b4a2e3d85fa7e9c8450215fdc6cf954df867
[ "CC0-1.0" ]
9
2020-04-30T16:29:50.000Z
2021-03-26T07:32:18.000Z
sparse_causal_model_learner_rl/config/test_config.py
sergeivolodin/causality-disentanglement-rl
5a41b4a2e3d85fa7e9c8450215fdc6cf954df867
[ "CC0-1.0" ]
null
null
null
import gin from sparse_causal_model_learner_rl.config import Config @gin.configurable def gin_function(x): return x def test_config_create(): c = Config() assert c.config == {c.GIN_KEY: {}} def test_config_get(): c = Config(config={'a': 123}) assert c.config['a'] == 123 ...
21.875
70
0.621714
127
875
4.047244
0.244094
0.136187
0.126459
0.108949
0.217899
0.159533
0.081712
0
0
0
0
0.048889
0.228571
875
39
71
22.435897
0.712593
0
0
0.16
0
0
0.026316
0
0
0
0
0
0.24
1
0.28
false
0
0.08
0.04
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
6e209e3551d12b2c87a8ca841c61cfdeffc395d7
528
py
Python
object-oriented-programming/src/oop-inheritance-multilevel.py
giserh/book-python
ebd4e70cea1dd56986aa8efbae3629ba3f1ba087
[ "MIT" ]
1
2019-01-02T15:04:08.000Z
2019-01-02T15:04:08.000Z
object-oriented-programming/src/oop-inheritance-multilevel.py
giserh/book-python
ebd4e70cea1dd56986aa8efbae3629ba3f1ba087
[ "MIT" ]
null
null
null
object-oriented-programming/src/oop-inheritance-multilevel.py
giserh/book-python
ebd4e70cea1dd56986aa8efbae3629ba3f1ba087
[ "MIT" ]
null
null
null
class Pilot: current_job = 'Pilot' def __init__(self, name): self.name = name def say_hallo(self): print(f'My name... {self.name}') class CosmonautPilot(Pilot): current_job = 'Cosmonaut' previous_job = 'Pilot' class GieroyCosmonautPilot(CosmonautPilot): status = 'Gieroy' ...
20.307692
55
0.649621
58
528
5.724138
0.396552
0.090361
0.090361
0
0
0
0
0
0
0
0
0
0.242424
528
25
56
21.12
0.83
0.098485
0
0
0
0
0.127389
0
0
0
0
0
0
1
0.125
false
0
0
0
0.5625
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6e2442f22b5aec39120a2b4c171a96a3fcad428e
3,276
py
Python
tests/test_main.py
magarnicle/tsunami-scp
71a9018204c40e1eff7ea769b549b98db7f46350
[ "xpp" ]
null
null
null
tests/test_main.py
magarnicle/tsunami-scp
71a9018204c40e1eff7ea769b549b98db7f46350
[ "xpp" ]
null
null
null
tests/test_main.py
magarnicle/tsunami-scp
71a9018204c40e1eff7ea769b549b98db7f46350
[ "xpp" ]
null
null
null
import unittest import subprocess import tsunami_scp.__main__ as tsu class TestStartServer(unittest.TestCase): def setUp(self): tsu.TSUNAMI_PATH = None self.test_file_path = '/tmp/test_file.txt' with open(self.test_file_path, 'w+') as test_file: test_file.write('a') def te...
29.25
90
0.611722
400
3,276
4.905
0.26
0.020387
0.041284
0.04893
0.38787
0.247706
0.229358
0.158002
0.092253
0.050968
0
0.021482
0.303724
3,276
111
91
29.513514
0.838667
0.28663
0
0.507463
0
0
0.059904
0.020988
0
0
0
0
0.164179
1
0.164179
false
0.059701
0.044776
0
0.238806
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
6e249501489bcde01d6ff968e0e87fe584789514
3,075
py
Python
FingerDetection.py
titos-carrasco/mediapipe_tests
92d4ce2093c5bae43af7becf511cc7c3d7ef8be0
[ "MIT" ]
null
null
null
FingerDetection.py
titos-carrasco/mediapipe_tests
92d4ce2093c5bae43af7becf511cc7c3d7ef8be0
[ "MIT" ]
null
null
null
FingerDetection.py
titos-carrasco/mediapipe_tests
92d4ce2093c5bae43af7becf511cc7c3d7ef8be0
[ "MIT" ]
null
null
null
import cv2 import mediapipe as mp import json import paho.mqtt.client as paho import time def main( video_port, # el dispositivo de captura video_width, # ancho de la imagen video_height, # alto de la imagn mqtt_server, # servidor MQTT mqtt_port, # pue...
34.550562
89
0.548293
374
3,075
4.385027
0.435829
0.036585
0.02439
0.036585
0.064634
0.05122
0
0
0
0
0
0.026221
0.36748
3,075
88
90
34.943182
0.816967
0.219512
0
0
0
0
0.014322
0
0
0
0.001685
0.011364
0
1
0.016949
false
0
0.084746
0
0.101695
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
6e295cf5d038ebda397c46a2a8666761e787b6a2
7,365
py
Python
src/message.py
zloh/roll20-log-parser
e70e1dbe15e4091bf0eb211e161770331b853a19
[ "MIT" ]
null
null
null
src/message.py
zloh/roll20-log-parser
e70e1dbe15e4091bf0eb211e161770331b853a19
[ "MIT" ]
null
null
null
src/message.py
zloh/roll20-log-parser
e70e1dbe15e4091bf0eb211e161770331b853a19
[ "MIT" ]
null
null
null
from datetime import datetime, timezone from roll import AbilityRoll, DamageRoll, DiceRoll, SimpleRoll, parse_roll_content import re # TODO: refactor classes into some kind of parent-child relationship once we've established a reasonable # inheritance model def parse_attack_name(content): attack_name_patterns = (...
43.070175
112
0.662729
902
7,365
5.238359
0.176275
0.07619
0.071111
0.050794
0.677884
0.644021
0.635132
0.635132
0.604021
0.604021
0
0.005706
0.2148
7,365
170
113
43.323529
0.811344
0.120163
0
0.6
0
0.016667
0.12508
0.033162
0
0
0
0.005882
0
1
0.175
false
0
0.025
0.1
0.4
0.083333
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
6e299b024bc156d78ca2eb303166ef2df4672460
714
py
Python
features/steps/cli_steps.py
allena29/pyunittest-cli
0f2a427ff5e3ae87fa69cb81342b34859bfb0f8f
[ "Apache-2.0" ]
null
null
null
features/steps/cli_steps.py
allena29/pyunittest-cli
0f2a427ff5e3ae87fa69cb81342b34859bfb0f8f
[ "Apache-2.0" ]
null
null
null
features/steps/cli_steps.py
allena29/pyunittest-cli
0f2a427ff5e3ae87fa69cb81342b34859bfb0f8f
[ "Apache-2.0" ]
null
null
null
from behave import given, when, then, step import pexpect @when("we open the cli with a directory '{dirname}'") def step_impl(context, dirname): context.cli_child = pexpect.spawn ('./tester.py %s' % (dirname)) @then("we should see the prompt '{prompt}'") def step_impl(context, prompt): try: context.cl...
32.454545
83
0.662465
105
714
4.447619
0.438095
0.044968
0.070664
0.115632
0.342612
0.342612
0.342612
0.342612
0.342612
0.342612
0
0.005245
0.19888
714
21
84
34
0.811189
0
0
0.444444
0
0
0.254902
0
0
0
0
0
0.111111
1
0.166667
false
0.055556
0.111111
0
0.277778
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
6e31095858ecb24c443e18b0c98cd0ab1237aba0
293
py
Python
EX023.py
gjaosdij/PythonProject
ae27990efa93462b632f165d13c08c7fd93beb38
[ "MIT" ]
null
null
null
EX023.py
gjaosdij/PythonProject
ae27990efa93462b632f165d13c08c7fd93beb38
[ "MIT" ]
null
null
null
EX023.py
gjaosdij/PythonProject
ae27990efa93462b632f165d13c08c7fd93beb38
[ "MIT" ]
null
null
null
n = int(input('Informe um número entre 0 e 9999: ').strip()) u = n // 1 % 10 d = n // 10 % 10 c = n // 100 % 10 m = n // 1000 % 10 print(f'Analisando o número {n}...') print('Unidade: {}'.format(u)) print('Dezena: {}'.format(d)) print('Centena: {}'.format(c)) print('Milhar: {}'.format(m))
20.928571
60
0.559727
49
293
3.346939
0.571429
0
0
0
0
0
0
0
0
0
0
0.095833
0.180887
293
13
61
22.538462
0.5875
0
0
0
0
0
0.348123
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
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
6e32eda7194cf3bc911c351a37d999c4eccbee56
447
py
Python
03_basic_data_types_challenges/12_temp_conventer.py
r7asmu7s/art_of_doing_python
62a03bcca084046c319976fc308bf3de3a2d412d
[ "Unlicense" ]
null
null
null
03_basic_data_types_challenges/12_temp_conventer.py
r7asmu7s/art_of_doing_python
62a03bcca084046c319976fc308bf3de3a2d412d
[ "Unlicense" ]
null
null
null
03_basic_data_types_challenges/12_temp_conventer.py
r7asmu7s/art_of_doing_python
62a03bcca084046c319976fc308bf3de3a2d412d
[ "Unlicense" ]
null
null
null
print('Welcom to the Temperature Conventer.') fahrenheit = float(input('\nWhat is the given temperature in Fahrenheit degrees? ')) celsius = (fahrenheit - 32) * 5 / 9 celsius = round(celsius, 4) kelvin = (fahrenheit + 569.67) * 5 / 9 kelvin = round(kelvin, 4) print('\nThe given temperature is equal to:') print('\nFahr...
40.636364
84
0.697987
61
447
5.114754
0.459016
0.076923
0.105769
0
0
0
0
0
0
0
0
0.034121
0.147651
447
11
85
40.636364
0.784777
0
0
0
0
0
0.426339
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
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
6e3718699412f7095ac78ea71ecacab7c28b3247
611
py
Python
lib/nibLib/__init__.py
jenskutilek/nibLib
7d0880828f46c05dd2512463c02e8f9728c13027
[ "MIT" ]
11
2020-01-21T13:18:07.000Z
2020-12-13T20:57:28.000Z
lib/nibLib/__init__.py
jenskutilek/nibLib
7d0880828f46c05dd2512463c02e8f9728c13027
[ "MIT" ]
1
2020-01-21T14:40:46.000Z
2020-01-21T17:13:54.000Z
lib/nibLib/__init__.py
jenskutilek/nibLib
7d0880828f46c05dd2512463c02e8f9728c13027
[ "MIT" ]
null
null
null
from __future__ import division, print_function DEBUG = False DEBUG_CENTER_POINTS = False DEBUG_CURVE_POINTS = False # DEBUG_SEGMENTS = False # Defaults keys extensionID = "de.kutilek.NibSimulator" rf_guide_key = "%s.%s" % (extensionID, "guide_glyph") def_angle_key = "%s.%s" % (extensionID, "angle") def_width_...
32.157895
55
0.682488
82
611
4.756098
0.365854
0.082051
0.102564
0.328205
0.133333
0.133333
0
0
0
0
0
0
0.140753
611
18
56
33.944444
0.742857
0.05892
0
0
0
0
0.192308
0.04021
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.076923
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
6e39d3d4dcd6787a0810b78cbe282e10fefbc05a
309
py
Python
lang/py/cookbook/v2/source/cb2_1_18_exm_2.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_1_18_exm_2.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_1_18_exm_2.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
if __name__ == "__main__": text = "Larry Wall is the creator of Perl" adict = { "Larry Wall" : "Guido van Rossum", "creator" : "Benevolent Dictator for Life", "Perl" : "Python", } print multiple_replace(text, adict) translate = make_xlat(adict) print translate(text)
28.090909
49
0.614887
36
309
5
0.722222
0.1
0
0
0
0
0
0
0
0
0
0
0.265372
309
10
50
30.9
0.792952
0
0
0
0
0
0.36246
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6e402075fc269469041bbc77ca36fbf06d94f048
1,664
py
Python
apps/cooggerapp/models/userextra.py
coogger/coogger
9e5e3ca172d8a14272948284a6822000b119119c
[ "MIT" ]
48
2018-04-13T13:00:10.000Z
2020-03-17T23:35:23.000Z
apps/cooggerapp/models/userextra.py
coogger/coogger
9e5e3ca172d8a14272948284a6822000b119119c
[ "MIT" ]
77
2018-03-25T13:17:12.000Z
2020-08-11T08:24:49.000Z
apps/cooggerapp/models/userextra.py
coogger/coogger
9e5e3ca172d8a14272948284a6822000b119119c
[ "MIT" ]
35
2018-03-30T21:43:21.000Z
2020-08-11T05:51:46.000Z
from django.contrib.auth.models import User from django.db import models from django.utils.translation import gettext as _ from apps.cooggerapp.choices import FOLLOW, TITLES, make_choices class OtherAddressesOfUsers(models.Model): "maybe ManyToManyField in UserProfile" choices = models.CharField( bla...
27.733333
85
0.629808
180
1,664
5.627778
0.427778
0.044423
0.051333
0.067127
0.080948
0.080948
0.080948
0.080948
0
0
0
0.007371
0.266226
1,664
59
86
28.20339
0.822277
0.03125
0
0.269231
0
0
0.175364
0.014563
0
0
0
0.016949
0
1
0.038462
false
0
0.076923
0.038462
0.346154
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
6e4486b41ee065ad01a49fa7de07764b5906b8cf
514
py
Python
tests/test_presenter/test_simple.py
LeeHanYeong/django-query-capture
d95c2a838c38a65ea494193a896ec9d2df8ee881
[ "MIT" ]
62
2022-01-18T11:11:00.000Z
2022-03-31T22:48:45.000Z
tests/test_presenter/test_simple.py
LeeHanYeong/django-query-capture
d95c2a838c38a65ea494193a896ec9d2df8ee881
[ "MIT" ]
46
2022-01-15T03:28:40.000Z
2022-03-31T13:38:21.000Z
tests/test_presenter/test_simple.py
LeeHanYeong/django-query-capture
d95c2a838c38a65ea494193a896ec9d2df8ee881
[ "MIT" ]
4
2022-01-20T04:48:33.000Z
2022-03-25T13:21:45.000Z
from django.test import TestCase, override_settings from news.models import Reporter from test_presenter.utils import ConsoleOutputTestCaseMixin from django_query_capture import query_capture @override_settings( QUERY_CAPTURE={"PRESENTER": "django_query_capture.presenter.SimplePresenter"} ) class PrettyPresenter...
34.266667
81
0.791829
62
514
6.354839
0.580645
0.152284
0.091371
0
0
0
0
0
0
0
0
0.002232
0.128405
514
14
82
36.714286
0.877232
0
0
0
0
0
0.126459
0.089494
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.545455
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
280b71414c3773e0a8db0495b9774ab3ed8b938e
8,506
py
Python
homeauto/admin.py
7ooL/web_home_auto
66d1a96359154a2a8015fb8ebfabfedcf38f69a9
[ "MIT" ]
null
null
null
homeauto/admin.py
7ooL/web_home_auto
66d1a96359154a2a8015fb8ebfabfedcf38f69a9
[ "MIT" ]
8
2020-12-30T17:41:41.000Z
2021-01-24T19:16:54.000Z
homeauto/admin.py
7ooL/HomeAuto
66d1a96359154a2a8015fb8ebfabfedcf38f69a9
[ "MIT" ]
null
null
null
from django.contrib.admin import AdminSite class MyAdminSite(AdminSite): def index(self, request, extra_context=None): all_users= User.objects.all() extra_context = extra_context or {"all_users":all_users } # print(extra_context) return super(MyAdminSite, self).index(request, extra...
42.53
183
0.718904
1,024
8,506
5.779297
0.210938
0.027374
0.034471
0.037175
0.395404
0.342683
0.3317
0.275769
0.206827
0.198209
0
0.001924
0.144486
8,506
199
184
42.743719
0.811323
0.057371
0
0.267717
0
0
0.183463
0.010013
0
0
0
0
0
1
0.070866
false
0
0.07874
0.007874
0.645669
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
2810b551fa224cb6c4dd6af624a964df034b1aa5
5,961
py
Python
spider/spider.py
endereye/SevenLema
2bf330f4b787e8747d3e848475a08a12aad39257
[ "Apache-2.0" ]
5
2020-07-09T07:35:25.000Z
2021-06-13T12:02:16.000Z
spider/spider.py
RickWayne1125/SevenLema
2bf330f4b787e8747d3e848475a08a12aad39257
[ "Apache-2.0" ]
null
null
null
spider/spider.py
RickWayne1125/SevenLema
2bf330f4b787e8747d3e848475a08a12aad39257
[ "Apache-2.0" ]
4
2020-07-09T07:35:26.000Z
2021-02-21T01:51:26.000Z
import json import math import re import requests # Algorithm to decode China coordinates to real longitude and latitude. # Provided by https: // blog.csdn.net / goodnew / article / details / 82622817. x_PI = 3.14159265358979324 * 3000.0 / 180.0 PI = 3.1415926535897932384626 a = 6378245.0 ee = 0.006693421622965943...
36.570552
1,148
0.606274
802
5,961
4.381546
0.356608
0.023904
0.031873
0.017075
0.217416
0.184974
0.137166
0.113261
0.113261
0.091633
0
0.175442
0.232176
5,961
162
1,149
36.796296
0.592309
0.040933
0
0.263158
0
0.015038
0.337826
0.192718
0
0
0
0
0
1
0.067669
false
0
0.030075
0
0.180451
0.007519
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
281aafeded6a687b61d16d4b9b16fba077033549
324
py
Python
examples/two_vessels/config/_call_executibles.py
CancerModeling/Angiogenesis3D1D
77527d3facd127e225ccb9e53874ddbba2096744
[ "BSL-1.0" ]
2
2021-11-02T07:49:33.000Z
2021-11-16T15:47:40.000Z
examples/two_vessels/config/_call_executibles.py
CancerModeling/Angiogenesis3D1D
77527d3facd127e225ccb9e53874ddbba2096744
[ "BSL-1.0" ]
null
null
null
examples/two_vessels/config/_call_executibles.py
CancerModeling/Angiogenesis3D1D
77527d3facd127e225ccb9e53874ddbba2096744
[ "BSL-1.0" ]
null
null
null
import os def call_executibles(dps, run_screen=True): print('calling executible ... ') for i,dp in enumerate(dps): run_screen = 1 if run_screen else 0 # 1 - true, 0 - false os.system('./run.sh ' + dp.model_name + ' ' + dp.run_path + ' ' + str(dp.n_mpi) + ' ' + str(run_screen) + ' ' + dp.pp_ta...
32.4
130
0.589506
50
324
3.64
0.64
0.197802
0.131868
0
0
0
0
0
0
0
0
0.016327
0.243827
324
9
131
36
0.726531
0.058642
0
0
0
0
0.119205
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0.166667
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
281ad1447efd140a7033a27621413955dd845695
1,455
py
Python
public/shader/220207_1651.py
pome-ta/soundShader4twigl
abdb42fbda96981e8c2d71696f4f76049796ffad
[ "MIT" ]
null
null
null
public/shader/220207_1651.py
pome-ta/soundShader4twigl
abdb42fbda96981e8c2d71696f4f76049796ffad
[ "MIT" ]
null
null
null
public/shader/220207_1651.py
pome-ta/soundShader4twigl
abdb42fbda96981e8c2d71696f4f76049796ffad
[ "MIT" ]
null
null
null
#define BPM 180.0 const float PI = acos(-1.0); const float TAU = PI * 2.0; /* sound common */ float timeToBeat(float t) {return t / 60.0 * BPM;} float beatToTime(float b) {return b / BPM * 60.0;} float fm(float t, float f, float i, float r){ return sin(TAU * f * t + i * sin(TAU * f * t * r)); } // 音程 float calf(...
23.852459
56
0.593127
273
1,455
3.07326
0.241758
0.085816
0.064362
0.104887
0.388558
0.302741
0.092968
0.092968
0
0
0
0.105217
0.22268
1,455
60
57
24.25
0.636605
0.010997
0
0.044444
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
281d6da599511f209ae49119d553f4144f95de7f
442
py
Python
plugins/redacted/migrations/0007_auto_20190322_1030.py
2600box/harvest
57264c15a3fba693b4b58d0b6d4fbf4bd5453bbd
[ "Apache-2.0" ]
9
2019-03-26T14:50:00.000Z
2020-11-10T16:44:08.000Z
plugins/redacted/migrations/0007_auto_20190322_1030.py
2600box/harvest
57264c15a3fba693b4b58d0b6d4fbf4bd5453bbd
[ "Apache-2.0" ]
22
2019-03-02T23:16:13.000Z
2022-02-27T10:36:36.000Z
plugins/redacted/migrations/0007_auto_20190322_1030.py
2600box/harvest
57264c15a3fba693b4b58d0b6d4fbf4bd5453bbd
[ "Apache-2.0" ]
5
2019-04-24T00:51:30.000Z
2020-11-06T18:31:49.000Z
# Generated by Django 2.1.7 on 2019-03-22 10:30 from django.db import migrations import torrents.fields class Migration(migrations.Migration): dependencies = [ ('redacted', '0006_auto_20190303_2008'), ] operations = [ migrations.AlterField( model_name='redactedtorrent', ...
22.1
78
0.638009
49
442
5.612245
0.816327
0.101818
0
0
0
0
0
0
0
0
0
0.100304
0.255656
442
19
79
23.263158
0.735562
0.10181
0
0
1
0
0.139241
0.058228
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
28211285e03ebe7b82f80918916d17ba6799a409
410
py
Python
src/getAdjacentes.py
Zer0vn/GraphCodeFlow
b2eb0e6bf7be522cf0bfeb0c354a78e20286b760
[ "MIT" ]
3
2019-09-18T15:50:31.000Z
2020-02-23T17:07:57.000Z
src/getAdjacentes.py
jjoaovitor7-unit/GraphCodeFlow
5828990c78d7f76d722119da12a6e55b6dc79978
[ "MIT" ]
null
null
null
src/getAdjacentes.py
jjoaovitor7-unit/GraphCodeFlow
5828990c78d7f76d722119da12a6e55b6dc79978
[ "MIT" ]
2
2020-05-12T01:51:39.000Z
2020-05-12T01:59:05.000Z
#-*- coding: utf-8 -*- def getAdjacentes(qtde_v, MATRIZ): """Método getAdjacentes p/ pegar os adjacentes do Grafo""" aMATRIZ = [] for i in range(qtde_v): linha = [] for j in range(qtde_v): if MATRIZ[i][j] == 1: linha.append("v" + str(j)) aMATRIZ.append(l...
22.777778
62
0.490244
56
410
3.535714
0.517857
0.075758
0.060606
0.121212
0
0
0
0
0
0
0
0.014981
0.34878
410
17
63
24.117647
0.726592
0.180488
0
0
0
0
0.012121
0
0
0
0
0.058824
0
1
0.083333
false
0
0
0
0.083333
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
1
0
0
0
0
0
0
0
0
0
0
1
2833f45f482e8f23d9b732f8b93fc91ecd5886f7
377
py
Python
src/bq_test_kit/__init__.py
tiboun/python-bigquery-test-kit
8f62bdf21122b615f56088a8e2701e0bb4c71f3b
[ "MIT" ]
31
2021-03-03T21:07:44.000Z
2022-03-20T22:00:45.000Z
src/bq_test_kit/__init__.py
tiboun/python-bq-test-kit
8f62bdf21122b615f56088a8e2701e0bb4c71f3b
[ "MIT" ]
14
2020-11-25T20:45:31.000Z
2021-01-29T13:06:28.000Z
src/bq_test_kit/__init__.py
tiboun/python-bq-test-kit
8f62bdf21122b615f56088a8e2701e0bb4c71f3b
[ "MIT" ]
null
null
null
# Copyright (c) 2020 Bounkong Khamphousone # # This software is released under the MIT License. # https://opensource.org/licenses/MIT # C0114 disabled because this module contains only export # pylint: disable=C0114 from bq_test_kit.bq_test_kit import BQTestKit from bq_test_kit.bq_test_kit_config import BQTestKitConf...
23.5625
58
0.782493
51
377
5.529412
0.686275
0.085106
0.12766
0.092199
0.156028
0.156028
0.156028
0
0
0
0
0.037267
0.145889
377
15
59
25.133333
0.838509
0.538462
0
0
0
0
0.143713
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
283578b69bc36df4642f409354aba94ca8d673b9
11,729
py
Python
lib/semantics.py
CityPulse/iot-fw-semantic-mapper
b13bf48cd231281bb9fdf42c79da347accc16a86
[ "MIT" ]
46
2015-03-02T09:34:16.000Z
2021-08-09T11:40:47.000Z
lib/semantics.py
CityPulse/iot-fw-semantic-mapper
b13bf48cd231281bb9fdf42c79da347accc16a86
[ "MIT" ]
1
2017-12-05T23:01:37.000Z
2017-12-05T23:01:37.000Z
lib/semantics.py
CityPulse/iot-fw-semantic-mapper
b13bf48cd231281bb9fdf42c79da347accc16a86
[ "MIT" ]
27
2015-02-28T16:14:28.000Z
2021-06-18T11:11:24.000Z
__author__ = 'ehonlia' from time import time from elasticsearch import Elasticsearch from rdflib import Graph, Literal, BNode, RDF from rdflib.namespace import FOAF, URIRef, XSD, OWL from decimal import Decimal from constants import SSN, DUL, GEO, SAO, CT, PROV, TL, UCUM, ID, METADATA from util import lucene_escape ...
30.704188
101
0.677722
1,549
11,729
4.836023
0.112331
0.038446
0.036043
0.044854
0.592711
0.542651
0.481912
0.428381
0.372714
0.340408
0
0.006061
0.170006
11,729
381
102
30.784777
0.763431
0.012277
0
0.383721
0
0.003876
0.054399
0.006908
0
0
0
0
0
0
null
null
0
0.031008
null
null
0.003876
0
0
0
null
0
0
0
0
0
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
2836879a139e3b7971420a986e757796a1c5ad88
2,626
py
Python
entsurgicalhistory/models.py
DaleProctor/tscharts
5447395e0aef0b949bef8426febdec2093cf37ef
[ "Apache-2.0" ]
16
2016-08-17T21:39:10.000Z
2021-11-24T12:14:28.000Z
entsurgicalhistory/models.py
DaleProctor/tscharts
5447395e0aef0b949bef8426febdec2093cf37ef
[ "Apache-2.0" ]
55
2017-04-23T18:12:04.000Z
2021-08-08T08:25:18.000Z
entsurgicalhistory/models.py
DaleProctor/tscharts
5447395e0aef0b949bef8426febdec2093cf37ef
[ "Apache-2.0" ]
8
2017-08-11T02:11:46.000Z
2021-07-06T22:58:42.000Z
#(C) Copyright Syd Logan 2019 #(C) Copyright Thousand Smiles Foundation 2019 # #Licensed under the Apache License, Version 2.0 (the "License"); #you may not use this file except in compliance with the License. # #You may obtain a copy of the License at #http://www.apache.org/licenses/LICENSE-2.0 # #Unless required by a...
48.62963
125
0.743717
333
2,626
5.684685
0.39039
0.08505
0.116218
0.101426
0.236661
0.236661
0.236661
0.236661
0.236661
0.236661
0
0.009498
0.158035
2,626
53
126
49.54717
0.846676
0.228865
0
0
0
0
0.010448
0
0
0
0
0
0
1
0
false
0
0.117647
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
28461660b2baeb8d13766ad658e3c7b1a5f809bc
319
py
Python
tests/test_helpers.py
Michael-Wisniewski/Profiler
9558b85b5a4935f2c05b5f162b1c00839c52299b
[ "MIT" ]
1
2021-05-03T20:58:12.000Z
2021-05-03T20:58:12.000Z
tests/test_helpers.py
Michael-Wisniewski/Profiler
9558b85b5a4935f2c05b5f162b1c00839c52299b
[ "MIT" ]
1
2021-05-31T10:03:33.000Z
2021-05-31T16:33:13.000Z
tests/test_helpers.py
Michael-Wisniewski/algo-profiler
9558b85b5a4935f2c05b5f162b1c00839c52299b
[ "MIT" ]
null
null
null
from unittest import TestCase from algo_profiler.helpers import LabelBase class LabelBaseTest(TestCase): def test_printing_labels(self): class TestLabelClass(LabelBase): TEST_LABEL = "TEST LABEL TEXT" self.assertEqual(str(TestLabelClass.TEST_LABEL), TestLabelClass.TEST_LABEL.value)
26.583333
89
0.752351
36
319
6.5
0.583333
0.153846
0.196581
0
0
0
0
0
0
0
0
0
0.178683
319
11
90
29
0.89313
0
0
0
0
0
0.047022
0
0
0
0
0
0.142857
1
0.142857
false
0
0.285714
0
0.714286
0.142857
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
28505e1df1142c04f9c1b417bb9a5b841c80916b
878
py
Python
files/autoupdate-you-resume-for-hh.ru/14_while_how_to_separate_a_pie.py
SKDCO/SKDCO
d19147f25f5ac25e7e846988c5484eabf49a681e
[ "Apache-2.0" ]
2
2021-11-12T12:43:15.000Z
2021-11-13T11:16:36.000Z
files/autoupdate-you-resume-for-hh.ru/14_while_how_to_separate_a_pie.py
SKDCO/SKDCO
d19147f25f5ac25e7e846988c5484eabf49a681e
[ "Apache-2.0" ]
1
2021-04-12T13:38:12.000Z
2021-04-12T13:38:12.000Z
files/autoupdate-you-resume-for-hh.ru/14_while_how_to_separate_a_pie.py
SKDCO/SKDCO
d19147f25f5ac25e7e846988c5484eabf49a681e
[ "Apache-2.0" ]
2
2021-07-26T07:31:20.000Z
2021-11-02T05:36:06.000Z
Победителям соревнования достанется большой и вкусный пирог. В команде биологов a человек, а в команде информатиков — b человек. Нужно заранее разрезать пирог таким образом, чтобы можно было раздать кусочки пирога любой команде, выигравшей соревнование, при этом каждому участнику этой команды должно достаться один...
32.518519
75
0.756264
138
878
4.818841
0.695652
0.02406
0.009023
0
0
0
0
0
0
0
0
0.008439
0.190205
878
26
76
33.769231
0.925457
0.028474
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
28598d5f7134d854bf32fd8c6ae0f200c2948761
3,389
py
Python
nano/models/invoice_item.py
sanjeevan/nanoinvoice
f9be8c5ae0a1fb802bf5b7322b106e66283efea5
[ "Apache-2.0" ]
1
2021-05-09T02:53:04.000Z
2021-05-09T02:53:04.000Z
nano/models/invoice_item.py
sanjeevan/nanoinvoice
f9be8c5ae0a1fb802bf5b7322b106e66283efea5
[ "Apache-2.0" ]
null
null
null
nano/models/invoice_item.py
sanjeevan/nanoinvoice
f9be8c5ae0a1fb802bf5b7322b106e66283efea5
[ "Apache-2.0" ]
2
2019-05-13T14:23:56.000Z
2021-05-09T22:46:42.000Z
import math from datetime import datetime from nano.extensions import db from nano.utils import get_current_time, model_to_dict class InvoiceItem(db.Model): __tablename__ = 'invoice_item' id = db.Column(u'id', db.BigInteger, primary_key=True, nullable=False) invoice_id = db.Column(u...
38.511364
111
0.576276
425
3,389
4.463529
0.272941
0.042172
0.047443
0.023195
0.100158
0.034792
0
0
0
0
0
0.011598
0.313072
3,389
87
112
38.954023
0.803265
0.095603
0
0.079365
0
0
0.116287
0.035679
0
0
0
0
0
1
0.063492
false
0
0.079365
0
0.507937
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
285bfcc0f3910e6b07380e149ed9a62c0888b2cd
214
py
Python
Leetcode/27. Remove Element/solution1.py
asanoviskhak/Outtalent
c500e8ad498f76d57eb87a9776a04af7bdda913d
[ "MIT" ]
51
2020-07-12T21:27:47.000Z
2022-02-11T19:25:36.000Z
Leetcode/27. Remove Element/solution1.py
CrazySquirrel/Outtalent
8a10b23335d8e9f080e5c39715b38bcc2916ff00
[ "MIT" ]
null
null
null
Leetcode/27. Remove Element/solution1.py
CrazySquirrel/Outtalent
8a10b23335d8e9f080e5c39715b38bcc2916ff00
[ "MIT" ]
32
2020-07-27T13:54:24.000Z
2021-12-25T18:12:50.000Z
class Solution: def removeElement(self, nums: List[int], val: int) -> int: i = 0 while i < len(nums): if nums[i] == val: nums.pop(i) else: i += 1 return len(nums)
30.571429
62
0.490654
30
214
3.5
0.6
0.133333
0
0
0
0
0
0
0
0
0
0.014815
0.369159
214
7
63
30.571429
0.762963
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
286539be3eabfc6c727f829e592726d928e566f0
377
py
Python
alarmeringen/migrations/0017_auto_20180808_2030.py
nl-hugo/fire-dept-api
eff5e12591224358a63d2d74ae84c8e4268dd0c1
[ "MIT" ]
null
null
null
alarmeringen/migrations/0017_auto_20180808_2030.py
nl-hugo/fire-dept-api
eff5e12591224358a63d2d74ae84c8e4268dd0c1
[ "MIT" ]
3
2020-06-05T18:41:14.000Z
2021-06-10T20:41:56.000Z
alarmeringen/migrations/0017_auto_20180808_2030.py
nl-hugo/fire-dept-api
eff5e12591224358a63d2d74ae84c8e4268dd0c1
[ "MIT" ]
null
null
null
# Generated by Django 2.0.7 on 2018-08-08 18:30 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('alarmeringen', '0016_auto_20180808_2030'), ] operations = [ migrations.RenameField( model_name='alarmering', old_name='diens...
19.842105
52
0.599469
40
377
5.475
0.8
0.091324
0
0
0
0
0
0
0
0
0
0.116105
0.291777
377
18
53
20.944444
0.70412
0.119363
0
0
1
0
0.187879
0.069697
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
28728c31703bcff91ac9d405f2adfc5e1285180a
1,619
py
Python
konlpy/corpus.py
IASA-SA-2020/normalize
f5d4587631eca8ac5741b531b387a60a634cd288
[ "MIT" ]
4
2020-07-27T02:50:37.000Z
2021-04-06T09:48:30.000Z
konlpy/corpus.py
IASA-SA-2020/normalize
f5d4587631eca8ac5741b531b387a60a634cd288
[ "MIT" ]
5
2021-11-04T10:23:39.000Z
2021-12-13T13:03:31.000Z
konlpy/corpus.py
IASA-SA-2020/normalize
f5d4587631eca8ac5741b531b387a60a634cd288
[ "MIT" ]
11
2020-07-31T08:20:43.000Z
2020-08-21T04:08:29.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import from konlpy import utils import os class CorpusLoader(): """Loader for corpora. For a complete list of corpora available in KoNLPy, refer to :ref:`corpora`. .. code-block:: python >>> from konlpy.corpus import kolaw >>> ...
28.403509
171
0.599753
220
1,619
4.381818
0.5
0.046681
0.045643
0.046681
0.093361
0.093361
0.093361
0.093361
0.093361
0.093361
0
0.008726
0.292156
1,619
56
172
28.910714
0.829843
0.468808
0
0.095238
0
0
0.101604
0
0
0
0
0
0
1
0.190476
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
288007743f164dbd7c296f23460636b9ae3e0640
39,550
py
Python
ripscanner mixed tab spaces.py
Grant-Giesbrecht/RipScanner
fdab65913c61ebba1a96598bf75b510ccb813a62
[ "MIT" ]
1
2021-06-18T13:22:24.000Z
2021-06-18T13:22:24.000Z
ripscanner mixed tab spaces.py
Grant-Giesbrecht/RipScanner
fdab65913c61ebba1a96598bf75b510ccb813a62
[ "MIT" ]
null
null
null
ripscanner mixed tab spaces.py
Grant-Giesbrecht/RipScanner
fdab65913c61ebba1a96598bf75b510ccb813a62
[ "MIT" ]
null
null
null
#Import packages import tkinter as tk from tkinter import messagebox import matplotlib matplotlib.use("TkAgg") from matplotlib.backends.backend_tkagg import (FigureCanvasTkAgg, NavigationToolbar2Tk) from matplotlib.backend_bases import key_press_handler from matplotlib.figure import Figure import numpy as np #******...
36.48524
310
0.643692
4,936
39,550
5.1406
0.144449
0.035588
0.013242
0.023173
0.472216
0.373887
0.340112
0.294396
0.28143
0.26736
0
0.035624
0.170291
39,550
1,083
311
36.518929
0.73762
0.24134
0
0.357143
0
0.001429
0.113487
0.01279
0.001429
0
0
0
0
0
null
null
0.008571
0.01
null
null
0.057143
0
0
0
null
0
0
0
0
0
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
28935370c3a205ee0142d350b8c95bba3ec33ec9
226
py
Python
hackerrank/Data Structures/Game of Two Stacks/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
4
2020-07-24T01:59:50.000Z
2021-07-24T15:14:08.000Z
hackerrank/Data Structures/Game of Two Stacks/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
hackerrank/Data Structures/Game of Two Stacks/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
import unittest import solution class TestQ(unittest.TestCase): def test_case_0(self): self.assertEqual(solution.twoStacks(10, [4, 2, 4, 6, 1], [2, 1, 8, 5]), 4) if __name__ == '__main__': unittest.main()
17.384615
82
0.646018
33
226
4.121212
0.69697
0
0
0
0
0
0
0
0
0
0
0.071823
0.199115
226
12
83
18.833333
0.679558
0
0
0
0
0
0.035398
0
0
0
0
0
0.142857
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
289415590cf4d69a05ea8a30f512efed9a3cabe5
250
py
Python
discordpy/cog/core/classes.py
Young727TW/Discord-Bot
27f47f2b0328938389773ed03edd176fc67d507b
[ "MIT" ]
11
2021-05-08T06:08:42.000Z
2021-09-29T15:13:55.000Z
discordpy/cog/core/classes.py
Young727TW/Discord-Bot
27f47f2b0328938389773ed03edd176fc67d507b
[ "MIT" ]
null
null
null
discordpy/cog/core/classes.py
Young727TW/Discord-Bot
27f47f2b0328938389773ed03edd176fc67d507b
[ "MIT" ]
null
null
null
import discord from discord.ext import commands,tasks from discord import Guild, guild import random import copy import os import requests import bs4 import json class Cog_Extention(commands.Cog): def __init__(self, bot): self.bot = bot
17.857143
38
0.772
37
250
5.081081
0.540541
0.117021
0
0
0
0
0
0
0
0
0
0.004854
0.176
250
13
39
19.230769
0.907767
0
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.75
0
0.916667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2899400c8de208e446f2791c25e2d434c82b2ab4
1,582
py
Python
setup.py
cperales/Fourier-classifying-songs
54d13e2ce2d7d05fe7126bbbd884917758188d6d
[ "MIT" ]
15
2018-10-07T07:48:23.000Z
2019-03-16T15:50:54.000Z
setup.py
cperales/Fourier-classifying-songs
54d13e2ce2d7d05fe7126bbbd884917758188d6d
[ "MIT" ]
7
2018-10-17T18:13:29.000Z
2018-10-24T12:19:40.000Z
setup.py
cperales/Fourier-classifying-songs
54d13e2ce2d7d05fe7126bbbd884917758188d6d
[ "MIT" ]
1
2020-10-22T22:28:28.000Z
2020-10-22T22:28:28.000Z
from setuptools import setup setup( name='foucluster', description='Clustering of songs using Fourier Transform', long_description='Similarities among songs are computed using Fast Fourier ' 'Transform. With this information, unsupervised machine learning' ' is applied.', ...
32.285714
81
0.54488
135
1,582
6.318519
0.748148
0.089097
0.117233
0.091442
0
0
0
0
0
0
0
0.007505
0.326169
1,582
48
82
32.958333
0.792683
0
0
0.065217
0
0
0.495889
0.027198
0
0
0
0
0
1
0
true
0
0.021739
0
0.021739
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
289c9a1594a760f168991c2dc18e5e74ce3cfb9d
2,515
py
Python
apps/user/admin.py
OpenAdaptronik/Rattler
c3bdde0ca56b6d77f49bc830fa2b8bb41a26bae4
[ "MIT" ]
2
2018-05-18T08:38:29.000Z
2018-05-22T08:26:09.000Z
apps/user/admin.py
IT-PM-OpenAdaptronik/Webapp
c3bdde0ca56b6d77f49bc830fa2b8bb41a26bae4
[ "MIT" ]
118
2017-10-31T13:45:09.000Z
2018-02-24T20:51:42.000Z
apps/user/admin.py
OpenAdaptronik/Rattler
c3bdde0ca56b6d77f49bc830fa2b8bb41a26bae4
[ "MIT" ]
null
null
null
""" License MIT License Copyright (c) 2017 OpenAdaptronik Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge,...
34.930556
99
0.71332
340
2,515
5.202941
0.461765
0.049746
0.03844
0.018655
0.054268
0.024873
0.024873
0
0
0
0
0.00295
0.191252
2,515
71
100
35.422535
0.866765
0.605964
0
0
0
0
0.286019
0
0
0
0
0
0
1
0
false
0.090909
0.272727
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
1
0
0
0
0
0
1
289cf8435943adb167afd9c933a74d4ab4bfb2ee
229
py
Python
server/apps/tenants/urls.py
ojengwa/base
5b5529b307643f37fc34bdda412e2b90c3d444e1
[ "MIT" ]
9
2019-03-08T22:12:38.000Z
2022-02-28T10:10:58.000Z
server/apps/tenants/urls.py
ojengwa/base
5b5529b307643f37fc34bdda412e2b90c3d444e1
[ "MIT" ]
4
2020-06-05T18:49:03.000Z
2021-06-01T22:28:04.000Z
server/apps/tenants/urls.py
ojengwa/base
5b5529b307643f37fc34bdda412e2b90c3d444e1
[ "MIT" ]
2
2020-05-26T10:58:31.000Z
2020-12-12T11:45:16.000Z
from django.conf.urls import url from .views import TenantDashboardView app_name = 'tenant' urlpatterns = [ url( regex=r'^dashboard/$', view=TenantDashboardView.as_view(), name='dashboard' ), ]
16.357143
43
0.641921
24
229
6.041667
0.708333
0
0
0
0
0
0
0
0
0
0
0
0.240175
229
13
44
17.615385
0.833333
0
0
0
0
0
0.117904
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
28a17d6039b01aef0148a385bed562616a55d8e6
604
py
Python
sesion4/poo3.py
joelibaceta/backend-codigo-10
75256580ce9975bcfa831fde884362787d82b71f
[ "MIT" ]
1
2021-11-23T03:05:23.000Z
2021-11-23T03:05:23.000Z
sesion4/poo3.py
joelibaceta/backend-codigo-10
75256580ce9975bcfa831fde884362787d82b71f
[ "MIT" ]
1
2021-11-23T02:49:01.000Z
2021-11-23T02:55:14.000Z
sesion4/poo3.py
joelibaceta/backend-codigo-10
75256580ce9975bcfa831fde884362787d82b71f
[ "MIT" ]
1
2022-01-26T19:54:33.000Z
2022-01-26T19:54:33.000Z
class Animal: def __init__(self, nombre): self.nombre = nombre def dormir(self): print("zZzZ") def mover(self): print("caminar") class Sponge(Animal): def mover(self): pass class Cat(Animal): def hacer_ruido(self): print("Meow") class Fish(Animal): d...
15.1
31
0.600993
77
604
4.61039
0.298701
0.126761
0.101408
0.095775
0.123944
0
0
0
0
0
0
0
0.245033
604
39
32
15.487179
0.778509
0
0
0.172414
0
0
0.06457
0
0
0
0
0
0
1
0.241379
false
0.034483
0
0
0.37931
0.172414
0
0
0
null
0
0
0
0
0
0
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
95373f61f024cc2e0b31e3f489ef1dcb7fa2f02b
1,908
py
Python
examples/complex_example.py
civitaslearning/compago
4a526457402298b5c0e4f4d503536fd11562b997
[ "BSD-3-Clause" ]
null
null
null
examples/complex_example.py
civitaslearning/compago
4a526457402298b5c0e4f4d503536fd11562b997
[ "BSD-3-Clause" ]
null
null
null
examples/complex_example.py
civitaslearning/compago
4a526457402298b5c0e4f4d503536fd11562b997
[ "BSD-3-Clause" ]
null
null
null
import compago app = compago.Application() app.add_option('--debug', dest='debug', action='store_true', default=False) if app.args['debug']: import logging logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(name)s: %(message)s') @app.command def simple(): '''This is a simple command that take...
35.333333
88
0.66457
262
1,908
4.755725
0.374046
0.032103
0.041734
0.035313
0.134831
0.091493
0.091493
0.091493
0.091493
0.091493
0
0.004528
0.189727
1,908
53
89
36
0.801423
0.253145
0
0.451613
0
0
0.2
0
0
0
0
0
0
0
null
null
0
0.064516
null
null
0.225806
0
0
0
null
0
0
0
0
0
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
953a7b5d920fc9cc8a5126cfdb86b8bf24cbc254
12,638
py
Python
run_opal.py
natcap/opal
7b960d51344483bae30d14ccfa6004bd550f3737
[ "BSD-3-Clause" ]
1
2020-04-15T23:23:27.000Z
2020-04-15T23:23:27.000Z
run_opal.py
natcap/opal
7b960d51344483bae30d14ccfa6004bd550f3737
[ "BSD-3-Clause" ]
null
null
null
run_opal.py
natcap/opal
7b960d51344483bae30d14ccfa6004bd550f3737
[ "BSD-3-Clause" ]
null
null
null
import sys import os import argparse import logging import json import uuid import threading from PyQt4 import QtGui # importing tkinter, FileDialog because matplotlib wants to use it. import Tkinter import FileDialog import palisades import palisades.i18n from palisades import execution from palisades import elemen...
40.636656
89
0.681041
1,590
12,638
5.148428
0.237107
0.008063
0.007696
0.013682
0.14818
0.126191
0.099927
0.042023
0.012949
0
0
0.002174
0.235559
12,638
310
90
40.767742
0.845151
0.123991
0
0.066667
0
0
0.100934
0.006227
0
0
0
0.003226
0
0
null
null
0
0.1
null
null
0.02381
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
953d82e0fcb80f55fa6cc7f816d5d17b0dbb3260
2,863
py
Python
agora/planner/tests/bad_gp_format_test.py
SmartDeveloperHub/agora-planner
1699ff7d8ebcf87a14dd2da59e5fe890d413e387
[ "Apache-2.0" ]
null
null
null
agora/planner/tests/bad_gp_format_test.py
SmartDeveloperHub/agora-planner
1699ff7d8ebcf87a14dd2da59e5fe890d413e387
[ "Apache-2.0" ]
3
2015-06-09T07:39:02.000Z
2015-06-30T07:01:24.000Z
agora/planner/tests/bad_gp_format_test.py
SmartDeveloperHub/agora-planner
1699ff7d8ebcf87a14dd2da59e5fe890d413e387
[ "Apache-2.0" ]
null
null
null
""" #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# This file is part of the Smart Developer Hub Project: http://www.smartdeveloperhub.org Center for Open Middleware http://www.centeropenmiddleware.com/ #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=...
39.763889
114
0.601816
370
2,863
4.548649
0.362162
0.033274
0.038027
0.052288
0.372549
0.372549
0.372549
0.372549
0.34284
0.325015
0
0.015586
0.1708
2,863
71
115
40.323944
0.693345
0.394691
0
0.25
0
0
0.25464
0
0
0
0
0
0
1
0.25
false
0
0.0625
0
0.40625
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
9543e06dd7f9a74923c1f5241656633849c39d4c
231
py
Python
tests/conftest.py
rkzm-ghec-org/flask-githubapp
69d925f81645239901b3de75feb2336f101bea96
[ "MIT" ]
null
null
null
tests/conftest.py
rkzm-ghec-org/flask-githubapp
69d925f81645239901b3de75feb2336f101bea96
[ "MIT" ]
null
null
null
tests/conftest.py
rkzm-ghec-org/flask-githubapp
69d925f81645239901b3de75feb2336f101bea96
[ "MIT" ]
1
2019-11-06T23:18:57.000Z
2019-11-06T23:18:57.000Z
import pytest from flask import Flask @pytest.fixture def app(): app = Flask('test_app') app.config['GITHUBAPP_ID'] = 1 app.config['GITHUBAPP_KEY'] = 'key' app.config['GITHUBAPP_SECRET'] = 'secret' return app
19.25
45
0.666667
31
231
4.83871
0.483871
0.18
0.36
0
0
0
0
0
0
0
0
0.005376
0.194805
231
12
46
19.25
0.801075
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.444444
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
9548a9efb339df83cc8e0fe287b559247414754a
435
py
Python
git_auto.py
vukisic/PSK
9257941bad588a92a6631783f33b0287289ae0ec
[ "MIT" ]
null
null
null
git_auto.py
vukisic/PSK
9257941bad588a92a6631783f33b0287289ae0ec
[ "MIT" ]
null
null
null
git_auto.py
vukisic/PSK
9257941bad588a92a6631783f33b0287289ae0ec
[ "MIT" ]
null
null
null
import os import sys import subprocess print("Welcome to Git Automation!") print("Author: Vuk Isic\n\n\n") print("Manual: Just place in git repo folder and run!\n\n") message = input("Commit message:") try: subprocess.call(f'git add .') subprocess.call(f'git commit -m \"{message}\" .') subproces...
29
60
0.657471
66
435
4.318182
0.590909
0.021053
0.157895
0.189474
0
0
0
0
0
0
0
0.002793
0.177011
435
15
61
29
0.793296
0
0
0
0
0
0.509479
0.06872
0
0
0
0
0
1
0
false
0
0.214286
0
0.214286
0.357143
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
955c9d95b7e297a4f38915cd164778a3d8e53edf
1,017
py
Python
go_piece.py
kennedysean/Gomoku
ee2aca5bfda55f096123619c969e7c0160722a85
[ "MIT" ]
null
null
null
go_piece.py
kennedysean/Gomoku
ee2aca5bfda55f096123619c969e7c0160722a85
[ "MIT" ]
null
null
null
go_piece.py
kennedysean/Gomoku
ee2aca5bfda55f096123619c969e7c0160722a85
[ "MIT" ]
null
null
null
from my_error import MyError class GoPiece(object): """This class represents the black and white pieces used to play Gomoku.""" def __init__(self, color='black'): """This method has a private attribute named 'color' (default value is 'black') which must have a value of either 'black' or 'w...
36.321429
79
0.561455
129
1,017
4.333333
0.434109
0.064401
0.064401
0.096601
0
0
0
0
0
0
0
0
0.308751
1,017
28
80
36.321429
0.789474
0.431662
0
0.133333
0
0
0.072381
0
0
0
0
0
0
1
0.2
false
0
0.066667
0
0.533333
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
955cd448a1f09b4f1eb32797a75ae2ae87d17f1d
864
bzl
Python
deps.bzl
rbtr/rpmpack
fdc007d8a28c8bf2cab61d441ad79a1a4c401241
[ "Apache-2.0" ]
null
null
null
deps.bzl
rbtr/rpmpack
fdc007d8a28c8bf2cab61d441ad79a1a4c401241
[ "Apache-2.0" ]
null
null
null
deps.bzl
rbtr/rpmpack
fdc007d8a28c8bf2cab61d441ad79a1a4c401241
[ "Apache-2.0" ]
null
null
null
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository") def rpmpack_dependencies(): go_rules_dependencies() go_register_toolchains() gazelle_dependencies() go_repository( name = "com_g...
27
90
0.635417
100
864
5.15
0.36
0.116505
0.124272
0.147573
0.194175
0
0
0
0
0
0
0.027108
0.231481
864
31
91
27.870968
0.748494
0
0
0.153846
0
0
0.418981
0.346065
0
0
0
0
0
1
0.038462
true
0
0.153846
0
0.192308
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
956934108340447b019af999ed47f0e4dc4ebe90
1,216
py
Python
ted_manager.py
watal/python-hpce
480adcc9e3525b43d7495b18ad6b43de1e2cbcdd
[ "MIT" ]
null
null
null
ted_manager.py
watal/python-hpce
480adcc9e3525b43d7495b18ad6b43de1e2cbcdd
[ "MIT" ]
null
null
null
ted_manager.py
watal/python-hpce
480adcc9e3525b43d7495b18ad6b43de1e2cbcdd
[ "MIT" ]
1
2020-08-20T12:36:14.000Z
2020-08-20T12:36:14.000Z
#!/usr/bin/env python # -*- coding:utf-8 -*- from __future__ import print_function import os import sys import fcntl import json import linkstate_sockcli PATH = 'dat/ted.json' def update_ted(linkstate, addr): '''update TED''' if os.path.exists(PATH): with open(PATH, 'r') as f: try: ...
20.266667
77
0.527961
149
1,216
4.234899
0.42953
0.057052
0.057052
0.069731
0.237718
0.237718
0.237718
0.237718
0.237718
0.237718
0
0.003836
0.356908
1,216
59
78
20.610169
0.803069
0.098684
0
0.486486
0
0
0.043768
0
0
0
0
0
0
0
null
null
0
0.162162
null
null
0.054054
0
0
0
null
0
0
0
0
0
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