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
e30cb657360704fce019bc91d4ea957f8be26dba
5,898
py
Python
entrypoint.py
vliz-be-opsci/rocrate-to-pages
b8e3723788a6687a19dc4a043cc06290b537cd3b
[ "MIT" ]
null
null
null
entrypoint.py
vliz-be-opsci/rocrate-to-pages
b8e3723788a6687a19dc4a043cc06290b537cd3b
[ "MIT" ]
1
2022-03-29T05:33:17.000Z
2022-03-29T05:33:17.000Z
entrypoint.py
vliz-be-opsci/rocrate-to-pages
b8e3723788a6687a19dc4a043cc06290b537cd3b
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # NOTE: If you are using an alpine docker image # such as pyaction-lite, the -S option above won't # work. The above line works fine on other linux distributions # such as debian, etc, so the above line will work fine # if you use pyaction:4.0.0 or higher as your base docker image. # Steps in t...
37.807692
96
0.660563
777
5,898
4.851995
0.267696
0.047745
0.033952
0.02122
0.296021
0.220955
0.167374
0.140318
0.108753
0.108753
0
0.003326
0.235334
5,898
156
97
37.807692
0.832594
0.346389
0
0.154762
0
0
0.181914
0.023533
0
0
0
0.012821
0
1
0.083333
false
0.011905
0.071429
0
0.22619
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
e30d02841ff295230eb7c6999f029f9158396d0d
10,048
py
Python
automatization_of_data_mining_project/data_set_statistic_reporter/test/test_data_set_statistic_reporter.py
Sale1996/automatization_of_data_mining_project
223aec59231586563a3b125bff064f8420630a8f
[ "MIT" ]
null
null
null
automatization_of_data_mining_project/data_set_statistic_reporter/test/test_data_set_statistic_reporter.py
Sale1996/automatization_of_data_mining_project
223aec59231586563a3b125bff064f8420630a8f
[ "MIT" ]
null
null
null
automatization_of_data_mining_project/data_set_statistic_reporter/test/test_data_set_statistic_reporter.py
Sale1996/automatization_of_data_mining_project
223aec59231586563a3b125bff064f8420630a8f
[ "MIT" ]
null
null
null
import unittest from data_set_statistic_reporter.classes.statistic_generator.implementations.column_names_statistic_generator import \ ColumnNamesStatisticGenerator from data_set_statistic_reporter.classes.statistic_generator.implementations.missing_data_statistic_generator import \ MissingDataStatisticGenerat...
60.167665
151
0.661326
1,045
10,048
5.873684
0.09378
0.05246
0.046432
0.058651
0.760345
0.732323
0.678397
0.647279
0.620235
0.533561
0
0.018106
0.263436
10,048
166
152
60.53012
0.811242
0
0
0.355072
0
0
0.112361
0
0
0
0
0
0.050725
1
0.065217
false
0.007246
0.065217
0
0.152174
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e314d9e5aa6f70dcda1893bf423b1b4d0f18a272
319
py
Python
setup.py
ribeirogab/google-docs
8ad4b250a8758a1ef5562a85cb2dfd926223cd0c
[ "MIT" ]
null
null
null
setup.py
ribeirogab/google-docs
8ad4b250a8758a1ef5562a85cb2dfd926223cd0c
[ "MIT" ]
null
null
null
setup.py
ribeirogab/google-docs
8ad4b250a8758a1ef5562a85cb2dfd926223cd0c
[ "MIT" ]
null
null
null
from setuptools import setup setup( name="google-doc", version="0.1", description="Manipulating files pragmatically", url="https://github.com/ribeirogab/google-doc", author="Gabriel Ribeiro", author_email="ribeirogabx@gmail.com", license="MIT", packages=["app"], zip_safe=False, )
21.266667
51
0.670846
37
319
5.72973
0.864865
0.084906
0
0
0
0
0
0
0
0
0
0.007605
0.175549
319
14
52
22.785714
0.798479
0
0
0
0
0
0.399371
0.066038
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
e316f9057694d74fdb4e25d7c948759403414886
472
py
Python
app/apps/core/migrations/0033_ocrmodel_job.py
lawi21/escriptorium
6043b0cb3894bb308a37ed97a26114dcea883834
[ "MIT" ]
4
2021-09-21T09:15:24.000Z
2022-02-12T13:36:33.000Z
app/apps/core/migrations/0033_ocrmodel_job.py
lawi21/escriptorium
6043b0cb3894bb308a37ed97a26114dcea883834
[ "MIT" ]
1
2021-11-30T12:04:11.000Z
2021-11-30T12:04:11.000Z
app/apps/core/migrations/0033_ocrmodel_job.py
stweil/escriptorium
63a063f2dbecebe9f79aa6376e99030f49a02502
[ "MIT" ]
2
2021-11-10T09:39:52.000Z
2022-01-10T08:52:40.000Z
# Generated by Django 2.1.4 on 2019-10-03 13:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0032_auto_20190729_1249'), ] operations = [ migrations.AddField( model_name='ocrmodel', name='job', ...
23.6
106
0.599576
49
472
5.673469
0.795918
0
0
0
0
0
0
0
0
0
0
0.098837
0.271186
472
19
107
24.842105
0.709302
0.095339
0
0
1
0
0.127059
0.054118
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
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
e31d95edd525f55a7a7ed910f05144922ab806f9
4,604
py
Python
jasy/http/Request.py
sebastian-software/jasy
9740ed33f0836ab2dd3e00ab4fae4049f9908072
[ "MIT" ]
2
2015-05-27T19:30:49.000Z
2015-12-10T16:55:14.000Z
jasy/http/Request.py
sebastian-software/jasy
9740ed33f0836ab2dd3e00ab4fae4049f9908072
[ "MIT" ]
2
2015-03-16T09:15:58.000Z
2015-04-07T19:05:47.000Z
jasy/http/Request.py
sebastian-software/jasy
9740ed33f0836ab2dd3e00ab4fae4049f9908072
[ "MIT" ]
2
2017-07-18T20:08:05.000Z
2021-01-04T10:46:14.000Z
# # Jasy - Web Tooling Framework # Copyright 2010-2012 Zynga Inc. # Copyright 2013-2014 Sebastian Werner # import shutil import json import base64 import os import re import random import sys import mimetypes import http.client import urllib.parse import hashlib import jasy.core.Console as Console __all__ = ("request...
28.775
121
0.651173
576
4,604
5.118056
0.3125
0.05597
0.010176
0.024423
0.116689
0.042741
0.042741
0.042741
0.042741
0.042741
0
0.011083
0.216116
4,604
159
122
28.955975
0.805763
0.140313
0
0.122222
0
0
0.140813
0.006133
0
0
0
0
0
1
0.055556
false
0.055556
0.133333
0
0.244444
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
e32126d271418738a3a9534136a21ab5d86a08d7
424
py
Python
tests/test_ksic10.py
sayari-analytics/pyisic
42ed46f5bc446a0bbc0edf30b64bc4ab939dd033
[ "MIT" ]
3
2021-11-18T15:32:38.000Z
2022-02-28T19:16:14.000Z
tests/test_ksic10.py
sayari-analytics/pyisic
42ed46f5bc446a0bbc0edf30b64bc4ab939dd033
[ "MIT" ]
18
2021-06-28T19:17:49.000Z
2022-03-23T20:20:18.000Z
tests/test_ksic10.py
sayari-analytics/pyisic
42ed46f5bc446a0bbc0edf30b64bc4ab939dd033
[ "MIT" ]
null
null
null
import pytest from pyisic import KSIC10_to_ISIC4 from pyisic.types import Standards @pytest.mark.parametrize( "code,expected", [ ("DOESNT EXIST", set()), ("A", set()), ("14112", {(Standards.ISIC4, "1410")}), ], ) def test_ksic10_to_isic4_concordance(code: str, expected: str): ...
23.555556
63
0.65566
50
424
5.4
0.54
0.118519
0.192593
0.125926
0
0
0
0
0
0
0
0.064897
0.200472
424
17
64
24.941176
0.731563
0.096698
0
0
0
0
0.092838
0
0
0
0
0
0.076923
1
0.076923
false
0
0.230769
0
0.307692
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
e322b7d506d25f6ad3bcfcab8fcaca1609142ca8
361
py
Python
test/test_pronunciation.py
kord123/ko_pron
682a976b959405f55b6fcfa8a38c1b59ee56deec
[ "MIT" ]
6
2019-05-31T11:33:03.000Z
2022-03-24T06:18:03.000Z
test/test_pronunciation.py
kord123/ko_pron
682a976b959405f55b6fcfa8a38c1b59ee56deec
[ "MIT" ]
null
null
null
test/test_pronunciation.py
kord123/ko_pron
682a976b959405f55b6fcfa8a38c1b59ee56deec
[ "MIT" ]
null
null
null
from unittest import TestCase, main from ko_pron import romanise def mr_romanize(word): return romanise(word, "mr") class TestKoPron(TestCase): def test_kosinga(self): self.assertEqual("kŏsin'ga", mr_romanize("것인가")) def test_kosida(self): self.assertEqual("kŏsida", mr_romanize("것이다"))...
18.05
56
0.68144
46
361
5.043478
0.586957
0.12931
0.163793
0
0
0
0
0
0
0
0
0
0.191136
361
19
57
19
0.794521
0
0
0
0
0
0.083102
0
0
0
0
0
0.181818
1
0.272727
false
0
0.181818
0.090909
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e3255a29783c8931340f306cdc700896d7e87a8a
767
py
Python
libkol/request/clan_rumpus_meat.py
danheath/pykol-lib
bdc9aa8dbae64ead07e7dbc36f9d6ba802f65ddc
[ "BSD-3-Clause" ]
6
2019-06-11T19:25:32.000Z
2022-01-21T17:05:01.000Z
libkol/request/clan_rumpus_meat.py
danheath/pykol-lib
bdc9aa8dbae64ead07e7dbc36f9d6ba802f65ddc
[ "BSD-3-Clause" ]
8
2019-06-17T11:41:14.000Z
2019-08-07T17:28:50.000Z
libkol/request/clan_rumpus_meat.py
python-kol/pykollib
bdc9aa8dbae64ead07e7dbc36f9d6ba802f65ddc
[ "BSD-3-Clause" ]
9
2019-06-09T22:23:06.000Z
2021-07-10T00:49:00.000Z
from enum import Enum import libkol from ..util import parsing from .clan_rumpus import Furniture from .request import Request class MeatFurniture(Enum): Orchid = Furniture.MeatOrchid Tree = Furniture.MeatTree Bush = Furniture.MeatBush class clan_rumpus_meat(Request[int]): """ Uses a meat disp...
24.741935
84
0.67927
90
767
5.655556
0.511111
0.078585
0
0
0
0
0
0
0
0
0
0
0.211213
767
30
85
25.566667
0.841322
0.059974
0
0
0
0
0.069504
0
0
0
0
0
0
1
0.055556
false
0
0.277778
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e3273b50b1a619a6c8fbd4348362adf92e8753d1
391
py
Python
BasicApp/migrations/0009_auto_20200215_1610.py
bozcani/borsa-scraper-app
56c767a9b6d6c9be40046aa03763f13465860f6f
[ "MIT" ]
3
2020-02-06T10:05:29.000Z
2020-04-18T10:11:37.000Z
BasicApp/migrations/0009_auto_20200215_1610.py
bozcani/borsa
56c767a9b6d6c9be40046aa03763f13465860f6f
[ "MIT" ]
10
2020-02-06T08:50:13.000Z
2020-04-25T12:17:17.000Z
BasicApp/migrations/0009_auto_20200215_1610.py
bozcani/borsa-scraper-app
56c767a9b6d6c9be40046aa03763f13465860f6f
[ "MIT" ]
1
2020-02-06T07:40:06.000Z
2020-02-06T07:40:06.000Z
# Generated by Django 3.0.2 on 2020-02-15 16:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('BasicApp', '0008_auto_20200215_1605'), ] operations = [ migrations.AlterField( model_name='stock', name='stock_name'...
20.578947
51
0.603581
43
391
5.348837
0.813953
0.078261
0.113043
0
0
0
0
0
0
0
0
0.121429
0.283887
391
18
52
21.722222
0.7
0.11509
0
0
1
0
0.133721
0.06686
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
e32802fd83d61c6a268dd08a2ba42fe9293ee021
1,026
py
Python
profiles_api/views.py
ray-abel12/django-profile-api
1265fd29cbca7e40e5af71561ced39421f16bbb7
[ "MIT" ]
null
null
null
profiles_api/views.py
ray-abel12/django-profile-api
1265fd29cbca7e40e5af71561ced39421f16bbb7
[ "MIT" ]
null
null
null
profiles_api/views.py
ray-abel12/django-profile-api
1265fd29cbca7e40e5af71561ced39421f16bbb7
[ "MIT" ]
null
null
null
from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import status from profiles_api import serializers class HelloApiView(APIView): """Test the Api view""" serializers_class = serializers.HelloSerializer def get(self, request, format=None): ""...
35.37931
80
0.653996
119
1,026
5.521008
0.478992
0.03653
0.077626
0
0
0
0
0
0
0
0
0.003901
0.250487
1,026
28
81
36.642857
0.850455
0
0
0
0
0
0.150759
0.037961
0
0
0
0
0
0
null
null
0
0.210526
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
e32a4533aa41bfeccd2c5cbc200783349e56c80e
2,043
py
Python
drepr/old_code/prototype/drepr/services/ra_reader/multi_ra_reader.py
scorpio975/d-repr
1d08024192642233d42d29e1d05f8713ee265bca
[ "MIT" ]
5
2019-10-02T01:04:50.000Z
2022-03-08T09:39:50.000Z
drepr/old_code/prototype/drepr/services/ra_reader/multi_ra_reader.py
scorpio975/d-repr
1d08024192642233d42d29e1d05f8713ee265bca
[ "MIT" ]
3
2020-06-13T22:09:48.000Z
2021-04-23T08:23:49.000Z
drepr/old_code/prototype/drepr/services/ra_reader/multi_ra_reader.py
scorpio975/d-repr
1d08024192642233d42d29e1d05f8713ee265bca
[ "MIT" ]
5
2019-10-02T03:01:27.000Z
2021-02-02T13:34:35.000Z
from typing import List, Dict, Tuple, Callable, Any, Optional, Union from drepr.models import Variable, Location from drepr.services.ra_iterator import RAIterator from drepr.services.ra_reader.ra_reader import RAReader class MultiRAReader(RAReader): def __init__(self, ra_readers: Dict[str, RAReader]): se...
40.058824
90
0.655409
282
2,043
4.542553
0.258865
0.087432
0.081187
0.046838
0.298205
0.298205
0.24356
0.201405
0.201405
0.201405
0
0.008296
0.232991
2,043
50
91
40.86
0.80919
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.083333
0.472222
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
e32d889691c359636f2304b6100d9cd921cf45ca
245
py
Python
aoc/day04/part1.py
hron/advent-of-code-2021
6be8cfb88595d35a7865f8faf734f8efd9c28543
[ "MIT" ]
null
null
null
aoc/day04/part1.py
hron/advent-of-code-2021
6be8cfb88595d35a7865f8faf734f8efd9c28543
[ "MIT" ]
null
null
null
aoc/day04/part1.py
hron/advent-of-code-2021
6be8cfb88595d35a7865f8faf734f8efd9c28543
[ "MIT" ]
null
null
null
# Advent of Code - Day 4 - Part One from aoc.day04.game import Game def result(raw_bingo_game: list[str]): game = Game(raw_bingo_game) game.perform() return sum(game.all_unmarked_numbers(game.winning_board)) * game.winning_number
24.5
83
0.734694
39
245
4.410256
0.692308
0.093023
0.139535
0
0
0
0
0
0
0
0
0.014634
0.163265
245
9
84
27.222222
0.82439
0.134694
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
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
e33099248f1278ac76ed3dff5bd5713e879035b5
3,931
py
Python
K-means.py
Piyush9323/K-means
665561446309c18d8a9b764a016cb5bc77db3506
[ "MIT" ]
null
null
null
K-means.py
Piyush9323/K-means
665561446309c18d8a9b764a016cb5bc77db3506
[ "MIT" ]
null
null
null
K-means.py
Piyush9323/K-means
665561446309c18d8a9b764a016cb5bc77db3506
[ "MIT" ]
null
null
null
### Author : Piyush Sharma # --> Implementation of **K-MEANS** algorithim. """ #Importing the Libraries import pandas as pd import numpy as np import matplotlib.pyplot as plt import random #Reading the dataset iris = pd.read_csv('https://raw.githubusercontent.com/Piyush9323/NaiveBayes_in_Python/main/iris.csv') #iri...
28.280576
133
0.643093
568
3,931
4.375
0.315141
0.024145
0.01006
0.012072
0.089738
0.064789
0.064789
0.064789
0.044266
0.044266
0
0.027505
0.223098
3,931
139
133
28.280576
0.786182
0.809972
0
0
0
0
0.110368
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
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
e340b0181f16e436a1eb78df58444f9884b3f073
905
py
Python
utils/test/reporting/api/server.py
Thajudheen/opnfv
bba9d47d826283461ee31a6c437e537f0a93d827
[ "Apache-2.0" ]
null
null
null
utils/test/reporting/api/server.py
Thajudheen/opnfv
bba9d47d826283461ee31a6c437e537f0a93d827
[ "Apache-2.0" ]
null
null
null
utils/test/reporting/api/server.py
Thajudheen/opnfv
bba9d47d826283461ee31a6c437e537f0a93d827
[ "Apache-2.0" ]
null
null
null
############################################################################## # Copyright (c) 2016 Huawei Technologies Co.,Ltd and others. # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, ...
32.321429
78
0.627624
105
905
5.314286
0.638095
0.075269
0.064516
0.086022
0
0
0
0
0
0
0
0.015075
0.120442
905
27
79
33.518519
0.68593
0.323757
0
0
0
0
0.073497
0
0
0
0
0
0
1
0.076923
false
0
0.384615
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e34300f3e4f00e4dd77e8bc352e18fdf57528844
815
py
Python
Analysis/pynvml/pynvml_test.py
sequencer2014/TS
465804570349d46b47c1bdf131bdafea5c582dee
[ "Apache-2.0" ]
null
null
null
Analysis/pynvml/pynvml_test.py
sequencer2014/TS
465804570349d46b47c1bdf131bdafea5c582dee
[ "Apache-2.0" ]
null
null
null
Analysis/pynvml/pynvml_test.py
sequencer2014/TS
465804570349d46b47c1bdf131bdafea5c582dee
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # Copyright (C) 2011 Ion Torrent Systems, Inc. All Rights Reserved from pynvml import * nvmlInit() print("Driver Version: %s" % nvmlSystemGetDriverVersion()) deviceCount = nvmlDeviceGetCount() for i in range(deviceCount): handle = nvmlDeviceGetHandleByIndex(i) print("Device %s: %s" % (i,...
35.434783
74
0.694479
102
815
5.509804
0.441176
0.117438
0.128114
0.074733
0.16726
0
0
0
0
0
0
0.040404
0.149693
815
22
75
37.045455
0.770563
0.104294
0
0
0
0
0.243132
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.466667
0
0
0
null
0
0
0
0
0
0
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
e3471bfa6f5ae8a3a9ea8de9e122e8baaafc4f36
293
py
Python
src/data/transform.py
musa-atlihan/spark-pm
3a19412cdf7f4fdbb36734a4d8e1b8ddefa58259
[ "MIT" ]
null
null
null
src/data/transform.py
musa-atlihan/spark-pm
3a19412cdf7f4fdbb36734a4d8e1b8ddefa58259
[ "MIT" ]
null
null
null
src/data/transform.py
musa-atlihan/spark-pm
3a19412cdf7f4fdbb36734a4d8e1b8ddefa58259
[ "MIT" ]
1
2021-02-08T02:29:51.000Z
2021-02-08T02:29:51.000Z
from pathlib import Path import pandas as pd import argparse if __name__ == '__main__': directory = Path('records') directory.mkdir(exist_ok=True, parents=True) for file in Path('./').glob('*.csv'): df = pd.read_csv(file).to_parquet(directory / f'{file.stem}.parquet')
22.538462
77
0.672355
41
293
4.536585
0.707317
0
0
0
0
0
0
0
0
0
0
0
0.177474
293
12
78
24.416667
0.771784
0
0
0
0
0
0.139932
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e3488d3a2a0436c72c50e242ebcbbc18042e0e6d
876
py
Python
Class_2/show-lldp.py
travism16/Python-Course
d8c522fc31c7830c3ceabf7a35022a9e33e1d706
[ "Apache-2.0" ]
null
null
null
Class_2/show-lldp.py
travism16/Python-Course
d8c522fc31c7830c3ceabf7a35022a9e33e1d706
[ "Apache-2.0" ]
null
null
null
Class_2/show-lldp.py
travism16/Python-Course
d8c522fc31c7830c3ceabf7a35022a9e33e1d706
[ "Apache-2.0" ]
null
null
null
import os from netmiko import ConnectHandler from getpass import getpass from datetime import datetime device = { "host": "nxos1.lasthop.io", "username": "pyclass", "password": getpass(), "device_type": "cisco_nxos", "session_log": "nxos1_session.txt", "global_delay_factor": 2 } net_connect = ConnectHandler(**...
22.461538
113
0.71347
121
876
5.033058
0.421488
0.049261
0.052545
0.065681
0.594417
0.594417
0.594417
0.594417
0.449918
0.449918
0
0.010323
0.115297
876
38
114
23.052632
0.775484
0
0
0.413793
0
0
0.299429
0
0
0
0
0
0
1
0
false
0.068966
0.137931
0
0.137931
0.344828
0
0
0
null
0
0
0
0
0
0
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
e355eb96a56465533f28c21bd2f272347158baed
5,804
py
Python
test/test_dbstore.py
carolinux/OpenBazaar
59883356356b255de850ea0e5a1d7fb61401c924
[ "MIT" ]
1
2018-09-25T11:13:43.000Z
2018-09-25T11:13:43.000Z
test/test_dbstore.py
VivaLaPanda/OpenBazaar
30d5fa15ab148d56958ad56561c16c01dfc0ee0a
[ "MIT" ]
null
null
null
test/test_dbstore.py
VivaLaPanda/OpenBazaar
30d5fa15ab148d56958ad56561c16c01dfc0ee0a
[ "MIT" ]
1
2018-12-01T15:32:15.000Z
2018-12-01T15:32:15.000Z
#!/usr/bin/env python # # This library is free software, distributed under the terms of # the GNU Lesser General Public License Version 3, or any later version. # See the COPYING file included in this archive # # The docstrings in this module contain epytext markup; API documentation # may be created by processing this...
33.549133
77
0.603549
677
5,804
5.011817
0.267356
0.128205
0.05364
0.067787
0.585028
0.523431
0.523431
0.450339
0.450339
0.450339
0
0.016622
0.295141
5,804
172
78
33.744186
0.81276
0.273088
0
0.456311
0
0
0.132202
0
0
0
0
0
0.174757
0
null
null
0
0.048544
null
null
0.019417
0
0
0
null
0
0
0
0
0
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
e35d36e6bfc335d6edd88bf14cfc424d0ca3ba57
11,681
py
Python
src/semu.robotics.ros2_bridge/semu/robotics/ros2_bridge/packages/control_msgs/msg/_pid_state.py
Toni-SM/omni.add_on.ros2_bridge
9c5e47153d51da3a401d7f4ce679b773b32beffc
[ "MIT" ]
null
null
null
src/semu.robotics.ros2_bridge/semu/robotics/ros2_bridge/packages/control_msgs/msg/_pid_state.py
Toni-SM/omni.add_on.ros2_bridge
9c5e47153d51da3a401d7f4ce679b773b32beffc
[ "MIT" ]
null
null
null
src/semu.robotics.ros2_bridge/semu/robotics/ros2_bridge/packages/control_msgs/msg/_pid_state.py
Toni-SM/omni.add_on.ros2_bridge
9c5e47153d51da3a401d7f4ce679b773b32beffc
[ "MIT" ]
null
null
null
# generated from rosidl_generator_py/resource/_idl.py.em # with input from control_msgs:msg/PidState.idl # generated code does not contain a copyright notice # Import statements for member types import rosidl_parser.definition # noqa: E402, I100 class Metaclass_PidState(type): """Metaclass of message 'PidStat...
32.179063
134
0.56853
1,347
11,681
4.613957
0.139569
0.03041
0.056637
0.035559
0.340306
0.285438
0.230893
0.22671
0.168624
0.161384
0
0.00772
0.323517
11,681
362
135
32.267956
0.77879
0.093143
0
0.295533
1
0
0.122356
0.004955
0
0
0
0
0.051546
1
0.109966
false
0.003436
0.058419
0.003436
0.312715
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
e35e83500af0c1984dba3f7b397f0a64457f3f13
2,301
py
Python
papers/paper-nsdi2013/data/tools/analysis/analysis.py
jcnelson/syndicate
4837265be3e0aa18cdf4ee50316dbfc2d1f06e5b
[ "Apache-2.0" ]
16
2015-01-02T15:39:04.000Z
2016-03-17T06:38:46.000Z
papers/paper-nsdi2013/data/tools/analysis/analysis.py
jcnelson/syndicate
4837265be3e0aa18cdf4ee50316dbfc2d1f06e5b
[ "Apache-2.0" ]
37
2015-01-28T20:58:05.000Z
2016-03-22T04:01:32.000Z
papers/paper-nsdi2013/data/tools/analysis/analysis.py
jcnelson/syndicate
4837265be3e0aa18cdf4ee50316dbfc2d1f06e5b
[ "Apache-2.0" ]
8
2015-04-08T02:26:03.000Z
2016-03-04T05:56:24.000Z
#!/usr/bin/python import os import sys def parse_experiments( fd, ignore_blank=False ): ret = {} # map experiment name to data mode = "none" experiment_name = "" fc_distro = "" experiment_lines = [] while True: line = fd.readline() if len(line) == 0: break line = ...
22.558824
92
0.509778
241
2,301
4.697095
0.352697
0.173145
0.021201
0.063604
0.107774
0.056537
0.056537
0
0
0
0
0.009161
0.383312
2,301
102
93
22.558824
0.788584
0.045632
0
0.308824
0
0
0.071168
0.011861
0
0
0
0
0
0
null
null
0.014706
0.029412
null
null
0.058824
0
0
0
null
0
0
0
0
0
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
e3608bcfd835c686be31833a53a16f9a29baf594
1,036
py
Python
case_plaso/event_exporters/ntfs.py
casework/CASE-Implementation-Plaso
37243fce53d2a31388fdb405860955ee443bbe96
[ "Apache-2.0" ]
1
2019-04-16T17:07:56.000Z
2019-04-16T17:07:56.000Z
case_plaso/event_exporters/ntfs.py
casework/CASE-Implementation-Plaso
37243fce53d2a31388fdb405860955ee443bbe96
[ "Apache-2.0" ]
null
null
null
case_plaso/event_exporters/ntfs.py
casework/CASE-Implementation-Plaso
37243fce53d2a31388fdb405860955ee443bbe96
[ "Apache-2.0" ]
null
null
null
from plaso.lib.eventdata import EventTimestamp from case_plaso.event_exporter import EventExporter @EventExporter.register('fs:stat:ntfs') class NTFSExporter(EventExporter): TIMESTAMP_MAP = { EventTimestamp.CREATION_TIME: 'mftFileNameCreatedTime', EventTimestamp.MODIFICATION_TIME: 'mftFileNameM...
38.37037
78
0.708494
109
1,036
6.568807
0.642202
0.050279
0.044693
0
0
0
0
0
0
0
0
0
0.209459
1,036
26
79
39.846154
0.874237
0.151544
0
0
0
0
0.195652
0.132723
0
0
0
0.038462
0
1
0.058824
false
0
0.117647
0
0.352941
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
e361aa74a8b8c90ead4c0d0bacea9256ac120b1c
3,078
py
Python
src/fhir_types/FHIR_Patient_Contact.py
anthem-ai/fhir-types
42348655fb3a9b3f131b911d6bc0782da8c14ce4
[ "Apache-2.0" ]
2
2022-02-03T00:51:30.000Z
2022-02-03T18:42:43.000Z
src/fhir_types/FHIR_Patient_Contact.py
anthem-ai/fhir-types
42348655fb3a9b3f131b911d6bc0782da8c14ce4
[ "Apache-2.0" ]
null
null
null
src/fhir_types/FHIR_Patient_Contact.py
anthem-ai/fhir-types
42348655fb3a9b3f131b911d6bc0782da8c14ce4
[ "Apache-2.0" ]
null
null
null
from typing import Any, List, Literal, TypedDict from .FHIR_Address import FHIR_Address from .FHIR_CodeableConcept import FHIR_CodeableConcept from .FHIR_ContactPoint import FHIR_ContactPoint from .FHIR_Element import FHIR_Element from .FHIR_HumanName import FHIR_HumanName from .FHIR_Period import FHIR_Period from .FH...
75.073171
836
0.760234
432
3,078
5.349537
0.326389
0.023799
0.015578
0.00952
0.268282
0.268282
0.268282
0.268282
0.268282
0.268282
0
0
0.196556
3,078
40
837
76.95
0.934493
0.665692
0
0
0
0
0.128937
0
0
0
0
0
0
1
0
false
0
0.346154
0
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
0
0
0
0
0
0
1
0
0
0
0
1
e362bfd314cd31fda1522d9852616f1eaa4f0cc2
2,359
py
Python
packages/python/m/github/ci_dataclasses.py
LaudateCorpus1/m
57e258ddb1347f8e29673410e12575d203bb19c8
[ "MIT" ]
null
null
null
packages/python/m/github/ci_dataclasses.py
LaudateCorpus1/m
57e258ddb1347f8e29673410e12575d203bb19c8
[ "MIT" ]
null
null
null
packages/python/m/github/ci_dataclasses.py
LaudateCorpus1/m
57e258ddb1347f8e29673410e12575d203bb19c8
[ "MIT" ]
1
2021-12-31T13:25:33.000Z
2021-12-31T13:25:33.000Z
from dataclasses import dataclass from typing import List, Optional from ..core.io import JsonStr @dataclass class Author(JsonStr): """An object representing a commiter.""" login: str avatar_url: str email: str @dataclass class AssociatedPullRequest(JsonStr): """Information for commits that are...
23.828283
75
0.669775
299
2,359
5.157191
0.327759
0.057069
0.033074
0.02594
0.291829
0.268482
0.233463
0.175097
0.059663
0
0
0
0.242052
2,359
98
76
24.071429
0.862416
0.233574
0
0.432836
0
0
0
0
0
0
0
0
0
1
0.044776
false
0
0.044776
0
0.850746
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
e368b253c750519380afd297cf8af042fac1f576
2,821
py
Python
patients/migrations/0005_auto_20180216_1200.py
josdavidmo/clinical_records
f344aa3e989731cfae9e921300bd0595e5a2e207
[ "Apache-2.0" ]
null
null
null
patients/migrations/0005_auto_20180216_1200.py
josdavidmo/clinical_records
f344aa3e989731cfae9e921300bd0595e5a2e207
[ "Apache-2.0" ]
7
2021-02-08T20:25:23.000Z
2022-03-11T23:31:03.000Z
patients/migrations/0005_auto_20180216_1200.py
josdavidmo/clinical_records
f344aa3e989731cfae9e921300bd0595e5a2e207
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.10 on 2018-02-16 12:00 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('patients', '0004_auto_20180215_1208'), ] operatio...
38.121622
126
0.577455
272
2,821
5.823529
0.327206
0.051136
0.079545
0.106061
0.557449
0.51452
0.323232
0.323232
0.275253
0.275253
0
0.028
0.291032
2,821
73
127
38.643836
0.764
0.024459
0
0.484848
1
0
0.126591
0.016006
0
0
0
0
0
1
0
false
0
0.045455
0
0.090909
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
e36be3e2564f6ebfaab8b6efa142ac1a0c57994c
10,714
py
Python
diffpy/srxplanar/mask.py
yevgenyr/diffpy.srxplanar
67d4dae2d9c2267e1c4d18a9901525cc35009530
[ "BSD-3-Clause" ]
1
2015-12-12T20:54:14.000Z
2015-12-12T20:54:14.000Z
diffpy/srxplanar/mask.py
yevgenyr/diffpy.srxplanar
67d4dae2d9c2267e1c4d18a9901525cc35009530
[ "BSD-3-Clause" ]
1
2021-06-15T21:54:44.000Z
2021-06-16T00:32:03.000Z
diffpy/srxplanar/mask.py
yevgenyr/diffpy.srxplanar
67d4dae2d9c2267e1c4d18a9901525cc35009530
[ "BSD-3-Clause" ]
4
2015-09-23T17:47:15.000Z
2022-03-24T22:37:23.000Z
#!/usr/bin/env python ############################################################################## # # diffpy.srxplanar by DANSE Diffraction group # Simon J. L. Billinge # (c) 2010 Trustees of the Columbia University # in the City of New York. All rights r...
42.515873
130
0.595389
1,282
10,714
4.958658
0.24025
0.015416
0.019821
0.017618
0.227308
0.212364
0.204499
0.186094
0.186094
0.145981
0
0.010953
0.309782
10,714
251
131
42.685259
0.848682
0.034348
0
0.158333
0
0
0.037219
0
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.008333
0
0
0
null
0
0
0
0
0
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
e36c6dacf4d0c90986407ccf9247591f491ad95e
1,521
py
Python
haxizhijiao/hzxi/haxi_simple_model_CRUD.py
15354333388/haxizhijiao
89bf745dc34a2fa5e91bcbd4d8ced0c5526979c0
[ "Apache-2.0" ]
null
null
null
haxizhijiao/hzxi/haxi_simple_model_CRUD.py
15354333388/haxizhijiao
89bf745dc34a2fa5e91bcbd4d8ced0c5526979c0
[ "Apache-2.0" ]
null
null
null
haxizhijiao/hzxi/haxi_simple_model_CRUD.py
15354333388/haxizhijiao
89bf745dc34a2fa5e91bcbd4d8ced0c5526979c0
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 from . import database_operation class HaxiSimpleCrud(object): @staticmethod def get(table, limit=None, skip=None, desc=None, fields=[], contions={}): return database_operation.DatabaseOperation(table).find(fields=fields, contions=contions, limit=limit, skip=skip, desc=desc) @sta...
33.065217
132
0.587771
161
1,521
5.503106
0.291925
0.03386
0.153499
0.176072
0.216704
0.216704
0.117381
0.117381
0.117381
0
0
0.00675
0.318212
1,521
45
133
33.8
0.847637
0.017094
0
0.473684
0
0
0.018097
0
0
0
0
0
0
1
0.105263
false
0
0.026316
0.026316
0.368421
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
e36c740d836c7c50ff52cb3135d787682b9ba19d
45,880
py
Python
user_program/usb4vc_ui.py
DaveRichmond/USB4VC
ed3c2b1e0f44186c8d43ff9dbe1e93a258819376
[ "MIT" ]
null
null
null
user_program/usb4vc_ui.py
DaveRichmond/USB4VC
ed3c2b1e0f44186c8d43ff9dbe1e93a258819376
[ "MIT" ]
null
null
null
user_program/usb4vc_ui.py
DaveRichmond/USB4VC
ed3c2b1e0f44186c8d43ff9dbe1e93a258819376
[ "MIT" ]
null
null
null
# https://luma-oled.readthedocs.io/en/latest/software.html import os import sys import time import threading from demo_opts import get_device from luma.core.render import canvas from PIL import ImageFont import RPi.GPIO as GPIO import usb4vc_usb_scan import usb4vc_shared import json import subprocess from subprocess i...
47.741935
1,075
0.623278
6,770
45,880
3.95229
0.099114
0.020518
0.037486
0.045521
0.483388
0.411406
0.328736
0.271181
0.222073
0.17558
0
0.082316
0.255427
45,880
960
1,076
47.791667
0.700946
0.022886
0
0.311656
0
0.007362
0.121396
0.039243
0
0
0.003779
0
0
1
0.056442
false
0.001227
0.015951
0.003681
0.115337
0.105521
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
e36d7041cd2ac9accadfecccf5f6004162f98e5c
612
py
Python
aioamqp/tests/test_recover.py
michael-k/aioamqp
003115fb679df2e9b46a3243899c108f8019a61a
[ "BSD-3-Clause" ]
null
null
null
aioamqp/tests/test_recover.py
michael-k/aioamqp
003115fb679df2e9b46a3243899c108f8019a61a
[ "BSD-3-Clause" ]
null
null
null
aioamqp/tests/test_recover.py
michael-k/aioamqp
003115fb679df2e9b46a3243899c108f8019a61a
[ "BSD-3-Clause" ]
null
null
null
""" Amqp basic tests for recover methods """ import unittest from . import testcase from . import testing class RecoverTestCase(testcase.RabbitTestCase, unittest.TestCase): @testing.coroutine def test_basic_recover_async(self): yield from self.channel.basic_recover_async(requeue=True) @tes...
24.48
68
0.743464
75
612
5.866667
0.36
0.163636
0.154545
0.156818
0.552273
0.552273
0.4
0.218182
0.218182
0
0
0
0.178105
612
24
69
25.5
0.874751
0.058824
0
0.214286
0
0
0
0
0
0
0
0
0.071429
1
0.214286
false
0
0.214286
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e376248949fb8aa848e81fcba32371fb239fe607
1,685
py
Python
superutils/utils.py
cshanxiao/superutils
c3379ebc1500505431145b1b93148563ed2cd1bd
[ "MIT" ]
null
null
null
superutils/utils.py
cshanxiao/superutils
c3379ebc1500505431145b1b93148563ed2cd1bd
[ "MIT" ]
null
null
null
superutils/utils.py
cshanxiao/superutils
c3379ebc1500505431145b1b93148563ed2cd1bd
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- u''' @summary: @author: cshanxiao @date: 2016-07-18 ''' import time def print_obj(obj, inner=True, full=False): print "\nStart {} {}".format(obj, "=" * 50) print "dir info: {}".format(dir(obj)) for attr in dir(obj): try: if attr.startswith("_...
28.559322
70
0.481306
187
1,685
4.13369
0.42246
0.046572
0.028461
0.049159
0.11643
0.059508
0
0
0
0
0
0.020389
0.359644
1,685
58
71
29.051724
0.696015
0.012463
0
0.045455
0
0
0.126533
0
0
0
0
0
0
0
null
null
0
0.022727
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
e3772b8ac01ebff77ce5da28e8e7e1610aa83982
2,548
py
Python
foo/api_image.py
CyberlifeCN/qrcode
d566e00ccdafd4a4be3cb4cd8a816856d988a8b7
[ "Apache-2.0" ]
1
2018-10-15T14:07:27.000Z
2018-10-15T14:07:27.000Z
foo/api_image.py
CyberlifeCN/qrcode
d566e00ccdafd4a4be3cb4cd8a816856d988a8b7
[ "Apache-2.0" ]
1
2021-06-17T12:52:15.000Z
2021-06-17T12:52:15.000Z
foo/api_image.py
CyberlifeCN/cyber-qrcode
d566e00ccdafd4a4be3cb4cd8a816856d988a8b7
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # _*_ coding: utf-8_*_ # # Copyright 2016-2017 7x24hs.com # thomas@7x24hs.com # # 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/LICE...
32.666667
98
0.677394
331
2,548
5.07855
0.492447
0.045806
0.040452
0.059488
0.072576
0.035693
0
0
0
0
0
0.016966
0.213501
2,548
77
99
33.090909
0.821856
0.302983
0
0
0
0
0.123522
0.049645
0
0
0
0
0
1
0.05
false
0
0.35
0
0.45
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e37f784df46f476399855322b1f8ea37477ca6a8
1,462
py
Python
src/dataset/base_face.py
chuanli11/SADRNet
2bb4adb0c9ea5506800758566b255ba507330714
[ "Apache-2.0" ]
67
2021-06-10T08:13:55.000Z
2022-03-25T03:23:07.000Z
src/dataset/base_face.py
chuanli11/SADRNet
2bb4adb0c9ea5506800758566b255ba507330714
[ "Apache-2.0" ]
19
2021-04-18T16:17:39.000Z
2022-03-29T07:04:01.000Z
src/dataset/base_face.py
chuanli11/SADRNet
2bb4adb0c9ea5506800758566b255ba507330714
[ "Apache-2.0" ]
18
2021-06-30T02:19:50.000Z
2022-03-22T12:24:49.000Z
import os import sys import numpy as np import scipy.io as sio from skimage import io import time import math import skimage import src.faceutil from src.faceutil import mesh from src.faceutil.morphable_model import MorphabelModel from src.util.matlabutil import NormDirection from math import sin, cos, asin, acos, atan...
24.366667
55
0.528044
240
1,462
3.204167
0.316667
0.020806
0.019506
0.015605
0.036411
0.036411
0
0
0
0
0
0.056202
0.294118
1,462
59
56
24.779661
0.688953
0.103283
0
0
0
0
0.012529
0
0
0
0
0
0
1
0.02381
false
0
0.357143
0
0.404762
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
e382bc03fc12e4844550a30637dc97a05140abd0
1,541
py
Python
python/wecall/utils/tabix_wrapper.py
dylex/wecall
35d24cefa4fba549e737cd99329ae1b17dd0156b
[ "MIT" ]
8
2018-10-08T15:47:21.000Z
2021-11-09T07:13:05.000Z
python/wecall/utils/tabix_wrapper.py
dylex/wecall
35d24cefa4fba549e737cd99329ae1b17dd0156b
[ "MIT" ]
4
2018-11-05T09:16:27.000Z
2020-04-09T12:32:56.000Z
python/wecall/utils/tabix_wrapper.py
dylex/wecall
35d24cefa4fba549e737cd99329ae1b17dd0156b
[ "MIT" ]
4
2019-09-03T15:46:39.000Z
2021-06-04T07:28:33.000Z
# All content Copyright (C) 2018 Genomics plc from wecall.genomics.chromosome import standardise_chromosome import pysam class TabixWrapper(object): def __init__(self, tabix_filename): self.__tabix_file = pysam.Tabixfile(tabix_filename, 'r') self.__contig_mapping = {standardise_chromosome( ...
30.215686
74
0.621674
170
1,541
5.311765
0.388235
0.089701
0.115172
0.084164
0.215947
0
0
0
0
0
0
0.003759
0.309539
1,541
50
75
30.82
0.844925
0.093446
0
0.216216
0
0
0.000718
0
0
0
0
0
0
1
0.216216
false
0
0.054054
0.081081
0.459459
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
8b517bf1152a34e1cb86e1dcf434291ca9404457
1,238
py
Python
dwinelle/video/gen_3d.py
oliverodaa/cs184-final-proj
8ba0a5d8c33d7544f1369c9bf1cfee71204519ed
[ "MIT" ]
1
2017-04-22T08:54:24.000Z
2017-04-22T08:54:24.000Z
dwinelle/video/gen_3d.py
oliverodaa/cs184-final-proj
8ba0a5d8c33d7544f1369c9bf1cfee71204519ed
[ "MIT" ]
null
null
null
dwinelle/video/gen_3d.py
oliverodaa/cs184-final-proj
8ba0a5d8c33d7544f1369c9bf1cfee71204519ed
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # This file is part of dwinelle-tools. # dwinelle-tools is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # dwi...
47.615385
159
0.673667
206
1,238
4.009709
0.514563
0.062954
0.047216
0.069007
0.168281
0.136804
0.043584
0.043584
0.043584
0.043584
0
0.012276
0.144588
1,238
25
160
49.52
0.767705
0.5937
0
0
0
0
0.236735
0.095918
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
8b58cc1d16aa08303d115cf891cee35f9b78eb51
2,697
py
Python
keras_classification_test.py
redkfa/PDF_classification
7963a798920f8653ab7695efbf1722356c93c41e
[ "MIT" ]
null
null
null
keras_classification_test.py
redkfa/PDF_classification
7963a798920f8653ab7695efbf1722356c93c41e
[ "MIT" ]
null
null
null
keras_classification_test.py
redkfa/PDF_classification
7963a798920f8653ab7695efbf1722356c93c41e
[ "MIT" ]
null
null
null
from keras.preprocessing.image import ImageDataGenerator from keras.layers import Conv2D, MaxPooling2D from keras.layers import Activation, Dropout, Flatten, Dense from keras import backend as K from keras.applications.vgg19 import VGG19 from keras.models import Model from keras.layers.normalization import BatchNormali...
30.303371
105
0.790879
399
2,697
5.130326
0.320802
0.03957
0.035173
0.046898
0.224231
0.138251
0.094773
0.094773
0.059599
0.059599
0
0.017213
0.095291
2,697
89
106
30.303371
0.821721
0.069707
0
0.095238
0
0
0.075986
0.048144
0
0
0
0
0
1
0
false
0
0.452381
0
0.452381
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8b59242e63d79f99f0760b0785f1a54d63c7df86
1,520
py
Python
tests/test_submission_builder.py
mverteuil/mig3-client
2603e78ac37b76dcd1e162ff3a0a042ab1d77269
[ "MIT" ]
3
2019-04-26T19:43:47.000Z
2019-05-04T02:23:36.000Z
tests/test_submission_builder.py
mverteuil/mig3-client
2603e78ac37b76dcd1e162ff3a0a042ab1d77269
[ "MIT" ]
32
2019-05-04T02:22:46.000Z
2021-07-14T10:22:05.000Z
tests/test_submission_builder.py
mverteuil/mig3-client
2603e78ac37b76dcd1e162ff3a0a042ab1d77269
[ "MIT" ]
2
2019-05-02T20:49:31.000Z
2019-05-04T02:20:55.000Z
# -*- coding: utf-8 -*- import mock from mig3_client import SubmissionBuilder def test_minimum_viable_submission(converted_tests): """Should produce something""" submission = SubmissionBuilder("t", "b", converted_tests).build() assert submission is not None def test_configuration_id(converted_tests): ...
38
90
0.701974
180
1,520
5.8
0.327778
0.10728
0.1341
0.138889
0.439655
0.356322
0.356322
0.356322
0.356322
0.242337
0
0.006982
0.151974
1,520
39
91
38.974359
0.802948
0.188816
0
0.190476
0
0
0.101077
0
0
0
0
0
0.285714
1
0.238095
false
0
0.095238
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
1
0
0
0
0
0
0
0
1
8b5a7b2cb526db02fffc5d15afcbbdc4a478ce68
412
py
Python
src/exabgp/util/od.py
pierky/exabgp
34be537ae5906c0830b31da1152ae63108ccf911
[ "BSD-3-Clause" ]
1,560
2015-01-01T08:53:05.000Z
2022-03-29T20:22:43.000Z
src/exabgp/util/od.py
pierky/exabgp
34be537ae5906c0830b31da1152ae63108ccf911
[ "BSD-3-Clause" ]
818
2015-01-01T17:38:40.000Z
2022-03-30T07:29:24.000Z
src/exabgp/util/od.py
pierky/exabgp
34be537ae5906c0830b31da1152ae63108ccf911
[ "BSD-3-Clause" ]
439
2015-01-06T21:20:41.000Z
2022-03-19T23:24:25.000Z
# encoding: utf-8 """ od.py Created by Thomas Mangin on 2009-09-06. Copyright (c) 2009-2017 Exa Networks. All rights reserved. License: 3-clause BSD. (See the COPYRIGHT file) """ def od(value): def spaced(value): even = None for v in value: if even is False: yield ' ' ...
19.619048
58
0.56068
57
412
4.052632
0.77193
0.095238
0
0
0
0
0
0
0
0
0
0.072202
0.32767
412
20
59
20.6
0.761733
0.412621
0
0
0
0
0.021368
0
0
0
0
0
0
1
0.222222
false
0
0
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
1
0
0
0
0
0
0
0
1
8b5c3e18b5b25fd319ca8a34b4c61f95a5d4fe91
530
py
Python
cap2/extensions/experimental/strains/strainotyping/cli.py
nanusefue/CAP2-1
670b343ac7629fe0e64e86263ae420b01952f427
[ "MIT" ]
9
2020-07-10T15:45:12.000Z
2022-01-19T10:44:13.000Z
cap2/extensions/experimental/strains/strainotyping/cli.py
nanusefue/CAP2-1
670b343ac7629fe0e64e86263ae420b01952f427
[ "MIT" ]
14
2020-06-15T16:04:54.000Z
2022-03-12T01:05:47.000Z
cap2/extensions/experimental/strains/strainotyping/cli.py
nanusefue/CAP2-1
670b343ac7629fe0e64e86263ae420b01952f427
[ "MIT" ]
5
2021-01-05T01:26:48.000Z
2022-01-23T11:20:49.000Z
import click from .io import write_graph_to_filepath from .api import merge_filter_graphs_from_filepaths @click.group('strainotype') def strainotype_cli(): pass @strainotype_cli.command('merge') @click.option('-m', '--min-weight', default=2) @click.option('-o', '--outfile', type=click.File('w'), default='-') ...
26.5
76
0.754717
74
530
5.121622
0.459459
0.094987
0.063325
0.105541
0.158311
0
0
0
0
0
0
0.004184
0.098113
530
19
77
27.894737
0.788703
0
0
0
0
0
0.098299
0
0
0
0
0
0
1
0.153846
false
0.076923
0.230769
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8b5e723edc11c67189cc108eb3b9c365ef51beae
512
py
Python
kyokigo/migrations/0002_auto_20180405_0755.py
seoworks0/docker_test2
9ea4a62a8a669d8b1e4be40979b53c0c26ad052f
[ "Apache-2.0" ]
null
null
null
kyokigo/migrations/0002_auto_20180405_0755.py
seoworks0/docker_test2
9ea4a62a8a669d8b1e4be40979b53c0c26ad052f
[ "Apache-2.0" ]
null
null
null
kyokigo/migrations/0002_auto_20180405_0755.py
seoworks0/docker_test2
9ea4a62a8a669d8b1e4be40979b53c0c26ad052f
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.0.3 on 2018-04-05 07:55 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('kyokigo', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='kyokigo_input', name='ownurl', ...
22.26087
72
0.578125
52
512
5.557692
0.730769
0.062284
0.110727
0.145329
0.17301
0
0
0
0
0
0
0.061798
0.304688
512
22
73
23.272727
0.75
0.087891
0
0.25
1
0
0.126882
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8b673f1ce6649199e398939286b0efa626185652
700
py
Python
databases/migrations/2021_12_09_065718_ThirdStorage.py
knguyen111601/test_penguin_project_4_backend
345551beffd56f835bdfe6d2b49ca0523e49a2f3
[ "MIT" ]
null
null
null
databases/migrations/2021_12_09_065718_ThirdStorage.py
knguyen111601/test_penguin_project_4_backend
345551beffd56f835bdfe6d2b49ca0523e49a2f3
[ "MIT" ]
null
null
null
databases/migrations/2021_12_09_065718_ThirdStorage.py
knguyen111601/test_penguin_project_4_backend
345551beffd56f835bdfe6d2b49ca0523e49a2f3
[ "MIT" ]
null
null
null
"""ThirdStorage Migration.""" from masoniteorm.migrations import Migration class ThirdStorage(Migration): def up(self): """ Run the migrations. """ with self.schema.create("thirdstorages") as table: table.increments("id") table.string("thirdstorage_name") ...
26.923077
58
0.587143
62
700
6.532258
0.516129
0.135802
0.283951
0
0
0
0
0
0
0
0
0
0.295714
700
25
59
28
0.821501
0.094286
0
0
0
0
0.225086
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0
0.285714
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8b6f1bf7572f2eb4111eb9a4ac8549c16ca114c4
495
py
Python
pypro/modulos/migrations/0004_populando_slug.py
wosubtil/curso-django
4673e71fbbec062c74dfaf866ff13b81383e3fcc
[ "MIT" ]
null
null
null
pypro/modulos/migrations/0004_populando_slug.py
wosubtil/curso-django
4673e71fbbec062c74dfaf866ff13b81383e3fcc
[ "MIT" ]
806
2020-09-18T11:26:48.000Z
2022-03-31T00:43:46.000Z
pypro/modulos/migrations/0004_populando_slug.py
wosubtil/curso-django
4673e71fbbec062c74dfaf866ff13b81383e3fcc
[ "MIT" ]
null
null
null
# Generated by Django 3.1.3 on 2020-11-25 11:09 from django.db import migrations from django.utils.text import slugify def popular_slug(apps, schema_editor): Modulo = apps.get_model('modulos', 'Modulo') for modulo in Modulo.objects.all(): modulo.slug = slugify(modulo.titulo) modulo.save() cl...
22.5
48
0.672727
62
495
5.274194
0.629032
0.061162
0
0
0
0
0
0
0
0
0
0.048843
0.214141
495
21
49
23.571429
0.791774
0.090909
0
0
1
0
0.080357
0
0
0
0
0
0
1
0.071429
false
0
0.142857
0
0.428571
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
8b7182e193e9c4f20eaf4f6c7b5b3c0eadfc7922
223
py
Python
todos/urls.py
sunilsm7/django-htmx
401be32d671d30d4be8ed61f83a54ef3f4df2742
[ "MIT" ]
null
null
null
todos/urls.py
sunilsm7/django-htmx
401be32d671d30d4be8ed61f83a54ef3f4df2742
[ "MIT" ]
null
null
null
todos/urls.py
sunilsm7/django-htmx
401be32d671d30d4be8ed61f83a54ef3f4df2742
[ "MIT" ]
null
null
null
from django.urls import path from .views import index, search, todo_list_view urlpatterns = [ path('', index, name='index'), path('list', todo_list_view, name='list'), path('search/', search, name='search') ]
22.3
48
0.668161
30
223
4.833333
0.433333
0.110345
0.165517
0
0
0
0
0
0
0
0
0
0.165919
223
9
49
24.777778
0.77957
0
0
0
0
0
0.116592
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
8b74ee32833927cdbff9cf11d8a3b5637456270b
527
py
Python
robinhood.py
CThax12/Stonk-Tracker
f6e42eff257ecf4215bad8bb702d29b62a6e1ba4
[ "MIT" ]
null
null
null
robinhood.py
CThax12/Stonk-Tracker
f6e42eff257ecf4215bad8bb702d29b62a6e1ba4
[ "MIT" ]
null
null
null
robinhood.py
CThax12/Stonk-Tracker
f6e42eff257ecf4215bad8bb702d29b62a6e1ba4
[ "MIT" ]
null
null
null
import RobinhoodFunctions as rf email, password = rf.getCredentials() rf.loginToRH(email, password) allPositions = [] allPositions = rf.getAllOptions(allPositions) frequentTickers = rf.getFrequentTickers(allPositions) rf.r.options.write_spinner() rf.r.options.spinning_cursor() optionNames, entryPrices, calls, puts = r...
31
93
0.812144
56
527
7.607143
0.553571
0.061033
0.046948
0.14554
0.15493
0
0
0
0
0
0
0
0.083491
527
16
94
32.9375
0.881988
0
0
0
0
0
0.062619
0
0
0
0
0
0
1
0
false
0.166667
0.083333
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
0
0
0
0
0
1
0
0
0
0
0
1
8b866b7926252c83842303b0a9dd758d74e4889e
43,810
py
Python
src/cmssh/cms_cmds.py
dmwm/cmssh
0cd6e104185938d21b10b053479e890c9f4f3b57
[ "Apache-2.0" ]
2
2016-07-26T18:36:03.000Z
2017-05-09T08:34:41.000Z
src/cmssh/cms_cmds.py
dmwm/cmssh
0cd6e104185938d21b10b053479e890c9f4f3b57
[ "Apache-2.0" ]
1
2015-01-30T16:00:13.000Z
2015-01-31T21:59:29.000Z
src/cmssh/cms_cmds.py
dmwm/cmssh
0cd6e104185938d21b10b053479e890c9f4f3b57
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python #-*- coding: ISO-8859-1 -*- #pylint: disable-msg=W0702 """ Set of UNIX commands, e.g. ls, cp, supported in cmssh. """ # system modules import os import re import sys import time import json import glob import shutil import base64 import pprint import mimetypes import traceback import subprocess ...
34.333856
119
0.578407
5,787
43,810
4.277519
0.125108
0.02036
0.009291
0.01018
0.245778
0.177183
0.143209
0.121556
0.099459
0.085926
0
0.014478
0.295252
43,810
1,275
120
34.360784
0.787271
0.031568
0
0.298097
0
0.006342
0.241262
0.021434
0
0
0
0
0
0
null
null
0
0.036998
null
null
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
1
0
0
0
0
0
0
0
0
1
8b8ab3d937a04671acc1f306f6671c549f03ec26
1,313
py
Python
christmas_tree..py
SmashedFrenzy16/christmas-tree
94522b72cac8ec86ea0e50492260008d28c0b40e
[ "Apache-2.0" ]
null
null
null
christmas_tree..py
SmashedFrenzy16/christmas-tree
94522b72cac8ec86ea0e50492260008d28c0b40e
[ "Apache-2.0" ]
null
null
null
christmas_tree..py
SmashedFrenzy16/christmas-tree
94522b72cac8ec86ea0e50492260008d28c0b40e
[ "Apache-2.0" ]
null
null
null
import turtle s = turtle.Screen() t = turtle.Turtle() s.title("Christmas Tree") s.setup(width=800, height=600) # Title on the window pen = turtle.Turtle() pen.speed(0) pen.color("black") pen.penup() pen.hideturtle() pen.goto(0, 260) pen.write("Christmas Tree", align="center",font=("Arial", 24, "normal")) # Starting...
9.94697
72
0.617669
303
1,313
2.643564
0.247525
0.097378
0.074906
0.059925
0.461923
0.365793
0.334582
0.330836
0.29588
0.29588
0
0.131047
0.134044
1,313
131
73
10.022901
0.573439
0.071592
0
0.752577
0
0
0.0545
0
0
0
0
0
0
1
0
false
0
0.010309
0
0.010309
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8b8b6b3e1af29f16a30defdc6caa202944ef6d5e
2,446
py
Python
features/support/actions.py
alexgarzao/beeweb
c67d024c2d43c6bb2da7ba6877c1648e8760f036
[ "MIT" ]
5
2017-11-10T12:48:10.000Z
2018-02-21T21:29:52.000Z
features/support/actions.py
alexgarzao/beeweb
c67d024c2d43c6bb2da7ba6877c1648e8760f036
[ "MIT" ]
1
2018-04-22T00:08:16.000Z
2018-04-22T00:08:16.000Z
features/support/actions.py
alexgarzao/beeweb
c67d024c2d43c6bb2da7ba6877c1648e8760f036
[ "MIT" ]
2
2017-11-10T17:06:34.000Z
2017-11-11T03:27:46.000Z
from parse import parse class Actions: def __init__(self): self.actions = {} self.unused = set() self.used = set() # TODO: Refactor: Deveria ter classe Action, e ela deveria ser retornada nesta funcao. def add_action(self, action_name): action_name = action_name.lower() ...
31.766234
116
0.642273
286
2,446
5.258741
0.244755
0.152926
0.055851
0.066489
0.294548
0.236702
0.236702
0.236702
0.236702
0.176862
0
0
0.265331
2,446
76
117
32.184211
0.83695
0.034342
0
0.2
0
0
0.04661
0
0
0
0
0.013158
0.018182
1
0.163636
false
0.036364
0.018182
0.018182
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
8b8ed70b02266901d8d0a4b6c70d23a32e4b6003
2,193
py
Python
Codebase/Deprecated_Codebase_I/circular_magnetic_field.py
psmd-iberutaru/Akamai_Internship
ed02cecbb8ac3f93e26595befacd2ca997a7a747
[ "Unlicense" ]
null
null
null
Codebase/Deprecated_Codebase_I/circular_magnetic_field.py
psmd-iberutaru/Akamai_Internship
ed02cecbb8ac3f93e26595befacd2ca997a7a747
[ "Unlicense" ]
2
2018-08-09T08:53:20.000Z
2018-08-11T14:25:38.000Z
Codebase/Deprecated_Codebase_I/circular_magnetic_field.py
psmd-iberutaru/Akamai_Internship
ed02cecbb8ac3f93e26595befacd2ca997a7a747
[ "Unlicense" ]
null
null
null
import inspect import numpy as np import scipy as sp import scipy.special as sp_spcl import matplotlib.pyplot as plt from Robustness.exception import * import Robustness.validation as valid import gaussian_fitting as gaussfit import bessel_fitting as bessfit import misc_functions as misc def circular_magnetic_field...
30.887324
80
0.679891
328
2,193
4.387195
0.344512
0.04517
0.062543
0.079917
0.161223
0.161223
0.122307
0.122307
0.122307
0.122307
0
0.003064
0.255814
2,193
71
81
30.887324
0.878676
0.392613
0
0
0
0
0.000789
0
0
0
0
0
0
1
0.064516
false
0
0.322581
0
0.451613
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
8b93ee0b565b1b990ac4d2397dc5658e352fa4c1
347
py
Python
setup.py
TheRockXu/aifin
1e613406fd898403b5085e6c4f10bfbd88a42d21
[ "Apache-2.0" ]
3
2020-03-28T03:47:29.000Z
2021-03-03T12:42:27.000Z
setup.py
TheRockXu/aifin
1e613406fd898403b5085e6c4f10bfbd88a42d21
[ "Apache-2.0" ]
null
null
null
setup.py
TheRockXu/aifin
1e613406fd898403b5085e6c4f10bfbd88a42d21
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from distutils.core import setup setup(name='aifin', version='1.0.1', description='Python Distribution Utilities', author='Rocky Xu', author_email='percyxu@hotmail.com', url='aitroopers.com', packages=['aifin'], install_requires=[ 'pand...
21.6875
50
0.585014
37
347
5.432432
0.837838
0
0
0
0
0
0
0
0
0
0
0.011811
0.268012
347
15
51
23.133333
0.779528
0.057637
0
0
0
0
0.294479
0
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
8b97c3a4c9f5c3b8ad33cc54c1d939809d44ad5b
1,302
py
Python
src/quick_sort.py
sean-bai/sort
fd2f12952c2a6018611307c1e3a6556f95dd04d6
[ "MIT" ]
null
null
null
src/quick_sort.py
sean-bai/sort
fd2f12952c2a6018611307c1e3a6556f95dd04d6
[ "MIT" ]
null
null
null
src/quick_sort.py
sean-bai/sort
fd2f12952c2a6018611307c1e3a6556f95dd04d6
[ "MIT" ]
null
null
null
from typing import List, NoReturn def quick_sort(in_list: List[int], s_idx: int, e_idx: int) -> NoReturn: if e_idx > s_idx: first_idx = s_idx last_idx = e_idx base_idx = int((s_idx + e_idx)/2) base_val = in_list[base_idx] in_list[first_idx], in_list[base_i...
31.756098
87
0.539939
211
1,302
2.947867
0.203791
0.221865
0.144695
0.11254
0.305466
0.292605
0.27492
0.086817
0
0
0
0.07168
0.34639
1,302
40
88
32.55
0.659224
0
0
0.290323
0
0
0.017665
0
0
0
0
0
0.032258
1
0.032258
false
0
0.032258
0
0.064516
0.032258
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
8b99cc4a73504582de746385ec24c7dc27482cf8
2,954
py
Python
appengine/components/tests/auth_endpoints_smoke_test.py
pombreda/swarming
c70f311f3db8f25752c793a0d7b36cf537d95580
[ "Apache-2.0" ]
null
null
null
appengine/components/tests/auth_endpoints_smoke_test.py
pombreda/swarming
c70f311f3db8f25752c793a0d7b36cf537d95580
[ "Apache-2.0" ]
null
null
null
appengine/components/tests/auth_endpoints_smoke_test.py
pombreda/swarming
c70f311f3db8f25752c793a0d7b36cf537d95580
[ "Apache-2.0" ]
1
2021-12-06T03:37:36.000Z
2021-12-06T03:37:36.000Z
#!/usr/bin/env python # Copyright 2014 The Swarming Authors. All rights reserved. # Use of this source code is governed by the Apache v2.0 license that can be # found in the LICENSE file. """Smoke test for Cloud Endpoints support in auth component. It launches app via dev_appserver and queries a bunch of cloud endpoi...
29.54
79
0.686188
402
2,954
4.878109
0.385572
0.032126
0.007649
0.042835
0.18613
0.18613
0.165222
0.165222
0.115247
0.115247
0
0.020886
0.189573
2,954
99
80
29.838384
0.798246
0.220379
0
0.125
0
0
0.150109
0.06302
0
0
0
0.010101
0.140625
1
0.125
false
0.015625
0.0625
0.015625
0.21875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
8b9f88716f037f4d90e1e2838e702199597b81f0
780
py
Python
optic_store/doc_events/serial_no.py
iptelephony/optic_store
9c5e6e2f7170d18ecac8dd53133a62a3250cd834
[ "MIT" ]
14
2019-05-14T09:33:58.000Z
2022-03-19T14:43:36.000Z
optic_store/doc_events/serial_no.py
iptelephony/optic_store
9c5e6e2f7170d18ecac8dd53133a62a3250cd834
[ "MIT" ]
18
2019-03-22T19:51:22.000Z
2020-08-04T13:57:27.000Z
optic_store/doc_events/serial_no.py
iptelephony/optic_store
9c5e6e2f7170d18ecac8dd53133a62a3250cd834
[ "MIT" ]
25
2019-05-15T08:31:17.000Z
2022-02-25T07:21:18.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2019, 9T9IT and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe def after_insert(doc, method): is_gift_card = frappe.db.get_value("Item", doc.item_code, "is_gift_card") if is_gift_card: gift_c...
30
87
0.637179
108
780
4.259259
0.398148
0.243478
0.108696
0.13913
0.3
0.26087
0.26087
0.26087
0
0
0
0.011864
0.24359
780
25
88
31.2
0.767797
0.14359
0
0
0
0
0.149096
0
0
0
0
0
0
1
0.117647
false
0
0.117647
0
0.235294
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
8ba161b025beb8395544ef6e69bab72c1ceee0ce
2,622
py
Python
software/Opal/spud/dxdiff/dxdiff/editscript.py
msc-acse/acse-9-independent-research-project-Wade003
cfcba990d52ccf535171cf54c0a91b184db6f276
[ "MIT" ]
2
2020-05-11T02:39:46.000Z
2020-05-11T03:08:38.000Z
software/multifluids_icferst/libspud/dxdiff/dxdiff/editscript.py
msc-acse/acse-9-independent-research-project-Wade003
cfcba990d52ccf535171cf54c0a91b184db6f276
[ "MIT" ]
null
null
null
software/multifluids_icferst/libspud/dxdiff/dxdiff/editscript.py
msc-acse/acse-9-independent-research-project-Wade003
cfcba990d52ccf535171cf54c0a91b184db6f276
[ "MIT" ]
2
2020-05-21T22:50:19.000Z
2020-10-28T17:16:31.000Z
#!/usr/bin/env python # This file is part of dxdiff. # # dxdiff is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
32.775
94
0.581617
314
2,622
4.761147
0.388535
0.060201
0.042809
0.058863
0.176589
0.123077
0
0
0
0
0
0.001093
0.302441
2,622
79
95
33.189873
0.816293
0.257437
0
0.212766
0
0
0.104037
0
0
0
0
0
0
1
0.234043
false
0
0.021277
0.085106
0.382979
0.042553
0
0
0
null
0
0
0
0
0
0
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
8ba1ff6a1ad3dab57d082864322b59bc113edcb5
1,617
py
Python
examples/wordcount/lambda_filter.py
dsouzajude/xFlow
f31796f3fb7d6395b94f324f361e8cce5cca9f62
[ "MIT" ]
13
2017-02-28T04:04:34.000Z
2019-11-08T08:16:05.000Z
examples/wordcount/lambda_filter.py
dsouzajude/xFlow
f31796f3fb7d6395b94f324f361e8cce5cca9f62
[ "MIT" ]
null
null
null
examples/wordcount/lambda_filter.py
dsouzajude/xFlow
f31796f3fb7d6395b94f324f361e8cce5cca9f62
[ "MIT" ]
1
2018-12-28T13:30:44.000Z
2018-12-28T13:30:44.000Z
import json import boto3 import base64 OUTBOUND_EVENT = 'FileFiltered' LETTERS = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' def reword(word): ''' Removes non-letters from word ''' reworded = '' for letter in word: if letter not in LETTERS: continue reworded = rewo...
27.87931
87
0.587508
170
1,617
5.476471
0.423529
0.047261
0.034372
0
0
0
0
0
0
0
0
0.010999
0.325294
1,617
57
88
28.368421
0.842346
0.038343
0
0.071429
0
0
0.147855
0.034323
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8ba29f91e898c413222c360e43f2da420d0c5ddc
1,961
py
Python
CoachYacc.py
crabster15/Coach_plus_plus_plus
9a201b3af3d1fc5eb152892de1c37754c9d28325
[ "MIT" ]
null
null
null
CoachYacc.py
crabster15/Coach_plus_plus_plus
9a201b3af3d1fc5eb152892de1c37754c9d28325
[ "MIT" ]
null
null
null
CoachYacc.py
crabster15/Coach_plus_plus_plus
9a201b3af3d1fc5eb152892de1c37754c9d28325
[ "MIT" ]
null
null
null
import ply.yacc as yacc from CoachLex import tokens #enviromental variables enviro_vars = {} def p_statement_assign(p): 'statement : VARINT VAR expression' enviro_vars[p[2]] = p[3] def p_statement_expr(p): 'statement : expression' def p_statement_output(p): 'statement : OUTPUT expression' print(...
26.863014
83
0.572667
277
1,961
3.956679
0.32852
0.021898
0.024635
0.021898
0.039234
0.021898
0
0
0
0
0
0.029577
0.27588
1,961
73
84
26.863014
0.742254
0.280979
0
0.040816
0
0
0.175862
0
0
0
0
0
0
1
0.204082
false
0
0.040816
0
0.244898
0.061224
0
0
0
null
0
0
0
0
0
0
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
8bb58046e8ae2c1211265194facc94166470ec63
7,332
py
Python
plugins/msg.py
popa222455/botTWO
1a1f2fe5a148a24c99ce3267325d7474af17699b
[ "MIT" ]
9
2017-10-27T18:17:42.000Z
2021-05-20T19:12:16.000Z
plugins/msg.py
popa222455/botTWO
1a1f2fe5a148a24c99ce3267325d7474af17699b
[ "MIT" ]
null
null
null
plugins/msg.py
popa222455/botTWO
1a1f2fe5a148a24c99ce3267325d7474af17699b
[ "MIT" ]
3
2017-11-25T11:19:37.000Z
2022-01-04T07:23:15.000Z
from database import * from plugin_system import Plugin plugin = Plugin("Отправка сообщения", usage=["напиши [id] [сообщение] - написать сообщение пользователю", "анонимно [id] [сообщение] - написать анонимное сообщение пользователю" "(посылать можно только...
31.067797
111
0.650027
1,007
7,332
4.602781
0.180735
0.074218
0.093635
0.10356
0.708522
0.681553
0.674434
0.674434
0.614024
0.614024
0
0.001964
0.235952
7,332
235
112
31.2
0.825419
0
0
0.534161
0
0
0.280278
0.015548
0
0
0
0
0
1
0.012422
false
0.006211
0.012422
0.006211
0.180124
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8bba4a72f56c0a7bf428958d6a81b6ce16cd4e97
582
py
Python
cryptonite/challenge/migrations/0010_challenge_users.py
pshrmn/cryptonite
3f83f34ae6c1733568578c6296e6396872fa5513
[ "MIT" ]
1
2018-01-15T14:44:36.000Z
2018-01-15T14:44:36.000Z
cryptonite/challenge/migrations/0010_challenge_users.py
pshrmn/cryptonite
3f83f34ae6c1733568578c6296e6396872fa5513
[ "MIT" ]
null
null
null
cryptonite/challenge/migrations/0010_challenge_users.py
pshrmn/cryptonite
3f83f34ae6c1733568578c6296e6396872fa5513
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-09-21 06:10 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cryptographer', '0001_cryptographer_user'), ('challenge', '0009_cryptographer_user'), ...
26.454545
127
0.652921
57
582
6.491228
0.719298
0.091892
0
0
0
0
0
0
0
0
0
0.053333
0.226804
582
21
128
27.714286
0.768889
0.113402
0
0
1
0
0.267057
0.196881
0
0
0
0
0
1
0
false
0
0.142857
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
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8bc01e7da30cdfc8fac50ab1dfc9099b9c957e7d
2,397
py
Python
broker/src/ave/broker/profile.py
yiu31802/ave
e46fc357f9464d5beaf42568a74bb95e6b1b8037
[ "BSD-3-Clause" ]
17
2016-11-16T08:09:49.000Z
2021-08-12T06:38:09.000Z
broker/src/ave/broker/profile.py
yiu31802/ave
e46fc357f9464d5beaf42568a74bb95e6b1b8037
[ "BSD-3-Clause" ]
null
null
null
broker/src/ave/broker/profile.py
yiu31802/ave
e46fc357f9464d5beaf42568a74bb95e6b1b8037
[ "BSD-3-Clause" ]
12
2016-11-20T15:34:03.000Z
2020-08-04T00:26:11.000Z
# Copyright (C) 2013 Sony Mobile Communications AB. # All rights, including trade secret rights, reserved. from ave.profile import Profile from ave.handset.profile import HandsetProfile from ave.workspace import WorkspaceProfile from ave.base_workspace import BaseWorkspaceProfile from av...
36.318182
74
0.705048
272
2,397
6.161765
0.264706
0.065632
0.062053
0.083532
0.217184
0.187351
0.187351
0.187351
0.187351
0.187351
0
0.002118
0.211932
2,397
65
75
36.876923
0.885124
0.209011
0
0.188679
0
0
0.10504
0
0
0
0
0
0
1
0.075472
false
0.037736
0.245283
0.037736
0.528302
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
8bc389dddda0582e99306230aaadf4b9ba7b590b
1,435
py
Python
git_functions.py
psyonara/pylint-diff
a60a0cda91c88d8ed75f49dc1d95caed95a082a6
[ "MIT" ]
null
null
null
git_functions.py
psyonara/pylint-diff
a60a0cda91c88d8ed75f49dc1d95caed95a082a6
[ "MIT" ]
null
null
null
git_functions.py
psyonara/pylint-diff
a60a0cda91c88d8ed75f49dc1d95caed95a082a6
[ "MIT" ]
null
null
null
import subprocess def is_branch_merged(branch): """ Checks if given branch is merged into current branch. :param branch: Name of branch :return: True/False """ proc = subprocess.Popen(["git", "branch", "--merged"], stdout=subprocess.PIPE) result = proc.stdout.read().decode() return bra...
29.895833
97
0.655749
189
1,435
4.904762
0.312169
0.045307
0.081985
0.09493
0.202805
0.161812
0.161812
0.161812
0.11219
0.11219
0
0.005314
0.21324
1,435
47
98
30.531915
0.815766
0.356098
0
0.277778
0
0
0.093108
0
0
0
0
0
0
1
0.222222
false
0
0.055556
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
8bc40be669b9a6e0b8a0e3c489cebae6efb2eb0c
425
py
Python
bot/migrations/0006_auto_20171229_2354.py
CdecPGL/LBot
2136900bfb4bfd6a2fe762c65714a4596b98fc6d
[ "MIT" ]
1
2019-03-04T07:16:17.000Z
2019-03-04T07:16:17.000Z
bot/migrations/0006_auto_20171229_2354.py
CdecPGL/LBot
2136900bfb4bfd6a2fe762c65714a4596b98fc6d
[ "MIT" ]
3
2020-06-05T17:09:27.000Z
2021-06-10T18:18:32.000Z
bot/migrations/0006_auto_20171229_2354.py
CdecPGL/LBot
2136900bfb4bfd6a2fe762c65714a4596b98fc6d
[ "MIT" ]
null
null
null
# Generated by Django 2.0 on 2017-12-29 14:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bot', '0005_auto_20171229_2354'), ] operations = [ migrations.AlterField( model_name='user', name='authority', ...
22.368421
94
0.581176
45
425
5.4
0.822222
0
0
0
0
0
0
0
0
0
0
0.106796
0.272941
425
18
95
23.611111
0.679612
0.101176
0
0
1
0
0.152632
0.060526
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
8bd88a12439f15fa2da9a4fb4cc3bfd9ce8707d9
2,520
py
Python
src/test_quick_sort.py
han8909227/data-structures
ef7e28193d6e4a56bdaab79cba06fd7fbc8664f7
[ "MIT" ]
1
2022-02-07T22:57:42.000Z
2022-02-07T22:57:42.000Z
src/test_quick_sort.py
han8909227/data-structures
ef7e28193d6e4a56bdaab79cba06fd7fbc8664f7
[ "MIT" ]
null
null
null
src/test_quick_sort.py
han8909227/data-structures
ef7e28193d6e4a56bdaab79cba06fd7fbc8664f7
[ "MIT" ]
1
2017-11-28T01:05:14.000Z
2017-11-28T01:05:14.000Z
"""Test my quick sort algorithm tests.""" from quick_sort import quick_sort, _quicksort import pytest from random import randint @pytest.fixture(scope='function') def list_ten(): """Make a list of 10 vals.""" return [x for x in range(10)] @pytest.fixture(scope='function') def rand_ten(): """Make a rando...
25.714286
56
0.69246
370
2,520
4.440541
0.189189
0.104078
0.073646
0.054778
0.73524
0.681071
0.643944
0.643944
0.58308
0.505173
0
0.018618
0.190079
2,520
97
57
25.979381
0.786379
0.205159
0
0.396226
0
0
0.016096
0
0
0
0
0
0.132075
1
0.264151
false
0
0.056604
0
0.377358
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
8bdb287710f940251eea1d78a84dfe178107397b
14,113
py
Python
twitter_explorer/views.py
jrstarke/TweetSeeker
7afd05fed8f4eed2134c2d2dd37c0678f21135f2
[ "Apache-2.0" ]
2
2017-11-09T05:45:12.000Z
2019-11-07T13:41:09.000Z
twitter_explorer/views.py
jrstarke/TweetSeeker
7afd05fed8f4eed2134c2d2dd37c0678f21135f2
[ "Apache-2.0" ]
null
null
null
twitter_explorer/views.py
jrstarke/TweetSeeker
7afd05fed8f4eed2134c2d2dd37c0678f21135f2
[ "Apache-2.0" ]
null
null
null
''' Copyright 2011-2012 Jamie Starke, The CHISEL group and contributors 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 ...
42.637462
164
0.568908
1,471
14,113
5.305914
0.17879
0.052018
0.063165
0.045099
0.502755
0.442921
0.398334
0.372966
0.363613
0.346701
0
0.004373
0.319493
14,113
331
165
42.637462
0.808309
0
0
0.483636
0
0.007273
0.119792
0.007554
0
0
0
0
0
0
null
null
0
0.058182
null
null
0.025455
0
0
0
null
0
0
0
0
0
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
8be082a1f12d5777ce2ceb737ae021d50b35b09b
277
py
Python
GeekforGeeks Array practice/check_sort.py
gurusabarish/python-programs
d07352fb099f6a999f99f37818476ff94cf5964e
[ "MIT" ]
2
2020-06-05T10:16:05.000Z
2020-07-14T14:38:43.000Z
GeekforGeeks Array practice/check_sort.py
gurusabarish/python-programs
d07352fb099f6a999f99f37818476ff94cf5964e
[ "MIT" ]
1
2020-07-28T07:27:57.000Z
2020-07-30T17:28:07.000Z
GeekforGeeks Array practice/check_sort.py
gurusabarish/python-programs
d07352fb099f6a999f99f37818476ff94cf5964e
[ "MIT" ]
2
2020-07-14T14:38:49.000Z
2020-09-24T17:14:54.000Z
def check(lst, l): for i in range(l): if lst[0]<=lst[i]: sort = 1 else: sort = 0 break print(sort) T = int(input()) for i in range(T): n = int(input()) arr = list(map(int, input().split())) check(arr, n)
18.466667
41
0.447653
42
277
2.952381
0.547619
0.193548
0.096774
0.177419
0
0
0
0
0
0
0
0.017647
0.386282
277
14
42
19.785714
0.711765
0
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0
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
8be876ea54f2b7a20538759f3af17b3fe83e8fdc
3,670
py
Python
3test.py
zerovm/zpython2
994cb80e94b194e6c5d620751cc55e27bc570f71
[ "PSF-2.0" ]
4
2015-01-26T19:30:15.000Z
2021-09-09T13:13:46.000Z
3test.py
zerovm/zpython2
994cb80e94b194e6c5d620751cc55e27bc570f71
[ "PSF-2.0" ]
null
null
null
3test.py
zerovm/zpython2
994cb80e94b194e6c5d620751cc55e27bc570f71
[ "PSF-2.0" ]
1
2016-02-10T02:39:52.000Z
2016-02-10T02:39:52.000Z
#!/usr/bin/python import os import sys import subprocess import socket import tempfile import argparse parser = argparse.ArgumentParser() parser.add_argument('-f', '--file', help='file containing tests list') args = parser.parse_args() # will use it as return code for script test_result = 0 devnull = open(os.devnull...
27.593985
98
0.610082
476
3,670
4.60084
0.334034
0.109589
0.057534
0.031963
0.206393
0.201826
0.117808
0.044749
0.044749
0.044749
0
0.094692
0.240327
3,670
132
99
27.80303
0.690818
0.044414
0
0.057143
0
0.057143
0.278412
0.138207
0
0
0
0
0
0
null
null
0
0.057143
null
null
0.038095
0
0
0
null
0
0
0
0
0
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
8bead4f8086b104e0c569a569698ee74067e9702
672
py
Python
plot.py
Neuromancer43/Physics
a0cdfa5886ac0a96bc137fc2c1c999280213c353
[ "MIT" ]
null
null
null
plot.py
Neuromancer43/Physics
a0cdfa5886ac0a96bc137fc2c1c999280213c353
[ "MIT" ]
null
null
null
plot.py
Neuromancer43/Physics
a0cdfa5886ac0a96bc137fc2c1c999280213c353
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import numpy as np import matplotlib.pylab as plt data=np.loadtxt('./data/u2_sweep.csv')[:,:11] #plt.figure().dpi=120 #plt.plot(data[0],data[1],'co-',label='Simulation') #plt.plot(data[0],180/3.14*np.arctan(data[0]),'lightsalmon',linestyle='--',label='Experience') #plt.ylabel('Repose Angle [d...
30.545455
94
0.684524
108
672
4.25
0.407407
0.065359
0.095861
0.104575
0.740741
0.666667
0.666667
0.666667
0.666667
0.666667
0
0.054054
0.063988
672
22
95
30.545455
0.675676
0.558036
0
0
0
0
0.295139
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
473422453fedc0701c9ff479c9fd92c62687b77a
2,163
py
Python
contact_test.py
BrianNgeno/python_contacts
d148645e8591387211ca70611f0851586da81343
[ "MIT" ]
null
null
null
contact_test.py
BrianNgeno/python_contacts
d148645e8591387211ca70611f0851586da81343
[ "MIT" ]
null
null
null
contact_test.py
BrianNgeno/python_contacts
d148645e8591387211ca70611f0851586da81343
[ "MIT" ]
null
null
null
import unittest import pyperclip from module_contact import Contact class TestContact(unittest.TestCase): def setUp(self): self.new_contact = Contact("James","Muriuki","0712345678","james@ms.com") def test_init(self): self.assertEqual(self.new_contact.first_name,"James") self.assertEqual...
42.411765
81
0.700416
266
2,163
5.402256
0.18797
0.136395
0.126653
0.087683
0.601949
0.482951
0.46277
0.389005
0.389005
0.359081
0
0.052247
0.177069
2,163
50
82
43.26
0.755056
0
0
0.340426
0
0
0.106334
0
0
0
0
0
0.234043
1
0.212766
false
0
0.06383
0
0.297872
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
475083d8177a68af127882bc80d0bfc8c7dac9df
943
py
Python
crazyflie_driver/src/test_follower.py
xqgex/CrazyFlie_ros
a116807102506ca70ad1f2045c15ec9cc3f57b9d
[ "MIT" ]
2
2018-09-13T14:36:46.000Z
2018-11-28T09:59:15.000Z
crazyflie_driver/src/test_follower.py
xqgex/CrazyFlie_ros
a116807102506ca70ad1f2045c15ec9cc3f57b9d
[ "MIT" ]
null
null
null
crazyflie_driver/src/test_follower.py
xqgex/CrazyFlie_ros
a116807102506ca70ad1f2045c15ec9cc3f57b9d
[ "MIT" ]
null
null
null
#!/usr/bin/env python import rospy import crazyflie import time import uav_trajectory if __name__ == '__main__': rospy.init_node('test_high_level') cf = crazyflie.Crazyflie("crazyflie", "crazyflie") wand = crazyflie.Crazyflie("wand", "wand") cf.setParam("commander/enHighLevel", 1) wand.setParam("commander/e...
25.486486
144
0.703075
130
943
5.007692
0.384615
0.215054
0.061444
0.033794
0.384025
0.384025
0.384025
0.384025
0.316436
0.316436
0
0.036025
0.146341
943
36
145
26.194444
0.772671
0.021209
0
0.083333
0
0
0.098913
0.045652
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
475d8803d5a43e2523228cc0d151c5236d98d80e
598
py
Python
pkpdapp/pkpdapp/wsgi.py
pkpdapp-team/pkpdapp
8a9748ef52199ffdaa9194d0e1c384b4a78a70dc
[ "BSD-3-Clause" ]
4
2020-11-10T10:13:32.000Z
2021-09-22T15:24:23.000Z
pkpdapp/pkpdapp/wsgi.py
pkpdapp-team/pkpdapp
8a9748ef52199ffdaa9194d0e1c384b4a78a70dc
[ "BSD-3-Clause" ]
232
2020-05-06T09:32:10.000Z
2022-03-28T16:31:29.000Z
pkpdapp/pkpdapp/wsgi.py
pkpdapp-team/pkpdapp
8a9748ef52199ffdaa9194d0e1c384b4a78a70dc
[ "BSD-3-Clause" ]
1
2020-10-13T11:40:06.000Z
2020-10-13T11:40:06.000Z
# # This file is part of PKPDApp (https://github.com/pkpdapp-team/pkpdapp) which # is released under the BSD 3-clause license. See accompanying LICENSE.md for # copyright notice and full license details. # """ WSGI config for pkpdapp project. It exposes the WSGI callable as a module-level variable named ``application...
26
78
0.777592
88
598
5.215909
0.659091
0.034858
0.078431
0
0
0
0
0
0
0
0
0.005725
0.123746
598
22
79
27.181818
0.870229
0.685619
0
0
0
0
0.215909
0.125
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
47677142e1ce374a7da2f647d006be3c26288921
537
py
Python
tests/data/queue_report_test.py
seoss/scs_core
0d4323c5697a39eb44a887f179ba5dca3716c1d2
[ "MIT" ]
3
2019-03-12T01:59:58.000Z
2020-09-12T07:27:42.000Z
tests/data/queue_report_test.py
seoss/scs_core
0d4323c5697a39eb44a887f179ba5dca3716c1d2
[ "MIT" ]
1
2018-04-20T07:58:38.000Z
2021-03-27T08:52:45.000Z
tests/data/queue_report_test.py
seoss/scs_core
0d4323c5697a39eb44a887f179ba5dca3716c1d2
[ "MIT" ]
4
2017-09-29T13:08:43.000Z
2019-10-09T09:13:58.000Z
#!/usr/bin/env python3 """ Created on 27 Aug 2019 @author: Bruno Beloff (bruno.beloff@southcoastscience.com) """ from scs_core.data.queue_report import QueueReport, ClientStatus # -------------------------------------------------------------------------------------------------------------------- filename = '/tmp/...
20.653846
118
0.594041
53
537
5.943396
0.622642
0.139683
0.120635
0
0
0
0
0
0
0
0
0.01833
0.085661
537
25
119
21.48
0.623218
0.411546
0
0.222222
0
0
0.133987
0.130719
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.444444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
47747caf4f8508102c9ad2bd58e68d4538d94bbd
1,594
py
Python
scripts/pyvision/gui/SimpleLiveDemo.py
wolfram2012/ros_track_ssd
c98d54eb923e5bae5fde4abbedda2fe5ba716606
[ "MIT" ]
null
null
null
scripts/pyvision/gui/SimpleLiveDemo.py
wolfram2012/ros_track_ssd
c98d54eb923e5bae5fde4abbedda2fe5ba716606
[ "MIT" ]
null
null
null
scripts/pyvision/gui/SimpleLiveDemo.py
wolfram2012/ros_track_ssd
c98d54eb923e5bae5fde4abbedda2fe5ba716606
[ "MIT" ]
null
null
null
''' This file provides a basic framework for a live demo. In this case the demo is for face and eye detection. Copyright David S. Bolme Created on Jul 9, 2011 @author: bolme ''' import pyvision as pv import cv from pyvision.face.CascadeDetector import CascadeDetector from pyvision.face.FilterEyeLocator import Filt...
28.981818
72
0.638018
200
1,594
5.01
0.49
0.031936
0.02994
0.037924
0
0
0
0
0
0
0
0.013805
0.272898
1,594
55
73
28.981818
0.850733
0.16813
0
0
0
0
0.095154
0
0
0
0
0
0
0
null
null
0
0.16
null
null
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4778d380d36ff4e8bcdd7cb78a56f1159aa04177
847
py
Python
gerador_de_senha.py
marcelo-py/gerador_de_senhas
b391635702351ff523a5266e5675e2da488e1806
[ "MIT" ]
1
2021-04-04T02:28:22.000Z
2021-04-04T02:28:22.000Z
gerador_de_senha.py
marcelo-py/gerador_de_senhas
b391635702351ff523a5266e5675e2da488e1806
[ "MIT" ]
null
null
null
gerador_de_senha.py
marcelo-py/gerador_de_senhas
b391635702351ff523a5266e5675e2da488e1806
[ "MIT" ]
null
null
null
from random import randint, choice, shuffle """gerador de senha simples ele basicamente pega todo tipo de caractere digitado pelo usuário e depois de cada um deles é colocado um número de 1 a 10 e mais um símbolo""" letras = list() senha = list() chave = input('Digite a base da sua senha: ') while len(chave) >...
35.291667
96
0.644628
135
847
4.044444
0.57037
0.027473
0.040293
0.047619
0.076923
0.076923
0
0
0
0
0
0.049853
0.194805
847
23
97
36.826087
0.750733
0
0
0
0
0
0.289355
0
0
0
0
0.043478
0
1
0
false
0
0.05
0
0.05
0.15
0
0
0
null
0
0
0
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
477a8e0009a0ec71e122ceea8781c4dd841c3bb2
482
py
Python
test_plot.py
EntropyF/ia-flood-risk-project
e61a47c2eea7c0a3941d89488e1de8c4022d6898
[ "MIT" ]
null
null
null
test_plot.py
EntropyF/ia-flood-risk-project
e61a47c2eea7c0a3941d89488e1de8c4022d6898
[ "MIT" ]
null
null
null
test_plot.py
EntropyF/ia-flood-risk-project
e61a47c2eea7c0a3941d89488e1de8c4022d6898
[ "MIT" ]
1
2022-02-09T01:51:00.000Z
2022-02-09T01:51:00.000Z
import datetime from floodsystem.datafetcher import fetch_measure_levels from floodsystem.stationdata import build_station_list from floodsystem.plot import plot_water_levels, plot_water_level_with_fit stations = build_station_list() import numpy as np def test_polt_water_level_with_fit(): x = np.linspace(1, 100...
28.352941
73
0.73444
78
482
4.282051
0.576923
0.134731
0.095808
0.101796
0
0
0
0
0
0
0
0.04534
0.176349
482
17
74
28.352941
0.79597
0
0
0
0
0
0
0
0
0
0
0
0.071429
1
0.071429
false
0
0.357143
0
0.428571
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
477b94d6ce8dff92a5afbee68d71e2bbd1335b49
3,059
py
Python
src/OTLMOW/OTLModel/Datatypes/KlLEMarkeringSoort.py
davidvlaminck/OTLClassPython
71330afeb37c3ea6d9981f521ff8f4a3f8b946fc
[ "MIT" ]
2
2022-02-01T08:58:11.000Z
2022-02-08T13:35:17.000Z
src/OTLMOW/OTLModel/Datatypes/KlLEMarkeringSoort.py
davidvlaminck/OTLMOW
71330afeb37c3ea6d9981f521ff8f4a3f8b946fc
[ "MIT" ]
null
null
null
src/OTLMOW/OTLModel/Datatypes/KlLEMarkeringSoort.py
davidvlaminck/OTLMOW
71330afeb37c3ea6d9981f521ff8f4a3f8b946fc
[ "MIT" ]
null
null
null
# coding=utf-8 from OTLMOW.OTLModel.Datatypes.KeuzelijstField import KeuzelijstField from OTLMOW.OTLModel.Datatypes.KeuzelijstWaarde import KeuzelijstWaarde # Generated with OTLEnumerationCreator. To modify: extend, do not edit class KlLEMarkeringSoort(KeuzelijstField): """Mogelijke markeringsoorten op een lijvor...
82.675676
254
0.640732
265
3,059
7.396226
0.377358
0.067857
0.082143
0.117857
0.5
0.5
0.411735
0.411735
0.411735
0.37551
0
0.000458
0.285714
3,059
36
255
84.972222
0.896568
0.044132
0
0
1
0.1
0.540809
0.016461
0
0
0
0
0
1
0
false
0
0.066667
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
47866153c3d9fc6021cd086ec90776f6ab3e9719
480
py
Python
fdf-cpp/test/unzipall.py
valgarn/fraud-detection-framework
52ce63a41af42de541354f32a3fb4bae773f2f86
[ "Apache-2.0" ]
null
null
null
fdf-cpp/test/unzipall.py
valgarn/fraud-detection-framework
52ce63a41af42de541354f32a3fb4bae773f2f86
[ "Apache-2.0" ]
null
null
null
fdf-cpp/test/unzipall.py
valgarn/fraud-detection-framework
52ce63a41af42de541354f32a3fb4bae773f2f86
[ "Apache-2.0" ]
null
null
null
import os import sys import uuid import zipfile def extract(source, destination): z = zipfile.ZipFile(source) for f in z.namelist(): if(f.upper().endswith(".JPG") or f.upper().endswith(".JPEG")): with open(os.path.join(destination, "{}.jpg".format(str(uuid.uuid4()))), "wb") as outfile: ...
28.235294
118
0.6625
64
480
4.96875
0.65625
0.037736
0.08805
0
0
0
0
0
0
0
0
0.044888
0.164583
480
16
119
30
0.74813
0
0
0
0
0
0.251572
0.176101
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.454545
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
478d177dd2ffa4ec595ce75e74c47dbba9ab1fac
352
py
Python
app/migrations/0015_rename_users_list_user.py
djyasin/GrocerEase
ec0cad32f0a45a20bed808bd3fc47d8983ceeb9e
[ "MIT" ]
1
2022-02-11T18:34:36.000Z
2022-02-11T18:34:36.000Z
app/migrations/0015_rename_users_list_user.py
djyasin/GrocerEase
ec0cad32f0a45a20bed808bd3fc47d8983ceeb9e
[ "MIT" ]
null
null
null
app/migrations/0015_rename_users_list_user.py
djyasin/GrocerEase
ec0cad32f0a45a20bed808bd3fc47d8983ceeb9e
[ "MIT" ]
null
null
null
# Generated by Django 4.0.1 on 2022-01-22 15:53 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('app', '0014_alter_list_users'), ] operations = [ migrations.RenameField( model_name='list', old_name='users', ne...
18.526316
47
0.571023
39
352
5
0.794872
0
0
0
0
0
0
0
0
0
0
0.078512
0.3125
352
18
48
19.555556
0.727273
0.127841
0
0
1
0
0.121311
0.068852
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
479d6777c5f3d46d63c49470688886918343acc0
8,612
py
Python
src/board/models.py
woongchoi84/BLEX
33a4d574a5f7258d6ecaf128d84bc71aacd90d49
[ "MIT" ]
1
2020-01-12T05:18:29.000Z
2020-01-12T05:18:29.000Z
src/board/models.py
woongchoi84/BLEX
33a4d574a5f7258d6ecaf128d84bc71aacd90d49
[ "MIT" ]
null
null
null
src/board/models.py
woongchoi84/BLEX
33a4d574a5f7258d6ecaf128d84bc71aacd90d49
[ "MIT" ]
null
null
null
import requests import datetime import random from django.db import models from django.contrib.auth.models import User from django.template.loader import render_to_string from django.urls import reverse from django.utils import timezone from tagging.fields import TagField font_mapping = { 'Noto Sans' : 'not...
35.440329
153
0.670111
1,030
8,612
5.458252
0.204854
0.032017
0.049804
0.074707
0.527392
0.501067
0.47492
0.3963
0.298826
0.28175
0
0.008919
0.205876
8,612
243
154
35.440329
0.813131
0
0
0.317919
0
0
0.074687
0.008081
0
0
0
0
0
1
0.132948
false
0.011561
0.052023
0.092486
0.722543
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
479decb6f5f6953f62cb21610b3fa78673498f41
287
py
Python
02.Button/09.SwitchFun.py
sarincr/Python-App-Development-using-Kivy
bc5d40efa29ddf59042a85e0e908657590149d6f
[ "MIT" ]
1
2021-11-10T11:31:23.000Z
2021-11-10T11:31:23.000Z
02.Button/09.SwitchFun.py
sarincr/Python-App-Development-using-Kivy
bc5d40efa29ddf59042a85e0e908657590149d6f
[ "MIT" ]
null
null
null
02.Button/09.SwitchFun.py
sarincr/Python-App-Development-using-Kivy
bc5d40efa29ddf59042a85e0e908657590149d6f
[ "MIT" ]
null
null
null
from kivy.app import App from kivy.uix.switch import Switch class SwitchApp(App): def build(self): switch = Switch() switch.bind(active=self.switch_state) return switch def switch_state(self, instance, value): print('Switch is', value) SwitchApp().run()
16.882353
42
0.682927
39
287
4.974359
0.512821
0.082474
0
0
0
0
0
0
0
0
0
0
0.205575
287
16
43
17.9375
0.850877
0
0
0
0
0
0.031359
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
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
0
0
0
0
0
0
1
0
0
1
479e13cabeac713a816306082a4b178113b18bd2
513
py
Python
python/559.maximum-depth-of-n-ary-tree.py
fengbaoheng/leetcode
2b6ec9adea383503acc23622ca5623161f7ca520
[ "MIT" ]
1
2019-04-11T12:34:55.000Z
2019-04-11T12:34:55.000Z
python/559.maximum-depth-of-n-ary-tree.py
fengbaoheng/leetcode
2b6ec9adea383503acc23622ca5623161f7ca520
[ "MIT" ]
null
null
null
python/559.maximum-depth-of-n-ary-tree.py
fengbaoheng/leetcode
2b6ec9adea383503acc23622ca5623161f7ca520
[ "MIT" ]
null
null
null
# # @lc app=leetcode.cn id=559 lang=python3 # # [559] N叉树的最大深度 # class Node: def __init__(self, val, children): self.val = val self.children = children class Solution: # 递归子树求深度 def maxDepth(self, root: 'Node') -> int: if root is None: return 0 # 没有子树,...
18.321429
60
0.54386
61
513
4.508197
0.557377
0.130909
0
0
0
0
0
0
0
0
0
0.036254
0.354776
513
27
61
19
0.794562
0.175439
0
0
0
0
0.009685
0
0
0
0
0
0
1
0.181818
false
0
0
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
479ff696dda20e59d62e781aa4ec04f52421e743
2,711
py
Python
OpenCV/goalTracker.py
cyamonide/FRC-2017
1726f844ccf15d94f966669e21db583dcf4cf78b
[ "MIT" ]
null
null
null
OpenCV/goalTracker.py
cyamonide/FRC-2017
1726f844ccf15d94f966669e21db583dcf4cf78b
[ "MIT" ]
null
null
null
OpenCV/goalTracker.py
cyamonide/FRC-2017
1726f844ccf15d94f966669e21db583dcf4cf78b
[ "MIT" ]
null
null
null
import os import numpy as np import cv2 from networktables import NetworkTable os.system("sudo bash /home/pi/vision/init.sh") NetworkTable.setIPAddress("roboRIO-4914-FRC.local") NetworkTable.setClientMode() NetworkTable.initialize() table = NetworkTable.getTable("HookContoursReport") COLOR_MIN = np.array([60, 80, 80...
25.575472
96
0.629657
373
2,711
4.504021
0.434316
0.019048
0.010714
0.019048
0.033333
0.033333
0
0
0
0
0
0.052502
0.248248
2,711
105
97
25.819048
0.771835
0.184434
0
0.071429
0
0
0.050523
0.020482
0
0
0
0
0
0
null
null
0
0.057143
null
null
0.014286
0
0
0
null
0
0
0
0
0
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
47a3493f3c01b6e9f1055a6ab9f45850a4d0facc
415
py
Python
main_store/migrations/0002_auto_20201116_1214.py
Melto007/medical_store_project
3d208159c6addc298d9a6351c7c8ef3f8a144916
[ "MIT" ]
null
null
null
main_store/migrations/0002_auto_20201116_1214.py
Melto007/medical_store_project
3d208159c6addc298d9a6351c7c8ef3f8a144916
[ "MIT" ]
null
null
null
main_store/migrations/0002_auto_20201116_1214.py
Melto007/medical_store_project
3d208159c6addc298d9a6351c7c8ef3f8a144916
[ "MIT" ]
null
null
null
# Generated by Django 3.1.1 on 2020-11-16 06:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main_store', '0001_initial'), ] operations = [ migrations.AlterField( model_name='product_data', name='product_name'...
21.842105
75
0.612048
47
415
5.276596
0.787234
0.08871
0
0
0
0
0
0
0
0
0
0.076159
0.272289
415
18
76
23.055556
0.745033
0.108434
0
0
1
0
0.125
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
47a5f77521dd642af7ce89bd86eb29e0e7372d68
513
py
Python
distances/migrations/0011_auto_20170602_1044.py
tkettu/rokego
95c89c45f69604bb407927a1f684f90cc51dd878
[ "MIT" ]
null
null
null
distances/migrations/0011_auto_20170602_1044.py
tkettu/rokego
95c89c45f69604bb407927a1f684f90cc51dd878
[ "MIT" ]
null
null
null
distances/migrations/0011_auto_20170602_1044.py
tkettu/rokego
95c89c45f69604bb407927a1f684f90cc51dd878
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-06-02 07:44 from __future__ import unicode_literals import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('distances', '0010_auto_20170519_1604'), ] operations = [ migr...
23.318182
94
0.631579
58
513
5.431034
0.775862
0
0
0
0
0
0
0
0
0
0
0.12987
0.249513
513
21
95
24.428571
0.688312
0.128655
0
0
1
0
0.103604
0.051802
0
0
0
0
0
1
0
false
0
0.214286
0
0.428571
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
47af72dedc21de3bcb012966e13c16ac1ee6372c
344
py
Python
pydsstools/examples/example4.py
alai-arpas/pydsstools
1de47f6822e6b57528757920009591e21ecf5ba2
[ "MIT" ]
54
2018-02-08T20:07:48.000Z
2022-03-07T02:03:37.000Z
pydsstools/examples/example4.py
alai-arpas/pydsstools
1de47f6822e6b57528757920009591e21ecf5ba2
[ "MIT" ]
38
2019-02-13T17:45:54.000Z
2022-03-29T20:47:31.000Z
pydsstools/examples/example4.py
alai-arpas/pydsstools
1de47f6822e6b57528757920009591e21ecf5ba2
[ "MIT" ]
29
2018-09-20T18:08:29.000Z
2022-03-29T17:48:38.000Z
''' Read irregular time-series data ''' from pydsstools.heclib.dss import HecDss dss_file = "example.dss" pathname = "/IRREGULAR/TIMESERIES/FLOW//IR-DECADE/Ex3/" with HecDss.Open(dss_file) as fid: ts = fid.read_ts(pathname,regular=False,window_flag=0) print(ts.pytimes) print(ts.values) print(ts.noda...
20.235294
58
0.712209
51
344
4.72549
0.666667
0.116183
0
0
0
0
0
0
0
0
0
0.006826
0.148256
344
16
59
21.5
0.8157
0.090116
0
0
0
0
0.174917
0.138614
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.444444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
47b2b09e4ce12b8b7ed5c114d5da2e6c19df0d41
1,793
py
Python
dropup/up.py
Mr8/dropup
eed00bc9a2e1231740f42066e9610c5b961aa1ed
[ "BSD-3-Clause" ]
null
null
null
dropup/up.py
Mr8/dropup
eed00bc9a2e1231740f42066e9610c5b961aa1ed
[ "BSD-3-Clause" ]
null
null
null
dropup/up.py
Mr8/dropup
eed00bc9a2e1231740f42066e9610c5b961aa1ed
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 import upyun import os from .config import UPYUNCONFIG from .trans import TranslatorIf class UpyunCli(TranslatorIf): '''Implemented of up yun client, inhanced from Translator''' BUCKETNAME = UPYUNCONFIG.BUCKETNAME def __init__(self): self.operator = None ...
30.913793
70
0.559955
196
1,793
5.096939
0.382653
0.06006
0.048048
0.063063
0.151151
0.104104
0
0
0
0
0
0.002549
0.343558
1,793
57
71
31.45614
0.846219
0.020078
0
0.272727
0
0
0.136873
0
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.204545
0
0
0
null
0
0
0
0
0
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
47b70a20f28482827c9bf0a8ba3c62199093857b
333
py
Python
15/15.py
hiszm/python-train
08ee7538e36f6850847f8818560eb4a2bbbb9e40
[ "Apache-2.0" ]
null
null
null
15/15.py
hiszm/python-train
08ee7538e36f6850847f8818560eb4a2bbbb9e40
[ "Apache-2.0" ]
null
null
null
15/15.py
hiszm/python-train
08ee7538e36f6850847f8818560eb4a2bbbb9e40
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Apr 12 13:21:44 2021 @author: hiszm """ from sys import argv script,filename = argv txt = open (filename) print ("Here's your file %r:" % filename) print (txt.read()) print ("Type the filename again:") file_again = input ("> ") txt_again = open (file_again) print (txt_...
15.136364
41
0.654655
51
333
4.196078
0.647059
0.121495
0
0
0
0
0
0
0
0
0
0.047445
0.177177
333
22
42
15.136364
0.733577
0.222222
0
0
0
0
0.18254
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.444444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
47c9c57ee6b34d581639533768ef8e6e74d5866e
2,174
py
Python
tools/cal_effect_field_tool.py
yuanliangxie/YOLOv3_simple_baseline
325e2963ae770e6f45912f3142941d3bddaf9d6e
[ "Apache-2.0" ]
1
2022-02-26T10:13:08.000Z
2022-02-26T10:13:08.000Z
tools/cal_effect_field_tool.py
yuanliangxie/YOLOv3_simple_baseline
325e2963ae770e6f45912f3142941d3bddaf9d6e
[ "Apache-2.0" ]
null
null
null
tools/cal_effect_field_tool.py
yuanliangxie/YOLOv3_simple_baseline
325e2963ae770e6f45912f3142941d3bddaf9d6e
[ "Apache-2.0" ]
null
null
null
import torch.nn as nn import torch import numpy as np import cv2 as cv def calculate_EPR(model): #TODO:尝试通过加载预训练权重计算有效感受野 for module in model.modules(): try: nn.init.constant_(module.weight, 0.05) nn.init.zeros_(module.bias) nn.init.zeros_(module.running_mean) nn.init.ones_(module.running_var) except E...
26.839506
73
0.682613
381
2,174
3.685039
0.291339
0.179487
0.055556
0.064103
0.16453
0.108262
0.075499
0
0
0
0
0.040761
0.153634
2,174
80
74
27.175
0.722283
0.272769
0
0.041667
0
0
0.029412
0
0
0
0
0.0125
0
1
0.0625
false
0.020833
0.083333
0
0.166667
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
47cdfc3737fba28c078a0d6ada2b5470c017f1bf
1,120
py
Python
epuap_watchdog/institutions/migrations/0014_auto_20170718_0443.py
ad-m/epuap-watchdog
ff2dbbfe6c999e825dbf3f2bf2a94d8baa0a08ea
[ "MIT" ]
2
2017-07-30T16:41:41.000Z
2020-03-28T12:20:56.000Z
epuap_watchdog/institutions/migrations/0014_auto_20170718_0443.py
ad-m/epuap-watchdog
ff2dbbfe6c999e825dbf3f2bf2a94d8baa0a08ea
[ "MIT" ]
5
2017-07-18T12:13:46.000Z
2017-07-28T15:48:38.000Z
epuap_watchdog/institutions/migrations/0014_auto_20170718_0443.py
ad-m/epuap-watchdog
ff2dbbfe6c999e825dbf3f2bf2a94d8baa0a08ea
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-07-18 04:43 from __future__ import unicode_literals from django.db import migrations, models def update_names(apps, schema_editor): for x in apps.get_model('institutions', 'regon').objects.exclude(data=None).iterator(): x.name = x.data.get('naz...
29.473684
91
0.60625
129
1,120
5.100775
0.496124
0.048632
0.018237
0.030395
0.50152
0.50152
0.50152
0.410334
0.410334
0.410334
0
0.046484
0.250893
1,120
37
92
30.27027
0.737783
0.060714
0
0.428571
1
0
0.097235
0.021926
0
0
0
0
0
1
0.035714
false
0
0.071429
0
0.214286
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
47d393ec3527c56e44981fde0e936613d4426dbf
2,199
py
Python
main/auth/github.py
chdb/DhammaMap1
ed31ca8bd1e9dd4bc87a824903ea483979ff9e8d
[ "MIT" ]
null
null
null
main/auth/github.py
chdb/DhammaMap1
ed31ca8bd1e9dd4bc87a824903ea483979ff9e8d
[ "MIT" ]
null
null
null
main/auth/github.py
chdb/DhammaMap1
ed31ca8bd1e9dd4bc87a824903ea483979ff9e8d
[ "MIT" ]
null
null
null
# coding: utf-8 # pylint: disable=missing-docstring, invalid-name import flask import auth import config from main import app import model.user as user #import User#, UserVdr github_config = dict( access_token_method='POST', access_token_url='https://github.com/login/oauth/access_token', authorize_url='ht...
30.971831
91
0.682583
293
2,199
4.935154
0.348123
0.038036
0.014523
0.03112
0.105118
0.071923
0.034578
0
0
0
0
0.002759
0.175989
2,199
70
92
31.414286
0.795254
0.179627
0
0
0
0
0.181362
0.020647
0
0
0
0.014286
0
1
0.1
false
0
0.1
0.04
0.34
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
47d6c42c613c3822bb524b602afacba935325764
503
py
Python
leetcode/majority-element.py
zhangao0086/Python-Algorithm
981c875b2e0f30619bd3d44e1f2bd0c47d1464a2
[ "MIT" ]
3
2021-05-21T12:55:14.000Z
2022-02-01T16:21:30.000Z
leetcode/majority-element.py
zhangao0086/Python-Algorithm
981c875b2e0f30619bd3d44e1f2bd0c47d1464a2
[ "MIT" ]
null
null
null
leetcode/majority-element.py
zhangao0086/Python-Algorithm
981c875b2e0f30619bd3d44e1f2bd0c47d1464a2
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # -*-coding:utf-8-*- __author__ = "Bannings" from typing import List class Solution: def majorityElement(self, nums: List[int]) -> int: count, candidate = 0, 0 for num in nums: if count == 0: candidate = num count += (1 if num == candidat...
26.473684
60
0.568588
64
503
4.28125
0.53125
0.021898
0.211679
0
0
0
0
0
0
0
0
0.052925
0.286282
503
19
61
26.473684
0.710306
0.071571
0
0
0
0
0.034335
0
0
0
0
0
0.153846
1
0.076923
false
0
0.076923
0
0.307692
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
47dd86e2230bee09f2d08f764b4a28f227255873
726
py
Python
emacs/formatting.py
jcaw/talon_conf
a1c2a02e2a7b2d37b6bd40aa5ce3b334206460c2
[ "MIT" ]
9
2020-05-13T19:41:54.000Z
2022-02-04T06:18:21.000Z
emacs/formatting.py
jcaw/talon_conf
a1c2a02e2a7b2d37b6bd40aa5ce3b334206460c2
[ "MIT" ]
null
null
null
emacs/formatting.py
jcaw/talon_conf
a1c2a02e2a7b2d37b6bd40aa5ce3b334206460c2
[ "MIT" ]
2
2020-06-06T15:10:58.000Z
2022-02-04T06:18:01.000Z
from typing import Optional from talon import Context from user.emacs.utils.voicemacs import rpc_call from user.utils.formatting import SurroundingText context = Context() context.matches = r""" tag: user.emacs """ @context.action_class("self") class UserActions: def surrounding_text() -> Optional[Surroundin...
25.034483
82
0.655647
84
726
5.559524
0.52381
0.044968
0.047109
0
0
0
0
0
0
0
0
0.021739
0.239669
726
28
83
25.928571
0.824275
0.112948
0
0
0
0
0.145086
0.040562
0
0
0
0.035714
0
1
0.052632
false
0
0.210526
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
47e068e1766aee634bb3a19d8d7e1ffff2a73c4a
4,310
py
Python
archive/hackerrank/nearby_attraction.py
tanchao/algo
76de42b7b415f8251a50553027efad998d0b4137
[ "MIT" ]
2
2016-12-08T08:42:03.000Z
2020-05-15T21:08:22.000Z
archive/hackerrank/nearby_attraction.py
tanchao/algo
76de42b7b415f8251a50553027efad998d0b4137
[ "MIT" ]
null
null
null
archive/hackerrank/nearby_attraction.py
tanchao/algo
76de42b7b415f8251a50553027efad998d0b4137
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'tanchao' import sys import math PI = 3.14159265359 EARTH_RADIUS = 6371 # in km TRANSPORTS = { 'metro': 20, 'bike': 15, 'foot': 5 } ''' {'15': (52.357895, 4.892835), '14': (52.368832, 4.892744), '35': (52.342497, 4.855094), '1': (52.378281, 4.9...
37.478261
112
0.556381
528
4,310
4.369318
0.270833
0.039012
0.031209
0.027742
0.226701
0.146077
0.113567
0.065886
0
0
0
0.083001
0.30116
4,310
115
113
37.478261
0.682935
0.087935
0
0.151163
0
0
0.052443
0
0
0
0
0
0
0
null
null
0
0.023256
null
null
0.046512
0
0
0
null
0
0
0
0
0
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
47ec22f1583208694c5cafb99f263d6a37245432
318
py
Python
mutacc/cli/remove_command.py
northwestwitch/mutacc
1999bb9d75a78a543d2cec4df601387c89827a85
[ "MIT" ]
1
2021-12-16T19:29:23.000Z
2021-12-16T19:29:23.000Z
mutacc/cli/remove_command.py
northwestwitch/mutacc
1999bb9d75a78a543d2cec4df601387c89827a85
[ "MIT" ]
59
2018-11-27T16:19:28.000Z
2021-12-01T16:42:31.000Z
mutacc/cli/remove_command.py
adrosenbaum/mutacc
1999bb9d75a78a543d2cec4df601387c89827a85
[ "MIT" ]
1
2021-12-01T07:15:10.000Z
2021-12-01T07:15:10.000Z
import click from mutacc.mutaccDB.remove_case import remove_case_from_db @click.command('remove') @click.argument('case_id') @click.pass_context def remove_command(context, case_id): """ Deletes case from mutacc DB """ adapter = context.obj['adapter'] remove_case_from_db(adapter, case_id)
18.705882
59
0.726415
44
318
4.977273
0.386364
0.136986
0.127854
0.146119
0
0
0
0
0
0
0
0
0.163522
318
16
60
19.875
0.823308
0.084906
0
0
0
0
0.073529
0
0
0
0
0
0
1
0.125
false
0.125
0.25
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9a04dd6728601754a798048b0501dfb75897ebf2
1,196
py
Python
py/fingerboard.py
Takayoshi-Aoyagi/Jazz-Chords
b6735f97d7319c542fa9bb16a87914d143c2f80f
[ "Apache-2.0" ]
1
2018-10-07T20:55:30.000Z
2018-10-07T20:55:30.000Z
py/fingerboard.py
Takayoshi-Aoyagi/Jazz-Chords
b6735f97d7319c542fa9bb16a87914d143c2f80f
[ "Apache-2.0" ]
null
null
null
py/fingerboard.py
Takayoshi-Aoyagi/Jazz-Chords
b6735f97d7319c542fa9bb16a87914d143c2f80f
[ "Apache-2.0" ]
null
null
null
# coding: UTF-8 from tone import Tone class Fingerboard: @classmethod def getPos(cls): _pos = {} openTones = ["E", "B", "G", "D", "A", "E"] tone = Tone() for stringIndex, openTone in enumerate(openTones): toneIndex = tone.getToneNumberByName(openTone) a...
30.666667
68
0.45903
128
1,196
4.226563
0.445313
0.051756
0.029575
0.044362
0.048059
0
0
0
0
0
0
0.015449
0.404682
1,196
38
69
31.473684
0.744382
0.01087
0
0.0625
0
0
0.03387
0
0
0
0
0
0
0
null
null
0
0.03125
null
null
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
1
0
0
0
0
0
0
0
0
1
9a0ece6857504b27ede14430b1552408ef890ba0
1,126
py
Python
turbotutorial/turbotutorial/urls.py
vitaliimelnychuk/django-hotwire-playground
38ed5f50d643d3e42ef450a3acd15cf9cd2679d4
[ "MIT" ]
null
null
null
turbotutorial/turbotutorial/urls.py
vitaliimelnychuk/django-hotwire-playground
38ed5f50d643d3e42ef450a3acd15cf9cd2679d4
[ "MIT" ]
null
null
null
turbotutorial/turbotutorial/urls.py
vitaliimelnychuk/django-hotwire-playground
38ed5f50d643d3e42ef450a3acd15cf9cd2679d4
[ "MIT" ]
null
null
null
"""turbotutorial URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/4.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class...
40.214286
86
0.714032
162
1,126
4.882716
0.425926
0.037927
0.050569
0.030341
0.147914
0.147914
0.094817
0
0
0
0
0.008351
0.149201
1,126
27
87
41.703704
0.817328
0.734458
0
0
0
0
0.134483
0.075862
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9a10baedcbe022bdeb068d4f5f0d23306d938059
2,144
py
Python
send_email.py
DGhambari/CompSys_Facial_Recognition_Assignment
0622c7029f56a09e83e5820186ececc565b5a815
[ "MIT" ]
null
null
null
send_email.py
DGhambari/CompSys_Facial_Recognition_Assignment
0622c7029f56a09e83e5820186ececc565b5a815
[ "MIT" ]
null
null
null
send_email.py
DGhambari/CompSys_Facial_Recognition_Assignment
0622c7029f56a09e83e5820186ececc565b5a815
[ "MIT" ]
null
null
null
import email, smtplib, ssl from email import encoders from email.mime.base import MIMEBase from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from dotenv import load_dotenv, find_dotenv import os from pathlib import Path #load_dotenv(".env") project_folder = os.path.expanduser('~/Pi-...
32.484848
100
0.714552
277
2,144
5.386282
0.425993
0.051609
0.048257
0.048257
0
0
0
0
0
0
0
0.002892
0.193563
2,144
66
101
32.484848
0.860035
0.249067
0
0
0
0
0.159674
0.022542
0
0
0
0
0
1
0.02439
false
0.073171
0.195122
0
0.219512
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
9a15c1813609deec91684894a118ffaf124beeae
727
py
Python
ex034.py
olmirjunior/CursoemVideoPython-Exercicios-e-Aula
21374e9d9ed65103a47ea275bc1dc3750ba5d7ae
[ "MIT" ]
null
null
null
ex034.py
olmirjunior/CursoemVideoPython-Exercicios-e-Aula
21374e9d9ed65103a47ea275bc1dc3750ba5d7ae
[ "MIT" ]
null
null
null
ex034.py
olmirjunior/CursoemVideoPython-Exercicios-e-Aula
21374e9d9ed65103a47ea275bc1dc3750ba5d7ae
[ "MIT" ]
null
null
null
nome = str(input('Digite o nome do funcioário: ')) salario = float(input('Qual o salário do funcionário R$ ')) sal10 = (salario * 10 / 100) sal15 = (salario * 15 / 100) if (salario >= 1250) * (10 * 10 / 100): print('O novo salário do funcionário(a) {} com 10% de aumento será de {}'.format(nome, sal10 + salario)) el...
42.764706
108
0.65337
109
727
4.357798
0.366972
0.075789
0.168421
0.088421
0.429474
0.429474
0.324211
0.324211
0.181053
0
0
0.083333
0.191197
727
17
109
42.764706
0.72449
0.050894
0
0.285714
0
0
0.400581
0
0
0
0
0
0
1
0
false
0.071429
0
0
0
0.214286
0
0
0
null
0
0
0
0
0
0
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
9a15f91027b5ef0943dbe140bceccc4988bca611
575
py
Python
pyeccodes/defs/grib2/template_4_categorical_def.py
ecmwf/pyeccodes
dce2c72d3adcc0cb801731366be53327ce13a00b
[ "Apache-2.0" ]
7
2020-04-14T09:41:17.000Z
2021-08-06T09:38:19.000Z
pyeccodes/defs/grib2/template_4_categorical_def.py
ecmwf/pyeccodes
dce2c72d3adcc0cb801731366be53327ce13a00b
[ "Apache-2.0" ]
null
null
null
pyeccodes/defs/grib2/template_4_categorical_def.py
ecmwf/pyeccodes
dce2c72d3adcc0cb801731366be53327ce13a00b
[ "Apache-2.0" ]
3
2020-04-30T12:44:48.000Z
2020-12-15T08:40:26.000Z
import pyeccodes.accessors as _ def load(h): h.add(_.Unsigned('numberOfCategories', 1)) with h.list('categories'): for i in range(0, h.get_l('numberOfCategories')): h.add(_.Codetable('categoryType', 1, "4.91.table", _.Get('masterDir'), _.Get('localDir'))) h.add(_.Unsigned('co...
35.9375
102
0.615652
62
575
5.532258
0.532258
0.081633
0.209913
0.113703
0
0
0
0
0
0
0
0.024283
0.212174
575
15
103
38.333333
0.732892
0
0
0
0
0
0.325217
0.16
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.181818
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
9a18879591a5332abcd1e5cc483b367bfd5ee98a
2,980
py
Python
HomieMQTT.py
RdeLange/skill-homey
066c4ef9110f3c42a0096ad5b194654d4e83fd35
[ "MIT" ]
null
null
null
HomieMQTT.py
RdeLange/skill-homey
066c4ef9110f3c42a0096ad5b194654d4e83fd35
[ "MIT" ]
null
null
null
HomieMQTT.py
RdeLange/skill-homey
066c4ef9110f3c42a0096ad5b194654d4e83fd35
[ "MIT" ]
null
null
null
import paho.mqtt.client as mqtt import threading import time class HomieMQTT: """ Class for controlling Homie Convention. The Homie Convention follows the following format: root/system name/device class (optional)/zone (optional)/device name/capability/command """ DEVICES = [] messages = ...
35.47619
100
0.591275
349
2,980
4.925501
0.295129
0.059337
0.023269
0.058173
0.259453
0.233857
0.14427
0.108202
0.052356
0.052356
0
0.006149
0.290604
2,980
83
101
35.903614
0.807001
0.242617
0
0.075472
0
0
0.042381
0
0
0
0
0
0
1
0.132075
false
0.056604
0.056604
0
0.301887
0.056604
0
0
0
null
0
0
0
0
0
0
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
9a19c9c2538ffc055064add1e1d8f6cbd49aa78e
4,179
py
Python
src/controller/mode.py
iivvoo-abandoned/most
a53e3ce4913e1886c5933387f0139db2a96f7e53
[ "BSD-3-Clause" ]
null
null
null
src/controller/mode.py
iivvoo-abandoned/most
a53e3ce4913e1886c5933387f0139db2a96f7e53
[ "BSD-3-Clause" ]
null
null
null
src/controller/mode.py
iivvoo-abandoned/most
a53e3ce4913e1886c5933387f0139db2a96f7e53
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # $Id: mode.py,v 1.3 2002/02/05 17:44:25 ivo Exp $ """ Class to parse modes. The class is initialized with a modestring, the result methods will provide the parsed plus/min modes and parameters. TODO: banlist support? """ """ Handle messages like: Vlads!^ivo@struis.intranet.amaz...
27.313725
70
0.554439
501
4,179
4.560878
0.319361
0.011816
0.013129
0.029759
0.281838
0.273085
0.267834
0.267834
0.243326
0.243326
0
0.028309
0.323762
4,179
152
71
27.493421
0.780255
0.081598
0
0.333333
0
0
0.057115
0
0
0
0
0.006579
0
0
null
null
0
0.010101
null
null
0.070707
0
0
0
null
0
0
0
0
0
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
9a1c616ff05662268bbc6d0a010ec605f5fde5f9
534
py
Python
NeuralStyleTransferSrc/overide_fun.py
vonlippmann/Deep-_Style_Transfer
8190fd0f45dd46e17d1bfc97705751b98063c3b6
[ "MIT" ]
2
2018-06-07T11:41:44.000Z
2018-11-20T16:48:20.000Z
NeuralStyleTransferSrc/overide_fun.py
vonlippmann/Deep_Style_Transfer
8190fd0f45dd46e17d1bfc97705751b98063c3b6
[ "MIT" ]
null
null
null
NeuralStyleTransferSrc/overide_fun.py
vonlippmann/Deep_Style_Transfer
8190fd0f45dd46e17d1bfc97705751b98063c3b6
[ "MIT" ]
null
null
null
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.QtCore import * from PyQt5.QtGui import * class self_QlineEdit(QtWidgets.QLineEdit): clicked = pyqtSignal() def __init__(self, parent=None): super(self_QlineEdit, self).__init__(parent) def event(self, event): if event.type() == Q...
41.076923
54
0.659176
58
534
5.896552
0.482759
0.078947
0.081871
0
0
0
0
0
0
0
0
0.007389
0.2397
534
13
55
41.076923
0.834975
0
0
0
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0
0.615385
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
9a253ff13025c7b131c074e153197ad1a6893a2f
460
py
Python
aiocometd/_metadata.py
robertmrk/aiocometd
6c69ba505d02df334ebc551695d05c0427b92daf
[ "MIT" ]
14
2018-12-02T17:15:59.000Z
2022-02-27T12:37:50.000Z
aiocometd/_metadata.py
robertmrk/aiocometd
6c69ba505d02df334ebc551695d05c0427b92daf
[ "MIT" ]
14
2019-02-11T13:06:59.000Z
2022-02-14T18:04:16.000Z
aiocometd/_metadata.py
robertmrk/aiocometd
6c69ba505d02df334ebc551695d05c0427b92daf
[ "MIT" ]
16
2019-03-11T13:13:29.000Z
2022-02-27T11:30:59.000Z
"""Package metadata""" TITLE = "aiocometd" DESCRIPTION = "CometD client for asyncio" KEYWORDS = "asyncio aiohttp comet cometd bayeux push streaming" URL = "https://github.com/robertmrk/aiocometd" PROJECT_URLS = { "CI": "https://travis-ci.org/robertmrk/aiocometd", "Coverage": "https://coveralls.io/github/robertm...
32.857143
66
0.713043
56
460
5.821429
0.732143
0.165644
0
0
0
0
0
0
0
0
0
0.007407
0.119565
460
13
67
35.384615
0.797531
0.034783
0
0
0
0
0.659817
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9a28f6c33bd468f9b7d3c22c75759e842388331e
542
py
Python
seqrepc/setup.py
ednilsonlomazi/SeqrepC
9b1aee0d89ede3141c5eb20af86c82f62afaa0d0
[ "BSD-3-Clause" ]
1
2020-12-16T11:09:28.000Z
2020-12-16T11:09:28.000Z
seqrepc/setup.py
ednilsonlomazi/SeqrepC
9b1aee0d89ede3141c5eb20af86c82f62afaa0d0
[ "BSD-3-Clause" ]
null
null
null
seqrepc/setup.py
ednilsonlomazi/SeqrepC
9b1aee0d89ede3141c5eb20af86c82f62afaa0d0
[ "BSD-3-Clause" ]
null
null
null
from distutils.core import setup, Extension def main(): setup(name="seqrepc", version="beta1.0", description="SeqrepC is a module for fundamental operations related to numerical representations of genomic sequences.", author="Ednilson Lomazi", author_email="ednilson.lomazi....
36.133333
130
0.651292
61
542
5.622951
0.770492
0.081633
0
0
0
0
0
0
0
0
0
0.007075
0.217712
542
14
131
38.714286
0.801887
0
0
0
0
0
0.46679
0.051661
0
0
0
0
0
1
0.083333
true
0
0.083333
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
9a2ee8e44e6a1a77ad2c2aab7636498d51731c66
383
py
Python
Vokeur/website/migrations/0036_auto_20190719_1236.py
lsdr1999/Project
445c4c4d9ca28b071347d9ebc0028aa7e89b77c6
[ "MIT" ]
null
null
null
Vokeur/website/migrations/0036_auto_20190719_1236.py
lsdr1999/Project
445c4c4d9ca28b071347d9ebc0028aa7e89b77c6
[ "MIT" ]
null
null
null
Vokeur/website/migrations/0036_auto_20190719_1236.py
lsdr1999/Project
445c4c4d9ca28b071347d9ebc0028aa7e89b77c6
[ "MIT" ]
null
null
null
# Generated by Django 2.2.1 on 2019-07-19 12:36 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('website', '0035_auto_20190625_0900'), ] operations = [ migrations.RenameField( model_name='verenigingen', old_name='ontgroen...
20.157895
47
0.605744
39
383
5.794872
0.820513
0
0
0
0
0
0
0
0
0
0
0.113553
0.287206
383
18
48
21.277778
0.714286
0.117493
0
0
1
0
0.202381
0.068452
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