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
0a61c9cfc48e56723e2d98bba70acd01045f443c
1,357
py
Python
cv_recommender/account/urls.py
hhhameem/CV-Recommender
b85d53934f0d888835ab8201be388d7d69f0693d
[ "MIT" ]
1
2021-09-14T17:40:17.000Z
2021-09-14T17:40:17.000Z
cv_recommender/account/urls.py
mjohra/Cv-Recommender-Python-Django
d231092f7bd989b513210dd6031fb23e28bd5dfe
[ "MIT" ]
1
2021-03-31T17:45:15.000Z
2021-03-31T17:45:15.000Z
cv_recommender/account/urls.py
mjohra/Cv-Recommender-Python-Django
d231092f7bd989b513210dd6031fb23e28bd5dfe
[ "MIT" ]
1
2021-03-31T16:58:50.000Z
2021-03-31T16:58:50.000Z
from django.urls import path from django.contrib.auth import views as auth_views from . import views urlpatterns = [ path('register/', views.register, name='register'), path('login/', views.userlogin, name='login'), path('logout/', views.userlogout, name='logout'), path('password_change/', auth_views.P...
45.233333
82
0.709654
137
1,357
6.832117
0.284672
0.067308
0.064103
0.115385
0.149573
0
0
0
0
0
0
0.001729
0.147384
1,357
29
83
46.793103
0.80726
0
0
0
0
0
0.322771
0.112749
0
0
0
0
0
1
0
false
0.428571
0.107143
0
0.107143
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
0a62f6ea092332203dc81ebef45e051b04506ddf
12,246
py
Python
Moodle/scripts/edit_conf.py
nii-gakunin-cloud/ocs-templates
a2a39bb8824d489488af3c3972007317bb1ef6a2
[ "BSD-3-Clause" ]
4
2020-05-11T06:30:53.000Z
2022-01-26T03:31:55.000Z
Moodle/scripts/edit_conf.py
nii-gakunin-cloud/ocs-templates
a2a39bb8824d489488af3c3972007317bb1ef6a2
[ "BSD-3-Clause" ]
1
2021-06-17T01:34:27.000Z
2021-06-17T01:34:27.000Z
Moodle/scripts/edit_conf.py
nii-gakunin-cloud/ocs-templates
a2a39bb8824d489488af3c3972007317bb1ef6a2
[ "BSD-3-Clause" ]
3
2020-09-08T00:57:52.000Z
2022-01-18T10:42:22.000Z
from datetime import datetime from difflib import unified_diff from logging import basicConfig, getLogger, INFO import os from pathlib import Path import shutil import subprocess import sys import yaml from urllib.parse import urlparse from notebook import notebookapp from IPython.core.display import HTML WORKDIR = ...
34.59322
79
0.682182
1,702
12,246
4.645711
0.13161
0.061717
0.0688
0.061085
0.543063
0.480713
0.45289
0.398761
0.310484
0.255343
0
0.003326
0.189695
12,246
353
80
34.691218
0.79351
0
0
0.286232
0
0.003623
0.127715
0.028336
0
0
0
0
0
1
0.130435
false
0
0.043478
0.014493
0.271739
0.003623
0
0
0
null
0
0
0
0
0
0
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
1
0
0a63b2be4d7b2116c7bb45a2e0a6f93a06e01c5e
959
py
Python
other/minimum_edit_distance.py
newvicklee/nlp_algorithms
d2812398d96d345dcb50970bae6ebbf666ea5380
[ "MIT" ]
null
null
null
other/minimum_edit_distance.py
newvicklee/nlp_algorithms
d2812398d96d345dcb50970bae6ebbf666ea5380
[ "MIT" ]
null
null
null
other/minimum_edit_distance.py
newvicklee/nlp_algorithms
d2812398d96d345dcb50970bae6ebbf666ea5380
[ "MIT" ]
null
null
null
""" Minimum edit distance computes the cost it takes to get from one string to another string. This implementation uses the Levenshtein distance with a cost of 1 for insertions or deletions and a cost of 2 for substitutions. Resource: https://en.wikipedia.org/wiki/Edit_distance For example, getting from "intention" ...
28.205882
129
0.535975
156
959
3.262821
0.371795
0.027505
0.023576
0.023576
0.045187
0
0
0
0
0
0
0.042587
0.338895
959
33
130
29.060606
0.760252
0.432742
0
0
0
0
0
0
0
0
0
0
0
1
0.052632
false
0
0
0
0.105263
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a65447ee836106ce8cee612e580a711dcd38121
7,219
py
Python
varifier/dnadiff.py
iqbal-lab-org/varifier
718a787fd8490ea33a79b5095884e66e12106399
[ "MIT" ]
11
2020-04-06T11:22:50.000Z
2021-11-12T18:09:41.000Z
varifier/dnadiff.py
martinghunt/varifier
9f05477b5e48e96264c392fbd14ca98d1ed86e48
[ "MIT" ]
17
2020-04-01T15:19:55.000Z
2021-11-12T05:07:01.000Z
varifier/dnadiff.py
martinghunt/varifier
9f05477b5e48e96264c392fbd14ca98d1ed86e48
[ "MIT" ]
3
2020-04-01T10:41:27.000Z
2020-08-05T06:27:21.000Z
from operator import attrgetter import logging import os import shutil import subprocess import pyfastaq import pymummer from cluster_vcf_records import vcf_record from varifier import utils # We only want the .snps file from the dnadiff script from MUMmer. From reading # the docs inspecting that script, we need to ...
34.37619
95
0.543289
848
7,219
4.430425
0.222877
0.047911
0.026085
0.023955
0.325526
0.240085
0.187916
0.180463
0.156774
0.126431
0
0.005423
0.361407
7,219
209
96
34.54067
0.809544
0.15293
0
0.283133
0
0
0.097008
0.023183
0
0
0
0
0.006024
1
0.024096
false
0
0.054217
0
0.078313
0.03012
0
0
0
null
0
0
0
0
0
0
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
1
0
0a658f2185402efce42f9a0cf262eb928b7b63f0
1,650
py
Python
modules/models.py
sbj-ss/github-watcher
7d7c4d2a0a6a014b93a2168dc6e508b2b867a414
[ "MIT" ]
null
null
null
modules/models.py
sbj-ss/github-watcher
7d7c4d2a0a6a014b93a2168dc6e508b2b867a414
[ "MIT" ]
null
null
null
modules/models.py
sbj-ss/github-watcher
7d7c4d2a0a6a014b93a2168dc6e508b2b867a414
[ "MIT" ]
null
null
null
from dataclasses import asdict, dataclass from typing import Any, Dict, List, Type @dataclass(frozen=True) class StatsBaseModel: """Base model for various reports""" @classmethod def key(cls: Type) -> str: name = cls.__name__ return name[0].lower() + name[1:] def to_table(self) -> Lis...
25
109
0.577576
191
1,650
4.86911
0.303665
0.060215
0.070968
0.129032
0.393548
0.393548
0.370968
0.341935
0.341935
0.341935
0
0.009844
0.261212
1,650
65
110
25.384615
0.753076
0.018182
0
0.44898
0
0.040816
0.225527
0.153036
0
0
0
0
0
1
0.122449
false
0
0.040816
0.081633
0.55102
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
0a6616a10563e4ebc6f0a75abad1fbf54a72a196
2,776
py
Python
queryfilter/datetimefilter.py
iCHEF/queryfilter
0ae4faf525e162d2720d328b96fa179d68277f1e
[ "Apache-2.0" ]
4
2018-05-11T18:07:32.000Z
2019-07-30T13:38:49.000Z
queryfilter/datetimefilter.py
iCHEF/queryfilter
0ae4faf525e162d2720d328b96fa179d68277f1e
[ "Apache-2.0" ]
6
2018-02-26T04:46:36.000Z
2019-04-10T06:17:12.000Z
queryfilter/datetimefilter.py
iCHEF/queryfilter
0ae4faf525e162d2720d328b96fa179d68277f1e
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import import datetime from dateutil import parser import pytz from .base import FieldFilter, DictFilterMixin, DjangoQueryFilterMixin from .queryfilter import QueryFilter WHOLE_DAY = datetime.timedelta(days=1) ONE_SECOND = datetime.timedelta(seconds=1) @QueryFilter.register_type_c...
25.46789
72
0.648055
342
2,776
5.008772
0.245614
0.057793
0.022767
0.035026
0.059545
0.032691
0
0
0
0
0
0.002966
0.271254
2,776
108
73
25.703704
0.843796
0
0
0.162162
0
0
0.010807
0
0
0
0
0
0
1
0.148649
false
0
0.081081
0.040541
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
0
0
0
0
1
0
0a6634c8b3d57a247c912406564142afedbbeba0
13,829
py
Python
built-in/TensorFlow/Research/cv/image_classification/Cars_for_TensorFlow/automl/vega/search_space/networks/pytorch/operator/rpn.py
Huawei-Ascend/modelzoo
df51ed9c1d6dbde1deef63f2a037a369f8554406
[ "Apache-2.0" ]
12
2020-12-13T08:34:24.000Z
2022-03-20T15:17:17.000Z
built-in/TensorFlow/Research/cv/image_classification/Cars_for_TensorFlow/automl/vega/search_space/networks/pytorch/operator/rpn.py
Huawei-Ascend/modelzoo
df51ed9c1d6dbde1deef63f2a037a369f8554406
[ "Apache-2.0" ]
3
2021-03-31T20:15:40.000Z
2022-02-09T23:50:46.000Z
built-in/TensorFlow/Research/cv/image_classification/Darts_for_TensorFlow/automl/vega/search_space/networks/pytorch/operator/rpn.py
Huawei-Ascend/modelzoo
df51ed9c1d6dbde1deef63f2a037a369f8554406
[ "Apache-2.0" ]
2
2021-07-10T12:40:46.000Z
2021-12-17T07:55:15.000Z
# -*- coding: utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. # This program is free software; you can redistribute it and/or modify # it under the terms of the MIT License. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the...
37.991758
116
0.653048
1,787
13,829
4.797426
0.15277
0.031494
0.012598
0.018897
0.356468
0.262685
0.232124
0.1829
0.156421
0.0925
0
0.01184
0.242678
13,829
363
117
38.096419
0.806741
0.157857
0
0.175115
0
0
0.028813
0
0
0
0
0
0.018433
1
0.105991
false
0
0.0553
0
0.281106
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
0
0
1
0
0a6637af877e66a30d055aa9bfab27307de91c10
5,292
py
Python
scrapy/http/request/__init__.py
joybhallaa/scrapy
e4750f2fbdacbeb7a20ae7c6b13bba3fb0f7ad54
[ "BSD-3-Clause" ]
1
2020-04-18T16:48:49.000Z
2020-04-18T16:48:49.000Z
scrapy/http/request/__init__.py
Venfox/scrapy
cf39602c3038d576e14c20a2ac22f88006deb63b
[ "BSD-3-Clause" ]
null
null
null
scrapy/http/request/__init__.py
Venfox/scrapy
cf39602c3038d576e14c20a2ac22f88006deb63b
[ "BSD-3-Clause" ]
null
null
null
""" This module implements the Request class which is used to represent HTTP requests in Scrapy. See documentation in docs/topics/request-response.rst """ from w3lib.url import safe_url_string from scrapy.http.headers import Headers from scrapy.utils.python import to_bytes from scrapy.utils.trackref import object_ref...
38.071942
102
0.634732
655
5,292
4.949618
0.277863
0.022209
0.018507
0.011721
0.047502
0.028378
0.014189
0
0
0
0
0.001287
0.265873
5,292
138
103
38.347826
0.833205
0.311602
0
0.039474
0
0
0.087771
0
0
0
0
0
0.013158
1
0.157895
false
0
0.092105
0.052632
0.421053
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
0
0
1
0
0a6664a131eebc11f4bbd4774aef93f20aa62a4d
7,261
py
Python
game.py
akaeme/BlackJackBot
04970107202a24059f8da933233fba7df9f3a0ef
[ "MIT" ]
null
null
null
game.py
akaeme/BlackJackBot
04970107202a24059f8da933233fba7df9f3a0ef
[ "MIT" ]
null
null
null
game.py
akaeme/BlackJackBot
04970107202a24059f8da933233fba7df9f3a0ef
[ "MIT" ]
null
null
null
#encoding: utf8 __author__ = 'Diogo Gomes' __email__ = 'dgomes@ua.pt' __license__ = "GPL" __version__ = "0.1" import copy import card from shoe import Shoe from dealer import Dealer from player import Player BET_MULTIPLIER = 2 class Game(object): class Rules(): def __init__(self, shoe_size=4, min_bet=1, ...
36.305
208
0.493596
928
7,261
3.826509
0.171336
0.076035
0.033793
0.025345
0.264714
0.152633
0.093495
0.050972
0.045621
0.032104
0
0.016751
0.375155
7,261
199
209
36.487437
0.750937
0.089657
0
0.27381
0
0
0.070258
0.009408
0
0
0
0
0
1
0.113095
false
0
0.029762
0.035714
0.238095
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a66d37f0e15138eb333c83b7140c80ba5e24e15
284
py
Python
loops/for/for3.py
camipozas/python-exercises
c8c02d2b9ff77f21592c99038e10434aba08dbc7
[ "MIT" ]
null
null
null
loops/for/for3.py
camipozas/python-exercises
c8c02d2b9ff77f21592c99038e10434aba08dbc7
[ "MIT" ]
null
null
null
loops/for/for3.py
camipozas/python-exercises
c8c02d2b9ff77f21592c99038e10434aba08dbc7
[ "MIT" ]
null
null
null
# Escribir un programa que muestre la sumatoria de todos los múltiplos de 7 encontrados entre el 0 y el 100. # Summing all the multiples of 7 from 0 to 100. total = 0 for i in range(101): if i % 7 == 0: total = total+i print("Sumatoria de los múltiplos de 7:", total)
28.4
110
0.679577
52
284
3.711538
0.634615
0.11399
0.145078
0.15544
0
0
0
0
0
0
0
0.079812
0.25
284
9
111
31.555556
0.826291
0.535211
0
0
0
0
0.251969
0
0
0
0
0.111111
0
1
0
false
0
0
0
0
0.2
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
1
0
0
0
0
0
0
0
0
0
0
2
0a67bdcc24a12daa838689d0d299113ff13d2c1e
7,044
py
Python
lib/TWCManager/Status/HASSStatus.py
Saftwerk/TWCManager
9b17c063ada80fc159db82fe6e3ad8c4ca071a1a
[ "Unlicense" ]
1
2021-12-26T03:41:22.000Z
2021-12-26T03:41:22.000Z
lib/TWCManager/Status/HASSStatus.py
Saftwerk/TWCManager
9b17c063ada80fc159db82fe6e3ad8c4ca071a1a
[ "Unlicense" ]
null
null
null
lib/TWCManager/Status/HASSStatus.py
Saftwerk/TWCManager
9b17c063ada80fc159db82fe6e3ad8c4ca071a1a
[ "Unlicense" ]
null
null
null
# HomeAssistant Status Output # Publishes the provided sensor key and value pair to a HomeAssistant instance import logging import time from ww import f logger = logging.getLogger(__name__.rsplit(".")[-1]) class HASSStatus: import threading import requests apiKey = None config = None configCo...
33.383886
104
0.52598
619
7,044
5.92084
0.25525
0.038199
0.037108
0.02292
0.265757
0.25266
0.25266
0.233561
0.209004
0.135061
0
0.009397
0.380608
7,044
210
105
33.542857
0.830621
0.039182
0
0.289617
0
0
0.089484
0.003106
0
0
0
0
0
1
0.043716
false
0
0.027322
0.005464
0.240437
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
0
0
1
0
0a682a6477a9ae21b7ff09cd8fd4db9201909c6a
809
py
Python
Archive/routes/home_routes.py
taycurran/TwitOff
6e2ee13f83fa86c80988a91b3b41ed0958688c3c
[ "MIT" ]
null
null
null
Archive/routes/home_routes.py
taycurran/TwitOff
6e2ee13f83fa86c80988a91b3b41ed0958688c3c
[ "MIT" ]
3
2021-06-08T21:05:06.000Z
2022-01-13T02:20:50.000Z
Archive/routes/home_routes.py
taycurran/TwitOff
6e2ee13f83fa86c80988a91b3b41ed0958688c3c
[ "MIT" ]
null
null
null
from flask import Blueprint, jsonify, request, render_template home_routes = Blueprint("home_routes", __name__) @home_routes.route("/") def index(): users = User.query.all() return render_template('base.html', title='Home', users=users) @home_routes.route("/about") def a...
25.28125
64
0.678616
102
809
5.176471
0.490196
0.094697
0.085227
0.087121
0.136364
0.136364
0.136364
0
0
0
0
0.001504
0.177998
809
32
65
25.28125
0.792481
0.358467
0
0
0
0
0.116601
0
0
0
0
0
0
1
0.2
false
0
0.066667
0.066667
0.466667
0.133333
0
0
0
null
0
0
0
0
0
0
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
1
0
0a6a0fd024fe59393b29eb7bb5c4f5bdd676e60b
8,845
py
Python
intent/scripts/classification/ctn_to_classifier.py
rgeorgi/intent
9920798c126f6d354029f7bb0a345e7cdb649f3a
[ "MIT" ]
3
2016-08-05T01:11:57.000Z
2017-08-26T15:35:51.000Z
intent/scripts/classification/ctn_to_classifier.py
rgeorgi/intent
9920798c126f6d354029f7bb0a345e7cdb649f3a
[ "MIT" ]
2
2016-03-01T22:41:24.000Z
2016-09-14T18:39:25.000Z
intent/scripts/classification/ctn_to_classifier.py
rgeorgi/intent
9920798c126f6d354029f7bb0a345e7cdb649f3a
[ "MIT" ]
null
null
null
from argparse import ArgumentParser from collections import defaultdict import glob import os import pickle from random import shuffle, seed import sys from tempfile import mkdtemp import shutil import logging root_logger = logging.getLogger() root_logger.setLevel(logging.DEBUG) CTN_LOG = logging.getLogger('CTN_CLASS...
33.25188
116
0.614019
1,131
8,845
4.565871
0.232538
0.020914
0.020914
0.020914
0.267622
0.2134
0.17622
0.148335
0.12471
0.117351
0
0.006994
0.240249
8,845
265
117
33.377358
0.761458
0.261617
0
0.084615
0
0
0.096026
0.035162
0
0
0
0
0
1
0.023077
false
0
0.176923
0
0.207692
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
0
0
1
0
0a6abcccf806b40379eafeffa1d5d6385d6c8a7c
1,358
py
Python
watchdog/back-end/v0.3.0/watchdog/app/resource/video.py
Havana3351/Low-cost-remote-monitor
9f86a62b8515c0f9fddda31f25548680f0ad8e2f
[ "MIT" ]
18
2021-12-03T13:18:07.000Z
2022-03-30T20:20:17.000Z
watchdog/back-end/v1.0.0/watchdogV1-3/app/resource/video.py
Fairywyt/Low-cost-remote-monitor
263b98d969251d2dbef5fb5e4d42a58075e744fa
[ "MIT" ]
null
null
null
watchdog/back-end/v1.0.0/watchdogV1-3/app/resource/video.py
Fairywyt/Low-cost-remote-monitor
263b98d969251d2dbef5fb5e4d42a58075e744fa
[ "MIT" ]
4
2022-03-22T09:58:00.000Z
2022-03-28T08:57:17.000Z
from flask_restful import Resource from flask import Response import os import cv2 picturecounter = 1 # 防止过多记录的标识 class Video(Resource): #如果方法为get 调用该方法 def get(self): global picturecounter # username = (request.get_json())['username'] # db = pymysql.connect("rm-2ze61i7u6d7a3fwp9yo...
26.115385
111
0.563328
140
1,358
5.45
0.564286
0.058978
0.026212
0.047182
0.049803
0
0
0
0
0
0
0.028571
0.304124
1,358
52
112
26.115385
0.778836
0.279087
0
0.08
0
0
0.086189
0.055036
0
0
0
0
0
1
0.08
false
0
0.16
0
0.32
0.08
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a6b4ad6f031ba8193614f726faf3a710def3c48
22,385
py
Python
codes/ambfix.py
valgur/LEOGPS
f289f279ef55980a0e3fd82b3b3686e41c474a2e
[ "MIT" ]
null
null
null
codes/ambfix.py
valgur/LEOGPS
f289f279ef55980a0e3fd82b3b3686e41c474a2e
[ "MIT" ]
null
null
null
codes/ambfix.py
valgur/LEOGPS
f289f279ef55980a0e3fd82b3b3686e41c474a2e
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 ''' ############################################################################### ############################################################################### ## ## ## _ ___ ___ ___ ___ ___ ...
42.638095
104
0.3979
2,065
22,385
4.287167
0.245036
0.007907
0.027109
0.002711
0.192025
0.161301
0.111714
0.105162
0.069129
0.055574
0
0.023238
0.421354
22,385
524
105
42.719466
0.660233
0.510476
0
0.068027
0
0
0.031044
0
0
0
0
0
0
1
0.034014
false
0
0.006803
0
0.102041
0.040816
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a6bdfe36df3fc3c2674d86fa755f854cc5eacf6
133
py
Python
summarizer/test_summarizer.py
bmcilw1/text-summary
f594fd4f41279a6e11262ac859cfbdad6aaf1703
[ "MIT" ]
null
null
null
summarizer/test_summarizer.py
bmcilw1/text-summary
f594fd4f41279a6e11262ac859cfbdad6aaf1703
[ "MIT" ]
null
null
null
summarizer/test_summarizer.py
bmcilw1/text-summary
f594fd4f41279a6e11262ac859cfbdad6aaf1703
[ "MIT" ]
null
null
null
from summarizer.summarizer import summarize def test_summarize_whenPassedEmptyString_ReturnsEmpty(): assert summarize("") == ""
26.6
56
0.796992
12
133
8.583333
0.75
0
0
0
0
0
0
0
0
0
0
0
0.112782
133
5
57
26.6
0.872881
0
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
1
0
1
0
0
7
0a6d2f3733dce67a2fafd219a662c5c458e102f9
1,774
py
Python
XORCipher/XOREncrypt.py
KarthikGandrala/DataEncryption
6ed4dffead345bc9f7010ac2ea9afbff958c85af
[ "MIT" ]
1
2021-07-12T06:05:45.000Z
2021-07-12T06:05:45.000Z
XORCipher/XOREncrypt.py
KarthikGandrala/Encrypt-Your-Data
6ed4dffead345bc9f7010ac2ea9afbff958c85af
[ "MIT" ]
null
null
null
XORCipher/XOREncrypt.py
KarthikGandrala/Encrypt-Your-Data
6ed4dffead345bc9f7010ac2ea9afbff958c85af
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # Function to encrypt message using key is defined def encrypt(msg, key): # Defining empty strings and counters hexadecimal = '' iteration = 0 # Running for loop in the range of MSG and comparing the BITS for i in range(len(msg)): ...
23.653333
79
0.558061
240
1,774
4.079167
0.35
0.030644
0.040858
0.033708
0.332993
0.304392
0.304392
0.304392
0.304392
0.304392
0
0.01421
0.365276
1,774
74
80
23.972973
0.85524
0.424464
0
0.347826
0
0
0.00498
0
0
0
0
0
0
1
0.086957
false
0
0
0
0.173913
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
0
0
1
0
0a6e68db8c94071ad8a29d0149ef1ef93e54c4c1
634
py
Python
02-Use-functions/21-Opening_a_file/secret_message.py
francisrod01/udacity_python_foundations
2a384cf35ce7eff547c88097cdc45cc4e8fc6041
[ "MIT" ]
null
null
null
02-Use-functions/21-Opening_a_file/secret_message.py
francisrod01/udacity_python_foundations
2a384cf35ce7eff547c88097cdc45cc4e8fc6041
[ "MIT" ]
null
null
null
02-Use-functions/21-Opening_a_file/secret_message.py
francisrod01/udacity_python_foundations
2a384cf35ce7eff547c88097cdc45cc4e8fc6041
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import os import random def rename_files(path): file_list = os.listdir(path) print(file_list) for file_name in file_list: # Remove numbers from filename. # new_file_name file_name.translation(None, "0123456789") # Add random numbers to beginning of filename. ...
25.36
83
0.679811
90
634
4.588889
0.433333
0.174334
0.106538
0.09201
0.164649
0.164649
0
0
0
0
0
0.027944
0.209779
634
24
84
26.416667
0.796407
0.233438
0
0
0
0
0.178423
0
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.272727
0.272727
0
0
0
null
0
0
0
0
0
0
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
1
0
0a6eef44c90456b4e29cb5273e1126093472758f
101,780
py
Python
xarray/core/variable.py
timgates42/xarray
bf0fe2caca1d2ebc4f1298f019758baa12f68b94
[ "Apache-2.0" ]
null
null
null
xarray/core/variable.py
timgates42/xarray
bf0fe2caca1d2ebc4f1298f019758baa12f68b94
[ "Apache-2.0" ]
null
null
null
xarray/core/variable.py
timgates42/xarray
bf0fe2caca1d2ebc4f1298f019758baa12f68b94
[ "Apache-2.0" ]
1
2021-07-13T07:06:10.000Z
2021-07-13T07:06:10.000Z
import copy import functools import itertools import numbers import warnings from collections import defaultdict from datetime import timedelta from distutils.version import LooseVersion from typing import ( Any, Dict, Hashable, Mapping, Optional, Sequence, Tuple, TypeVar, Union, ) ...
36.664265
124
0.589674
12,480
101,780
4.697596
0.086699
0.011053
0.005322
0.003002
0.36257
0.309948
0.276226
0.248729
0.225327
0.214035
0
0.004336
0.3247
101,780
2,775
125
36.677477
0.848629
0.358666
0
0.292683
0
0.002152
0.075808
0.003862
0
0
0
0.003604
0.003587
1
0.090387
false
0.001435
0.020803
0.016499
0.218077
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
0
0
1
0
0a6f4ad99174d6090d3cbdb6c9bcc1d787eae3b4
223
py
Python
codeforces.com/1186A/solution.py
zubtsov/competitive-programming
919d63130144347d7f6eddcf8f5bc2afb85fddf3
[ "MIT" ]
null
null
null
codeforces.com/1186A/solution.py
zubtsov/competitive-programming
919d63130144347d7f6eddcf8f5bc2afb85fddf3
[ "MIT" ]
null
null
null
codeforces.com/1186A/solution.py
zubtsov/competitive-programming
919d63130144347d7f6eddcf8f5bc2afb85fddf3
[ "MIT" ]
null
null
null
number_of_participants, number_of_pens, number_of_notebooks = map(int, input().split()) if number_of_pens >= number_of_participants and number_of_notebooks >= number_of_participants: print('Yes') else: print('No')
31.857143
94
0.7713
32
223
4.9375
0.46875
0.35443
0.379747
0.227848
0.253165
0
0
0
0
0
0
0
0.116592
223
6
95
37.166667
0.80203
0
0
0
0
0
0.022422
0
0
0
0
0
0
1
0
true
0
0
0
0
0.4
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
0a7052f7029ee061d74d603abefe9574ef7b3461
114
py
Python
DLA/__main__.py
StanczakDominik/DLA
bf63592a5ac96ffef639e7a0c80d7d52ff776322
[ "MIT" ]
null
null
null
DLA/__main__.py
StanczakDominik/DLA
bf63592a5ac96ffef639e7a0c80d7d52ff776322
[ "MIT" ]
null
null
null
DLA/__main__.py
StanczakDominik/DLA
bf63592a5ac96ffef639e7a0c80d7d52ff776322
[ "MIT" ]
null
null
null
from DLA import main_single d = main_single(1, gotosize=[1e4, 5e4]) d.plot_particles() d.plot_mass_distribution()
22.8
39
0.780702
19
114
4.421053
0.736842
0.238095
0
0
0
0
0
0
0
0
0
0.048544
0.096491
114
4
40
28.5
0.76699
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
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
3
0a70ca1b5958248a2b51b4d49a2d791ec9ec77e7
36,386
py
Python
pyamf/tests/test_util.py
bulutistan/Py3AMF
3de53095b52fe2bf82b69ba5ad0b894b53045f7e
[ "MIT" ]
42
2017-04-17T11:40:25.000Z
2021-09-19T09:59:31.000Z
pyamf/tests/test_util.py
bulutistan/Py3AMF
3de53095b52fe2bf82b69ba5ad0b894b53045f7e
[ "MIT" ]
8
2017-07-27T07:39:30.000Z
2021-10-19T09:49:09.000Z
pyamf/tests/test_util.py
bulutistan/Py3AMF
3de53095b52fe2bf82b69ba5ad0b894b53045f7e
[ "MIT" ]
15
2017-05-16T12:46:33.000Z
2021-09-20T02:30:57.000Z
# -*- coding: utf-8 -*- # # Copyright (c) The PyAMF Project. # See LICENSE.txt for details. """ Tests for AMF utilities. @since: 0.1.0 """ import unittest from datetime import datetime from io import BytesIO import pyamf from pyamf import util from pyamf.tests.util import replace_dict PosInf = 1e300000 NegInf = -...
27.461132
81
0.542516
4,237
36,386
4.513335
0.068445
0.167076
0.038592
0.028866
0.76808
0.688072
0.59886
0.539612
0.495163
0.478795
0
0.051481
0.3124
36,386
1,324
82
27.481873
0.712858
0.027098
0
0.581706
0
0
0.113514
0.024349
0
0
0
0
0.279548
1
0.080164
false
0.018499
0.006167
0.005139
0.163412
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
0
0
1
0
0a71715157a2be752f2c46cd1b41f44aab6ece59
3,087
py
Python
e-valuator.py
keocol/e-valuator
c2bab22e3debf08263fef57ee4135312a2bb2b0d
[ "MIT" ]
null
null
null
e-valuator.py
keocol/e-valuator
c2bab22e3debf08263fef57ee4135312a2bb2b0d
[ "MIT" ]
null
null
null
e-valuator.py
keocol/e-valuator
c2bab22e3debf08263fef57ee4135312a2bb2b0d
[ "MIT" ]
null
null
null
import dns.resolver import sys import colorama import platform from colorama import init, Fore, Back, Style import re # pip install -r requirements.txt (colorama) os = platform.platform() if os.find('Windows')!= (-1): init(convert=True) print(""" ███████╗░░░░░░██╗░░░██╗░█████╗░██╗░░░░░██╗░░░██...
32.15625
108
0.547781
376
3,087
5.712766
0.276596
0.054469
0.039106
0.03352
0.272346
0.22905
0.189013
0.136872
0.136872
0.099628
0
0.006923
0.157758
3,087
96
108
32.15625
0.632308
0.022676
0
0.092308
0
0
0.516615
0.17369
0
0
0
0
0
1
0
false
0.030769
0.092308
0
0.092308
0.246154
0
0
0
null
0
0
0
0
0
0
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
1
0
6a50e8edb03f4c7852b3cc7809ccd49216f25af1
2,655
py
Python
api/server.py
qh73xe/HowAboutNatume
8d994a1e16e2153dc200097d8f8b43713d76a3d5
[ "MIT" ]
null
null
null
api/server.py
qh73xe/HowAboutNatume
8d994a1e16e2153dc200097d8f8b43713d76a3d5
[ "MIT" ]
7
2020-03-24T15:37:48.000Z
2021-06-01T22:01:22.000Z
api/server.py
qh73xe/HowAboutNatume
8d994a1e16e2153dc200097d8f8b43713d76a3d5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -* """トルネードを使用した ask.api を作成します.""" from json import dumps from tornado.httpserver import HTTPServer from tornado.ioloop import IOLoop from tornado.options import parse_command_line from tornado.web import Application, RequestHandler from tornado.options import define, options from tokenizer impor...
27.947368
75
0.529567
257
2,655
5.377432
0.428016
0.039797
0.026049
0.034732
0.162084
0.162084
0.114327
0.114327
0.114327
0.049204
0
0.008097
0.348776
2,655
94
76
28.244681
0.791209
0.049718
0
0.27027
0
0
0.113909
0
0
0
0
0
0
1
0.027027
false
0
0.148649
0
0.189189
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
0
0
1
0
6a5258097a7cb4af2ef28cde1153d8db7884fd80
3,012
py
Python
proxy/http/chunk_parser.py
GDGSNF/proxy.py
3ee2824217286df3c108beadf3185eee35c28b49
[ "BSD-3-Clause" ]
null
null
null
proxy/http/chunk_parser.py
GDGSNF/proxy.py
3ee2824217286df3c108beadf3185eee35c28b49
[ "BSD-3-Clause" ]
null
null
null
proxy/http/chunk_parser.py
GDGSNF/proxy.py
3ee2824217286df3c108beadf3185eee35c28b49
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ proxy.py ~~~~~~~~ ⚡⚡⚡ Fast, Lightweight, Pluggable, TLS interception capable proxy server focused on Network monitoring, controls & Application development, testing, debugging. :copyright: (c) 2013-present by Abhinav Singh and contributors. :license: BSD, see LICENSE...
35.857143
86
0.581009
345
3,012
4.985507
0.344928
0.047093
0.105814
0.09593
0.148837
0.12093
0.051163
0
0
0
0
0.007232
0.311421
3,012
83
87
36.289157
0.820636
0.191899
0
0.103448
0
0
0.027197
0
0
0
0
0
0.017241
1
0.068966
false
0
0.051724
0
0.189655
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
0
0
1
0
6a53c43c787fb87b95985049d6273d36fc7dbdab
31,240
py
Python
nova/pci/stats.py
10088/nova
972c06c608f0b00e9066d7f581fd81197065cf49
[ "Apache-2.0" ]
null
null
null
nova/pci/stats.py
10088/nova
972c06c608f0b00e9066d7f581fd81197065cf49
[ "Apache-2.0" ]
null
null
null
nova/pci/stats.py
10088/nova
972c06c608f0b00e9066d7f581fd81197065cf49
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2013 Intel, Inc. # Copyright (c) 2013 OpenStack Foundation # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/li...
41.708945
79
0.628073
4,075
31,240
4.694969
0.146012
0.009722
0.009879
0.010245
0.441721
0.391177
0.358562
0.331121
0.326051
0.312356
0
0.001008
0.301536
31,240
748
80
41.764706
0.875802
0.409027
0
0.369231
0
0
0.104684
0.027765
0
0
0
0.001337
0
1
0.071795
false
0.002564
0.030769
0.002564
0.207692
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
0
0
1
0
6a54175f824a3a8a92a61c38d426dd45948b4848
364
py
Python
Use.py
Codingprivacy/Multiple-Rename
486289e8158487dad058cd8f781ac27bc9a5fc02
[ "MIT" ]
2
2018-04-01T06:16:33.000Z
2018-05-04T18:57:50.000Z
Use.py
codingprivacy/Multiple-Rename
486289e8158487dad058cd8f781ac27bc9a5fc02
[ "MIT" ]
null
null
null
Use.py
codingprivacy/Multiple-Rename
486289e8158487dad058cd8f781ac27bc9a5fc02
[ "MIT" ]
null
null
null
import multiple multiple.rename("C:/Users/Username/Desktop",'new_name',33,'.exe') """this above lines renames all the files of the folder Desktop to 'new_name' and count starts from 33 to further (we can also provide 1 to start it from 1) and extension is given '.exe' hence the files will be renamed like : 1. new_n...
28
81
0.739011
66
364
4.015152
0.69697
0.05283
0
0
0
0
0
0
0
0
0
0.039474
0.164835
364
13
82
28
0.832237
0
0
0
0
0
0.435294
0.294118
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
2
6a55c2af9ac7243f141edb694902ca98eb95a939
278
py
Python
ReadSymLink.py
ohel/pyorbital-gizmod-tweaks
4c02783d1c6287df508351467a5c203a11430b07
[ "Unlicense" ]
null
null
null
ReadSymLink.py
ohel/pyorbital-gizmod-tweaks
4c02783d1c6287df508351467a5c203a11430b07
[ "Unlicense" ]
null
null
null
ReadSymLink.py
ohel/pyorbital-gizmod-tweaks
4c02783d1c6287df508351467a5c203a11430b07
[ "Unlicense" ]
null
null
null
import os def readlinkabs(l): """ Return an absolute path for the destination of a symlink """ if not (os.path.islink(l)): return None p = os.readlink(l) if os.path.isabs(p): return p return os.path.join(os.path.dirname(l), p)
18.533333
48
0.582734
43
278
3.767442
0.55814
0.148148
0
0
0
0
0
0
0
0
0
0
0.294964
278
14
49
19.857143
0.826531
0.205036
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6a55f8c89efdf9367ae5e51c6555c781fae366b6
1,368
py
Python
examples/capture_circular.py
IanTBlack/picamera2
4d31a56cdb0d8360e71927e754fc6bef50bec360
[ "BSD-2-Clause" ]
71
2022-02-15T14:24:34.000Z
2022-03-29T16:36:46.000Z
examples/capture_circular.py
IanTBlack/picamera2
4d31a56cdb0d8360e71927e754fc6bef50bec360
[ "BSD-2-Clause" ]
37
2022-02-16T12:35:45.000Z
2022-03-31T13:18:42.000Z
examples/capture_circular.py
IanTBlack/picamera2
4d31a56cdb0d8360e71927e754fc6bef50bec360
[ "BSD-2-Clause" ]
15
2022-02-16T12:12:57.000Z
2022-03-31T15:17:58.000Z
#!/usr/bin/python3 import time import numpy as np from picamera2.encoders import H264Encoder from picamera2.outputs import CircularOutput from picamera2 import Picamera2 lsize = (320, 240) picam2 = Picamera2() video_config = picam2.video_configuration(main={"size": (1280, 720), "format": "RGB888"}, ...
27.918367
89
0.604532
158
1,368
5.189873
0.481013
0.063415
0.041463
0
0
0
0
0
0
0
0
0.05499
0.282164
1,368
48
90
28.5
0.780041
0.057749
0
0.051282
0
0
0.041991
0
0
0
0
0
0
1
0
false
0
0.128205
0
0.128205
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6a561a673ebb04da901d20e99ce9c86e3955a26e
8,933
py
Python
Bio/NeuralNetwork/Gene/Pattern.py
barendt/biopython
391bcdbee7f821bff3e12b75c635a06bc1b2dcea
[ "PostgreSQL" ]
3
2017-10-23T21:53:57.000Z
2019-09-23T05:14:12.000Z
Bio/NeuralNetwork/Gene/Pattern.py
eoc21/biopython
c0f8db8f55a506837c320459957a0ce99b0618b6
[ "PostgreSQL" ]
null
null
null
Bio/NeuralNetwork/Gene/Pattern.py
eoc21/biopython
c0f8db8f55a506837c320459957a0ce99b0618b6
[ "PostgreSQL" ]
6
2020-02-26T16:34:20.000Z
2020-03-04T15:34:00.000Z
"""Generic functionality useful for all gene representations. This module contains classes which can be used for all the different types of patterns available for representing gene information (ie. motifs, signatures and schemas). These are the general classes which should be handle any of the different specific patte...
35.169291
110
0.622187
1,139
8,933
4.733977
0.240562
0.046921
0.033383
0.014837
0.147997
0.120364
0.089392
0.059904
0.031157
0.018175
0
0.002129
0.316355
8,933
253
111
35.3083
0.880793
0.431994
0
0.175258
0
0
0.015038
0
0
0
0
0
0
1
0.123711
false
0
0.030928
0
0.257732
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
0
0
1
0
6a565a6b3597c1dbb9a2e86bdaf31bd17e76951c
58
py
Python
neslter/parsing/nut/__init__.py
WHOIGit/nes-lter-ims
d4cc96c10da56ca33286af84d669625b67170522
[ "MIT" ]
3
2019-01-24T16:32:50.000Z
2021-11-05T02:18:12.000Z
neslter/parsing/nut/__init__.py
WHOIGit/nes-lter-ims
d4cc96c10da56ca33286af84d669625b67170522
[ "MIT" ]
45
2019-05-23T15:15:32.000Z
2022-03-15T14:09:20.000Z
neslter/parsing/nut/__init__.py
WHOIGit/nes-lter-ims
d4cc96c10da56ca33286af84d669625b67170522
[ "MIT" ]
null
null
null
from .nut import parse_nut, format_nut, merge_nut_bottles
29
57
0.844828
10
58
4.5
0.7
0
0
0
0
0
0
0
0
0
0
0
0.103448
58
1
58
58
0.865385
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
6a57cefd47f3150e0a9d0bbdcd3affcfe90d72c9
15,520
py
Python
legtool/tabs/servo_tab.py
jpieper/legtool
ab3946051bd16817b61d3073ce7be8bd27af90d0
[ "Apache-2.0" ]
10
2015-09-23T19:28:06.000Z
2021-04-27T02:32:27.000Z
legtool/tabs/servo_tab.py
jpieper/legtool
ab3946051bd16817b61d3073ce7be8bd27af90d0
[ "Apache-2.0" ]
null
null
null
legtool/tabs/servo_tab.py
jpieper/legtool
ab3946051bd16817b61d3073ce7be8bd27af90d0
[ "Apache-2.0" ]
9
2015-10-16T07:26:18.000Z
2021-01-13T07:18:35.000Z
# Copyright 2014 Josh Pieper, jjp@pobox.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/LICENSE-2.0 # # Unless required by applicable law or agreed...
35.514874
78
0.593814
1,727
15,520
5.188188
0.169658
0.042857
0.045313
0.014286
0.333259
0.252232
0.206027
0.152567
0.11529
0.086496
0
0.005517
0.299227
15,520
436
79
35.59633
0.818316
0.040013
0
0.168675
0
0
0.032926
0
0
0
0
0
0
0
null
null
0.003012
0.024096
null
null
0.006024
0
0
0
null
0
0
0
0
0
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
6a588636dc362efae84b790a87924f429a4e4039
33,745
py
Python
epsilon/juice.py
twisted/epsilon
783910e1829688e95719a7d3151ec3e2cbb101fd
[ "MIT" ]
4
2017-09-01T18:49:11.000Z
2020-04-21T10:11:33.000Z
epsilon/juice.py
twisted/epsilon
783910e1829688e95719a7d3151ec3e2cbb101fd
[ "MIT" ]
35
2015-01-16T22:12:44.000Z
2021-07-11T11:28:58.000Z
epsilon/juice.py
twisted/epsilon
783910e1829688e95719a7d3151ec3e2cbb101fd
[ "MIT" ]
8
2015-01-24T17:43:58.000Z
2019-09-01T12:38:41.000Z
# -*- test-case-name: epsilon.test.test_juice -*- # Copyright 2005 Divmod, Inc. See LICENSE file for details import warnings, pprint import keyword import io import six from twisted.internet.main import CONNECTION_LOST from twisted.internet.defer import Deferred, maybeDeferred, fail from twisted.internet.protocol im...
33.410891
133
0.602874
3,557
33,745
5.621872
0.187799
0.007601
0.008251
0.010352
0.165325
0.108466
0.088113
0.061259
0.032005
0.020503
0
0.002611
0.30766
33,745
1,009
134
33.444004
0.853315
0.141325
0
0.226124
0
0
0.060525
0
0
0
0
0
0.011236
1
0.164326
false
0.007022
0.018258
0.044944
0.428371
0.004213
0
0
0
null
0
0
0
0
0
0
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
1
0
6a5913eb8964167841ec2eb740f4b32d39ad706a
7,290
py
Python
bonsai3/simulator_client.py
kirillpol-ms/bonsai3-py
ede9c2c1d25d784d61b7cbf1438a257b5d592274
[ "MIT" ]
null
null
null
bonsai3/simulator_client.py
kirillpol-ms/bonsai3-py
ede9c2c1d25d784d61b7cbf1438a257b5d592274
[ "MIT" ]
3
2020-06-01T18:43:55.000Z
2020-08-14T17:44:54.000Z
bonsai3/simulator_client.py
BonsaiAI/bonsai3-py
29158cc58f39604fa96e10e41ff00fc195f6b315
[ "MIT" ]
2
2020-06-16T14:24:17.000Z
2020-08-13T00:27:31.000Z
""" Client for simulator requests """ __copyright__ = "Copyright 2020, Microsoft Corp." # pyright: strict from random import uniform import time from typing import Union import jsons import requests from .exceptions import RetryTimeoutError, ServiceError from .logger import Logger from .simulator_protocol import ( ...
38.167539
120
0.58834
735
7,290
5.635374
0.273469
0.03042
0.02873
0.02028
0.216079
0.142926
0.105746
0.105746
0.07436
0.07436
0
0.008163
0.327846
7,290
190
121
38.368421
0.837143
0.065706
0
0.190789
0
0
0.18377
0.02162
0
0
0
0.005263
0.019737
1
0.052632
false
0
0.052632
0.013158
0.157895
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
0
0
1
0
6a5a09a1f1eb09c5b1fb6c4e179dd1021a0b354e
47,088
py
Python
perturbed_images_generation_multiProcess.py
gwxie/Synthesize-Distorted-Image-and-Its-Control-Points
ed6de3e05a7ee1f3aecf65fcbb87c11d2ede41e7
[ "Apache-2.0" ]
8
2022-03-27T18:37:57.000Z
2022-03-30T09:17:26.000Z
perturbed_images_generation_multiProcess.py
gwxie/Synthesize-Distorted-Image-and-Its-Control-Points
ed6de3e05a7ee1f3aecf65fcbb87c11d2ede41e7
[ "Apache-2.0" ]
null
null
null
perturbed_images_generation_multiProcess.py
gwxie/Synthesize-Distorted-Image-and-Its-Control-Points
ed6de3e05a7ee1f3aecf65fcbb87c11d2ede41e7
[ "Apache-2.0" ]
1
2022-03-31T02:22:58.000Z
2022-03-31T02:22:58.000Z
''' GuoWang xie set up :2020-1-9 intergrate img and label into one file -- fiducial1024_v1 ''' import argparse import sys, os import pickle import random import collections import json import numpy as np import scipy.io as io import scipy.misc as m import matplotlib.pyplot as plt import glob import math import time ...
53.692132
380
0.720417
7,535
47,088
4.138421
0.052157
0.120065
0.057339
0.028766
0.79088
0.720938
0.670558
0.626014
0.595773
0.560562
0
0.048875
0.13445
47,088
876
381
53.753425
0.716221
0.144156
0
0.301205
0
0
0.022177
0.002927
0
0
0
0
0
1
0.01004
false
0
0.038153
0.002008
0.052209
0.008032
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
6a5a90584312df812f9d84d198fd00ed22ebcb67
3,042
py
Python
tweet_evaluator.py
tw-ddis/Gnip-Tweet-Evaluation
c5c847698bd6deb891870e5cf2514dfe78caa1c2
[ "MIT" ]
3
2019-11-14T11:46:27.000Z
2021-01-16T06:04:46.000Z
tweet_evaluator.py
pen-corsica/Gnip-Tweet-Evaluation
c5c847698bd6deb891870e5cf2514dfe78caa1c2
[ "MIT" ]
1
2017-09-19T22:59:03.000Z
2017-09-19T23:06:12.000Z
tweet_evaluator.py
pen-corsica/Gnip-Tweet-Evaluation
c5c847698bd6deb891870e5cf2514dfe78caa1c2
[ "MIT" ]
4
2016-06-13T16:34:32.000Z
2017-08-01T20:20:56.000Z
#!/usr/bin/env python import argparse import logging try: import ujson as json except ImportError: import json import sys import datetime import os import importlib from gnip_tweet_evaluation import analysis,output """ Perform audience and/or conversation analysis on a set of Tweets. """ logger = logging.g...
42.25
140
0.72288
389
3,042
5.449871
0.329049
0.046226
0.048113
0.046698
0.22783
0.209434
0.209434
0.133019
0.09434
0.09434
0
0.004355
0.169625
3,042
71
141
42.84507
0.834917
0.085141
0
0
0
0
0.230115
0.052904
0
0
0
0
0
1
0
false
0
0.204082
0
0.204082
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
0
0
1
0
6a5b61c287644aa1eac5b1af996dc433d21c0841
2,621
py
Python
app.py
admiral-aokiji/whatsapp-bot
5a0b0d4afddc679cda3670771934cb472629587a
[ "MIT" ]
null
null
null
app.py
admiral-aokiji/whatsapp-bot
5a0b0d4afddc679cda3670771934cb472629587a
[ "MIT" ]
null
null
null
app.py
admiral-aokiji/whatsapp-bot
5a0b0d4afddc679cda3670771934cb472629587a
[ "MIT" ]
null
null
null
from flask import Flask, request import os from twilio.twiml.messaging_response import MessagingResponse from selenium import webdriver chrome_options = webdriver.ChromeOptions() chrome_options.binary_location = os.environ.get("GOOGLE_CHROME_BIN") chrome_options.add_argument("--headless") chrome_options.add_argument("-...
39.119403
217
0.645174
328
2,621
4.981707
0.393293
0.100979
0.073439
0.073439
0.241126
0.230722
0.230722
0.230722
0.230722
0.230722
0
0.010816
0.22396
2,621
66
218
39.712121
0.79056
0.023274
0
0.272727
0
0.018182
0.227397
0.020744
0
0
0
0
0
1
0.036364
false
0.018182
0.090909
0.018182
0.163636
0.036364
0
0
0
null
0
0
0
0
0
0
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
1
0
6a5b876bee110f96f947af456cbf93cb78d5e1bc
94
py
Python
nflfastpy/errors.py
hchaozhe/nflfastpy
11e4894d7fee4ff8baac2c08b000a39308b41143
[ "MIT" ]
47
2020-10-24T10:10:51.000Z
2022-03-07T19:48:05.000Z
nflfastpy/errors.py
jbf302/nflfastpy
c1e2365966e0f0f8efeb651be804d84caba57807
[ "MIT" ]
3
2021-05-03T11:58:00.000Z
2021-11-14T16:17:30.000Z
nflfastpy/errors.py
jbf302/nflfastpy
c1e2365966e0f0f8efeb651be804d84caba57807
[ "MIT" ]
7
2020-12-14T15:03:12.000Z
2021-11-17T23:41:37.000Z
""" Custom exceptions for nflfastpy module """ class SeasonNotFoundError(Exception): pass
15.666667
38
0.755319
9
94
7.888889
1
0
0
0
0
0
0
0
0
0
0
0
0.148936
94
6
39
15.666667
0.8875
0.404255
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
6a5ce615b33cd197b365d6e3673610f15fbcf59b
12,289
py
Python
assignment1/cs231n/classifiers/neural_net.py
zeevikal/CS231n-spring2018
50691a947b877047099e7a1fe99a3fdea4a4fcf8
[ "MIT" ]
null
null
null
assignment1/cs231n/classifiers/neural_net.py
zeevikal/CS231n-spring2018
50691a947b877047099e7a1fe99a3fdea4a4fcf8
[ "MIT" ]
3
2019-12-09T06:04:00.000Z
2019-12-09T06:05:23.000Z
assignment1/cs231n/classifiers/neural_net.py
zeevikal/CS231n-spring2018
50691a947b877047099e7a1fe99a3fdea4a4fcf8
[ "MIT" ]
null
null
null
from __future__ import print_function import numpy as np import matplotlib.pyplot as plt class TwoLayerNet(object): """ A two-layer fully-connected neural network. The net has an input dimension of N, a hidden layer dimension of H, and performs classification over C classes. We train the network...
45.854478
85
0.487509
1,421
12,289
4.123153
0.214638
0.023895
0.010923
0.013313
0.084144
0.051715
0.044035
0.019799
0.011265
0.011265
0
0.013716
0.311824
12,289
268
86
45.854478
0.679082
0.480104
0
0
0
0
0.02309
0
0
0
0
0.011194
0
1
0.049383
false
0
0.037037
0
0.148148
0.024691
0
0
0
null
0
0
0
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
6a5cfd1895fbfd5a40ac1b9716a706c236f16372
2,309
py
Python
dynamic_setting/tests/test_models.py
koralarts/django-dynamic-settings
8a3c5f44ad71f6d8fb78af9e7a3f5a380dd3d318
[ "MIT" ]
2
2015-02-11T05:07:19.000Z
2015-11-24T17:49:03.000Z
dynamic_setting/tests/test_models.py
koralarts/django-dynamic-settings
8a3c5f44ad71f6d8fb78af9e7a3f5a380dd3d318
[ "MIT" ]
1
2018-03-02T13:26:08.000Z
2018-03-02T13:26:08.000Z
dynamic_setting/tests/test_models.py
koralarts/django-dynamic-settings
8a3c5f44ad71f6d8fb78af9e7a3f5a380dd3d318
[ "MIT" ]
null
null
null
from django.test import TestCase from dynamic_setting.models import Setting class SettingTestCase(TestCase): def _create_setting(self, name, **kwargs): return Setting.objects.create(name=name, **kwargs) def test_create_setting(self): """ Test Creating a new Setting. """ name = 'T...
36.078125
80
0.628411
262
2,309
5.351145
0.183206
0.094151
0.156919
0.11127
0.584879
0.538516
0.440799
0.381598
0.381598
0.231098
0
0.005872
0.262451
2,309
64
81
36.078125
0.817381
0.073192
0
0.470588
0
0
0.085349
0
0
0
0
0
0.215686
1
0.117647
false
0.019608
0.039216
0.019608
0.196078
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
0
0
1
0
6a5d7ccdf81701102bd40960b2c34a8fefe0bff7
3,973
py
Python
homeassistant/components/zamg/weather.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
30,023
2016-04-13T10:17:53.000Z
2020-03-02T12:56:31.000Z
homeassistant/components/zamg/weather.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
24,710
2016-04-13T08:27:26.000Z
2020-03-02T12:59:13.000Z
homeassistant/components/zamg/weather.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
11,956
2016-04-13T18:42:31.000Z
2020-03-02T09:32:12.000Z
"""Sensor for data from Austrian Zentralanstalt für Meteorologie.""" from __future__ import annotations import logging import voluptuous as vol from homeassistant.components.weather import ( ATTR_WEATHER_HUMIDITY, ATTR_WEATHER_PRESSURE, ATTR_WEATHER_TEMPERATURE, ATTR_WEATHER_WIND_BEARING, ATTR_WE...
28.582734
87
0.678832
454
3,973
5.729075
0.259912
0.042291
0.041522
0.034602
0.110727
0.110727
0.110727
0.110727
0.030757
0
0
0
0.231311
3,973
138
88
28.789855
0.85167
0.131387
0
0.151515
0
0
0.071302
0.009467
0
0
0
0
0
1
0.121212
false
0
0.10101
0
0.343434
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
0
0
1
0
6a5e2a2e683b7b168a4a8789ce91b511ae5da26d
19,403
py
Python
rasa/model.py
martasls/rasa
6e535a847f6be0c05e7b89208f16a53d2c478629
[ "Apache-2.0" ]
null
null
null
rasa/model.py
martasls/rasa
6e535a847f6be0c05e7b89208f16a53d2c478629
[ "Apache-2.0" ]
null
null
null
rasa/model.py
martasls/rasa
6e535a847f6be0c05e7b89208f16a53d2c478629
[ "Apache-2.0" ]
null
null
null
import copy import glob import hashlib import logging import os import shutil from subprocess import CalledProcessError, DEVNULL, check_output # skipcq:BAN-B404 import tempfile import typing from pathlib import Path from typing import Any, Text, Tuple, Union, Optional, List, Dict, NamedTuple from packaging import ver...
31.345719
89
0.687368
2,448
19,403
5.223448
0.137663
0.026746
0.006256
0.007977
0.232893
0.140846
0.105654
0.063502
0.035348
0.015641
0
0.001487
0.237541
19,403
618
90
31.39644
0.86285
0.240891
0
0.16763
0
0
0.066473
0.006531
0
0
0
0
0
1
0.060694
false
0
0.089595
0
0.251445
0.182081
0
0
0
null
0
0
0
0
0
0
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
1
0
6a5e9ccfe0101a01a8c7498e619dd38d0b22d208
2,484
py
Python
algorithmic_trading/backester_framework_test.py
CatalaniCD/quantitative_finance
c752516a43cd80914dcc8411aadd7b15a258d6a4
[ "MIT" ]
1
2021-08-20T19:17:10.000Z
2021-08-20T19:17:10.000Z
algorithmic_trading/backester_framework_test.py
CatalaniCD/quantitative_finance
c752516a43cd80914dcc8411aadd7b15a258d6a4
[ "MIT" ]
null
null
null
algorithmic_trading/backester_framework_test.py
CatalaniCD/quantitative_finance
c752516a43cd80914dcc8411aadd7b15a258d6a4
[ "MIT" ]
1
2021-10-04T07:44:02.000Z
2021-10-04T07:44:02.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Jul 16 11:20:01 2021 @author: q GOAL : develop a backtester from a .py framework / library # installation : pip install backtesting # Documentation Index : - Manuals - Tutorials - Example Strategies - FAQ ...
25.090909
79
0.515298
227
2,484
5.572687
0.621145
0.035573
0.020553
0.031621
0.053755
0.053755
0.053755
0.053755
0
0
0
0.014055
0.226651
2,484
98
80
25.346939
0.644456
0.574074
0
0
0
0
0.008307
0
0
0
0
0
0
1
0.083333
false
0
0.25
0
0.416667
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6a5edc2a9e4d4da78b37be28e1fdb8023841826f
2,215
py
Python
Sec_10_expr_lambdas_fun_integradas/f_generators.py
PauloAlexSilva/Python
690913cdcfd8bde52d9ddd15e3c838e6aef27730
[ "MIT" ]
null
null
null
Sec_10_expr_lambdas_fun_integradas/f_generators.py
PauloAlexSilva/Python
690913cdcfd8bde52d9ddd15e3c838e6aef27730
[ "MIT" ]
null
null
null
Sec_10_expr_lambdas_fun_integradas/f_generators.py
PauloAlexSilva/Python
690913cdcfd8bde52d9ddd15e3c838e6aef27730
[ "MIT" ]
null
null
null
"""" Generator Expression Em aulas anteriores foi abordado: - List Comprehension; - Dictionary Comprehension; - Set Comprehension. Não foi abordado: - Tuple Comprehension ... porque elas se chamam Generators nomes = ['Carlos', 'Camila', 'Carla', 'Cristiana', 'Cristina', 'Vanessa'] print(any8[nomes[0...
24.340659
92
0.719187
321
2,215
4.943925
0.323988
0.05293
0.018904
0.022054
0.388784
0.388784
0.361689
0.308759
0.274102
0.101449
0
0.037217
0.16298
2,215
90
93
24.611111
0.81877
0.950339
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.6
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
1
0
2
6a5f51cf2ae3a67fb99172b7bd4214f43d0d42bc
269
py
Python
python/ordenacao.py
valdirsjr/learning.data
a4b72dfd27f55f2f04120644b73232bf343f71e3
[ "MIT" ]
null
null
null
python/ordenacao.py
valdirsjr/learning.data
a4b72dfd27f55f2f04120644b73232bf343f71e3
[ "MIT" ]
null
null
null
python/ordenacao.py
valdirsjr/learning.data
a4b72dfd27f55f2f04120644b73232bf343f71e3
[ "MIT" ]
null
null
null
numero1 = int(input("Digite o primeiro número: ")) numero2 = int(input("Digite o segundo número: ")) numero3 = int(input("Digite o terceiro número: ")) if (numero1 < numero2 and numero2 < numero3): print("crescente") else: print("não está em ordem crescente")
38.428571
50
0.69145
36
269
5.166667
0.555556
0.129032
0.225806
0.241935
0
0
0
0
0
0
0
0.03125
0.167286
269
7
51
38.428571
0.799107
0
0
0
0
0
0.418519
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6a5f7c637685db9897573cf124a2ab2c3a9ea578
408
py
Python
_sources/5-extra/opg-parameters-sneeuwvlok_solution.py
kooi/ippt-od
f1ba44ccfb72e6fcdfdc392fbfbec3e37c47b354
[ "MIT" ]
1
2018-08-21T21:05:41.000Z
2018-08-21T21:05:41.000Z
_sources/5-extra/opg-parameters-sneeuwvlok_solution.py
kooi/ippt-od
f1ba44ccfb72e6fcdfdc392fbfbec3e37c47b354
[ "MIT" ]
null
null
null
_sources/5-extra/opg-parameters-sneeuwvlok_solution.py
kooi/ippt-od
f1ba44ccfb72e6fcdfdc392fbfbec3e37c47b354
[ "MIT" ]
null
null
null
import turtle tina = turtle.Turtle() tina.shape("turtle") tina.speed(10) def parallellogram(lengte): for i in range(2): tina.forward(lengte) tina.right(60) tina.forward(lengte) tina.right(120) def sneeuwvlok(lengte, num): for i in range(num): parallellogram(lengte) ...
21.473684
72
0.644608
59
408
4.457627
0.525424
0.114068
0.171103
0.08365
0.197719
0
0
0
0
0
0
0.060897
0.235294
408
18
73
22.666667
0.782051
0.098039
0
0.133333
0
0
0.016393
0
0
0
0
0
0
1
0.133333
false
0
0.066667
0
0.2
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
0
0
1
0
6a5ff44d20ced0eb4ad46edf90219db489f08973
5,153
py
Python
nikola/plugins/task_render_listings.py
servalproject/nikola
4d78504d93597894f3da4a434dfafdec907601a7
[ "MIT" ]
1
2015-12-14T21:38:33.000Z
2015-12-14T21:38:33.000Z
nikola/plugins/task_render_listings.py
servalproject/nikola
4d78504d93597894f3da4a434dfafdec907601a7
[ "MIT" ]
null
null
null
nikola/plugins/task_render_listings.py
servalproject/nikola
4d78504d93597894f3da4a434dfafdec907601a7
[ "MIT" ]
null
null
null
# Copyright (c) 2012 Roberto Alsina y otros. # Permission is hereby granted, free of charge, to any # person obtaining a copy of this software and associated # documentation files (the "Software"), to deal in the # Software without restriction, including without limitation # the rights to use, copy, modify, merge, pub...
39.335878
81
0.523578
530
5,153
4.964151
0.375472
0.029266
0.031927
0.015964
0.196503
0.196503
0.155834
0.155834
0.155834
0.129228
0
0.001582
0.386765
5,153
130
82
39.638462
0.831013
0.253639
0
0.224719
0
0
0.108456
0
0
0
0
0
0
1
0.022472
false
0
0.078652
0
0.123596
0.011236
0
0
0
null
0
0
0
0
0
0
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
1
0
6a60999063f76386f01b79b85ecc655ec0929c57
25,232
py
Python
csld/phonon/head.py
jsyony37/csld
b0e6d5845d807174f24ca7b591bc164c608c99c8
[ "MIT" ]
null
null
null
csld/phonon/head.py
jsyony37/csld
b0e6d5845d807174f24ca7b591bc164c608c99c8
[ "MIT" ]
null
null
null
csld/phonon/head.py
jsyony37/csld
b0e6d5845d807174f24ca7b591bc164c608c99c8
[ "MIT" ]
null
null
null
# to include all module here in order to cite from numpy import * from numpy.linalg import * import string import os import scipy import scipy.sparse #import rwposcar #import anaxdat import math #define touch file def touch(file):#input string if os.path.isfile(file): os.system(str("rm"+" "+file)) ...
65.537662
12,884
0.507411
5,174
25,232
2.474295
0.128334
0.038432
0.03187
0.021872
0.645837
0.383065
0.345649
0.280191
0.259959
0.153648
0
0.372021
0.214965
25,232
384
12,885
65.708333
0.274283
0.044031
0
0.452229
0
0
0.029573
0
0
0
0
0
0
1
0.070064
false
0
0.022293
0
0.130573
0.095541
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6a60c251c96da7b05351011b63ba88125eca7fb7
9,790
py
Python
sdk/python/pulumi_azure_native/storage/storage_account_static_website.py
sebtelko/pulumi-azure-native
711ec021b5c73da05611c56c8a35adb0ce3244e4
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/storage/storage_account_static_website.py
sebtelko/pulumi-azure-native
711ec021b5c73da05611c56c8a35adb0ce3244e4
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/storage/storage_account_static_website.py
sebtelko/pulumi-azure-native
711ec021b5c73da05611c56c8a35adb0ce3244e4
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __a...
48.226601
199
0.674157
1,146
9,790
5.49651
0.140489
0.054136
0.066677
0.048897
0.653755
0.575806
0.548976
0.502461
0.480235
0.422448
0
0.008201
0.240245
9,790
202
200
48.465347
0.838666
0.309806
0
0.330645
1
0
0.130107
0.024199
0
0
0
0
0
1
0.137097
false
0.008065
0.040323
0
0.258065
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6a61c6ef3ad58f9b8003931de1870b0f5ad404c7
1,247
py
Python
python/example_code/s3/s3-python-example-get-bucket-policy.py
onehitcombo/aws-doc-sdk-examples
03e2e0c5dee75c5decbbb99e849c51417521fd82
[ "Apache-2.0" ]
3
2021-01-19T20:23:17.000Z
2021-01-19T21:38:59.000Z
python/example_code/s3/s3-python-example-get-bucket-policy.py
onehitcombo/aws-doc-sdk-examples
03e2e0c5dee75c5decbbb99e849c51417521fd82
[ "Apache-2.0" ]
null
null
null
python/example_code/s3/s3-python-example-get-bucket-policy.py
onehitcombo/aws-doc-sdk-examples
03e2e0c5dee75c5decbbb99e849c51417521fd82
[ "Apache-2.0" ]
2
2019-12-27T13:58:00.000Z
2020-05-21T18:35:40.000Z
# Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # This file is licensed under the Apache License, Version 2.0 (the "License"). # You may not use this file except in compliance with the License. A copy of the # License is located at # # http://aws.amazon.com/apache2.0/ # # This f...
35.628571
133
0.735365
186
1,247
4.919355
0.586022
0.054645
0.021858
0
0
0
0
0
0
0
0
0.03074
0.165196
1,247
34
134
36.676471
0.848223
0.847634
0
0
0
0
0.083969
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
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
6a61f1e1f810996e1c76609bf6e7fcc907c4da57
2,020
py
Python
lang/py/aingle/test/gen_interop_data.py
AIngleLab/aae
6e95f89fad60e62bb5305afe97c72f3278d8e04b
[ "Apache-2.0" ]
null
null
null
lang/py/aingle/test/gen_interop_data.py
AIngleLab/aae
6e95f89fad60e62bb5305afe97c72f3278d8e04b
[ "Apache-2.0" ]
null
null
null
lang/py/aingle/test/gen_interop_data.py
AIngleLab/aae
6e95f89fad60e62bb5305afe97c72f3278d8e04b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 ## # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the ...
31.5625
127
0.681188
266
2,020
5.078947
0.526316
0.044412
0.019245
0.023686
0
0
0
0
0
0
0
0.034462
0.195545
2,020
63
128
32.063492
0.796923
0.362871
0
0
0
0
0.182177
0
0
0
0
0
0
1
0.027778
false
0
0.166667
0
0.194444
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
0
0
1
0
6a630004921c5a5ff2ec4e4b2d0a96b0bf000baa
897
py
Python
data_io/util/value_blob_erosion.py
Rekrau/PyGreentea
457d7dc5be12b15c3c7663ceaf6d74301de56e43
[ "BSD-2-Clause" ]
null
null
null
data_io/util/value_blob_erosion.py
Rekrau/PyGreentea
457d7dc5be12b15c3c7663ceaf6d74301de56e43
[ "BSD-2-Clause" ]
4
2016-04-22T15:39:21.000Z
2016-11-15T21:23:58.000Z
data_io/util/value_blob_erosion.py
Rekrau/PyGreentea
457d7dc5be12b15c3c7663ceaf6d74301de56e43
[ "BSD-2-Clause" ]
4
2017-05-12T00:17:55.000Z
2019-07-01T19:23:32.000Z
import numpy as np from scipy import ndimage def erode_value_blobs(array, steps=1, values_to_ignore=tuple(), new_value=0): unique_values = list(np.unique(array)) all_entries_to_keep = np.zeros(shape=array.shape, dtype=np.bool) for unique_value in unique_values: entries_of_this_value = array == uni...
42.714286
101
0.733556
132
897
4.560606
0.340909
0.116279
0.139535
0.186047
0.162791
0.089701
0.089701
0
0
0
0
0.004172
0.198439
897
20
102
44.85
0.833102
0
0
0
0
0
0
0
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.222222
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6a631c95edefbd6ccab71b999ffa359886535e5b
32,032
py
Python
astropy/units/tests/test_logarithmic.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
3
2018-03-20T15:09:16.000Z
2021-05-27T11:17:33.000Z
astropy/units/tests/test_logarithmic.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
astropy/units/tests/test_logarithmic.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
# coding: utf-8 # Licensed under a 3-clause BSD style license - see LICENSE.rst """ Test the Logarithmic Units and Quantities """ from __future__ import (absolute_import, unicode_literals, division, print_function) from ...extern import six from ...extern.six.moves import zip import pickle...
37.031214
80
0.59094
4,465
32,032
4.116013
0.095409
0.017847
0.053107
0.039776
0.529111
0.459571
0.389977
0.325117
0.287572
0.262542
0
0.031804
0.279502
32,032
864
81
37.074074
0.764505
0.113543
0
0.286385
0
0
0.021358
0.001139
0
0
0
0
0.314554
1
0.092332
false
0
0.015649
0
0.125196
0.001565
0
0
0
null
0
0
0
0
0
0
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
1
0
6a64620ee9819bca0e28e6f332c50299811770b5
13,981
py
Python
djconnectwise/tests/mocks.py
kti-sam/django-connectwise
28484faad9435892a46b8ce4a3c957f64c299971
[ "MIT" ]
null
null
null
djconnectwise/tests/mocks.py
kti-sam/django-connectwise
28484faad9435892a46b8ce4a3c957f64c299971
[ "MIT" ]
null
null
null
djconnectwise/tests/mocks.py
kti-sam/django-connectwise
28484faad9435892a46b8ce4a3c957f64c299971
[ "MIT" ]
null
null
null
import os from mock import patch from datetime import datetime, date, time import json import responses from . import fixtures from django.utils import timezone CW_MEMBER_IMAGE_FILENAME = 'AnonymousMember.png' def create_mock_call(method_name, return_value, side_effect=None): """Utility function for mocking th...
36.126615
78
0.800801
1,878
13,981
5.517572
0.089989
0.126327
0.082417
0.113878
0.848292
0.827157
0.807856
0.78701
0.771183
0.648716
0
0.002936
0.123096
13,981
386
79
36.220207
0.842251
0.015235
0
0.359184
0
0
0.213428
0.208991
0
0
0
0
0
1
0.265306
false
0
0.028571
0.004082
0.55102
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
8
6a648d570a29d5a4d4e0f9f5bffd72aadfab36cb
2,632
py
Python
visual_odometry/visual_odometry.py
vineeths96/Visual-Odometry
88d96a23a0bde9c05de1f4dddcca8b6c4bd817e7
[ "MIT" ]
2
2021-07-20T03:49:54.000Z
2022-01-19T13:43:51.000Z
visual_odometry/visual_odometry.py
vineeths96/Visual-Odometry
88d96a23a0bde9c05de1f4dddcca8b6c4bd817e7
[ "MIT" ]
null
null
null
visual_odometry/visual_odometry.py
vineeths96/Visual-Odometry
88d96a23a0bde9c05de1f4dddcca8b6c4bd817e7
[ "MIT" ]
3
2021-11-28T06:23:23.000Z
2021-12-05T17:09:00.000Z
from .monovideoodometry import MonoVideoOdometry from .parameters import * def visual_odometry( image_path="./input/sequences/10/image_0/", pose_path="./input/poses/10.txt", fivepoint=False, ): """ Plots the estimated odometry path using either five point estimation or eight point estimation :...
32.097561
98
0.578647
324
2,632
4.546296
0.345679
0.050917
0.054311
0.057026
0.278344
0.210455
0.158859
0.071962
0.071962
0.071962
0
0.066522
0.297492
2,632
81
99
32.493827
0.730124
0.108283
0
0.283333
0
0
0.109287
0.04406
0
0
0
0
0
1
0.016667
false
0
0.033333
0
0.05
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6a659a66fbda946ae307b1633f49b480eec28005
886
py
Python
tf-2-data-parallelism/src/utils.py
Amirosimani/amazon-sagemaker-script-mode
ea8d7d6b1b0613dffa793c9ae247cfd8868034ec
[ "Apache-2.0" ]
144
2019-02-05T21:03:30.000Z
2022-03-24T15:24:32.000Z
tf-2-data-parallelism/src/utils.py
kirit93/amazon-sagemaker-script-mode
095af07488889bb2655b741749d8740d3e11a49e
[ "Apache-2.0" ]
22
2019-03-04T04:18:02.000Z
2022-03-09T00:21:36.000Z
tf-2-data-parallelism/src/utils.py
kirit93/amazon-sagemaker-script-mode
095af07488889bb2655b741749d8740d3e11a49e
[ "Apache-2.0" ]
94
2019-02-05T21:03:33.000Z
2022-01-16T07:29:15.000Z
import os import numpy as np import tensorflow as tf def get_train_data(train_dir, batch_size): train_images = np.load(os.path.join(train_dir, 'train_images.npy')) train_labels = np.load(os.path.join(train_dir, 'train_labels.npy')) print('train_images', train_images.shape, 'train_labels', train_labels.sha...
36.916667
89
0.76298
134
886
4.731343
0.246269
0.086751
0.050473
0.07571
0.321767
0.321767
0.192429
0.192429
0
0
0
0.006402
0.11851
886
23
90
38.521739
0.805378
0
0
0
0
0
0.148984
0.047404
0
0
0
0
0
1
0.125
false
0
0.1875
0
0.4375
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6a65a78ac7de33dc7adca445fb1aae94ba18f829
10,269
py
Python
scripts/run_rbf_comparison_car_air_top5.py
CaptainCandy/influence-release
a152486a1c130fb5f907259c6692b9fe0d2ef6d0
[ "MIT" ]
null
null
null
scripts/run_rbf_comparison_car_air_top5.py
CaptainCandy/influence-release
a152486a1c130fb5f907259c6692b9fe0d2ef6d0
[ "MIT" ]
null
null
null
scripts/run_rbf_comparison_car_air_top5.py
CaptainCandy/influence-release
a152486a1c130fb5f907259c6692b9fe0d2ef6d0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Mar 19 16:26:35 2019 @author: Administrator """ # Forked from run_rbf_comparison.py from __future__ import division from __future__ import print_function from __future__ import absolute_import from __future__ import unicode_literals import math import copy import numpy as...
30.930723
101
0.7435
1,474
10,269
4.770014
0.160109
0.034135
0.025885
0.021619
0.615417
0.559238
0.533779
0.513583
0.484142
0.484142
0
0.017785
0.134872
10,269
331
102
31.024169
0.773638
0.268575
0
0.419811
0
0
0.047363
0.011572
0
0
0
0.003021
0
1
0.004717
false
0
0.122642
0
0.132075
0.028302
0
0
0
null
0
0
0
0
0
0
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
1
0
6a6623a4cf3e4c5b80fbcffbafebb173294bba30
1,478
py
Python
data/external/repositories_2to3/145085/kaggle_Microsoft_Malware-master/kaggle_Microsoft_malware_small/find_4g.py
Keesiu/meta-kaggle
87de739aba2399fd31072ee81b391f9b7a63f540
[ "MIT" ]
null
null
null
data/external/repositories_2to3/145085/kaggle_Microsoft_Malware-master/kaggle_Microsoft_malware_small/find_4g.py
Keesiu/meta-kaggle
87de739aba2399fd31072ee81b391f9b7a63f540
[ "MIT" ]
null
null
null
data/external/repositories_2to3/145085/kaggle_Microsoft_Malware-master/kaggle_Microsoft_malware_small/find_4g.py
Keesiu/meta-kaggle
87de739aba2399fd31072ee81b391f9b7a63f540
[ "MIT" ]
1
2019-12-04T08:23:33.000Z
2019-12-04T08:23:33.000Z
import sys import pickle ########################################################## # usage # pypy find_4g.py xid_train.p ../../data/train # xid_train.p is a list like ['loIP1tiwELF9YNZQjSUO',''....] to specify # the order of samples in traing data # ../../data/train is the path of original train data ####...
25.050847
72
0.451962
221
1,478
2.972851
0.307692
0.045662
0.018265
0.024353
0.045662
0
0
0
0
0
0
0.043086
0.324763
1,478
58
73
25.482759
0.61523
0.165765
0
0
0
0
0.034253
0
0
0
0
0
0
1
0
false
0
0.044444
0
0.044444
0.066667
0
0
0
null
0
0
0
0
0
0
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
1
0
6a6651ad80b45cc4756ccfc411bd482091aff56e
50
py
Python
src/domain/enums/__init__.py
Antonio-Gabriel/easepay_backend
9aaf4de27c9cc906911ae46ee61c75c6d92dc826
[ "MIT" ]
1
2021-11-24T09:18:19.000Z
2021-11-24T09:18:19.000Z
src/domain/enums/__init__.py
Antonio-Gabriel/easepay_backend
9aaf4de27c9cc906911ae46ee61c75c6d92dc826
[ "MIT" ]
null
null
null
src/domain/enums/__init__.py
Antonio-Gabriel/easepay_backend
9aaf4de27c9cc906911ae46ee61c75c6d92dc826
[ "MIT" ]
null
null
null
from .months import Months from .sizes import Size
25
26
0.82
8
50
5.125
0.625
0
0
0
0
0
0
0
0
0
0
0
0.14
50
2
27
25
0.953488
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
6a6655e14286bbfcb799353c5812e25b7720b10d
1,512
py
Python
pygments/lexers/trafficscript.py
blu-base/pygments
da799d14818ed538bf937684a19ce779ddde9446
[ "BSD-2-Clause" ]
1
2015-06-08T14:52:49.000Z
2015-06-08T14:52:49.000Z
pygments/lexers/trafficscript.py
blu-base/pygments
da799d14818ed538bf937684a19ce779ddde9446
[ "BSD-2-Clause" ]
1
2022-03-13T09:17:24.000Z
2022-03-13T09:18:02.000Z
pygments/lexers/trafficscript.py
blu-base/pygments
da799d14818ed538bf937684a19ce779ddde9446
[ "BSD-2-Clause" ]
null
null
null
""" pygments.lexers.trafficscript ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Lexer for RiverBed's TrafficScript (RTS) language. :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ from pygments.lexer import RegexLexer from pygments.token import String...
29.076923
83
0.433201
141
1,512
4.602837
0.539007
0.043143
0.013867
0.043143
0.030817
0.030817
0
0
0
0
0
0.012004
0.28373
1,512
51
84
29.647059
0.587258
0.210317
0
0.064516
0
0.032258
0.310375
0.129904
0
0
0
0
0
1
0
false
0
0.096774
0
0.258065
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6a681ede8ff42ae46d972ef7a200eff04f8f87d4
20,333
py
Python
pandas/tests/indexes/test_common.py
dimithras/pandas
d321be6e2a43270625abf671d9e59f16529c4b48
[ "BSD-3-Clause" ]
1
2020-10-29T17:32:26.000Z
2020-10-29T17:32:26.000Z
pandas/tests/indexes/test_common.py
BhavarthShah/pandas
efb068f25b911ff3009d5692eb831df35bb042e5
[ "BSD-3-Clause" ]
null
null
null
pandas/tests/indexes/test_common.py
BhavarthShah/pandas
efb068f25b911ff3009d5692eb831df35bb042e5
[ "BSD-3-Clause" ]
null
null
null
""" Collection of tests asserting things that should be true for any index subclass. Makes use of the `indices` fixture defined in pandas/tests/indexes/conftest.py. """ import re import numpy as np import pytest from pandas._libs.tslibs import iNaT from pandas.core.dtypes.common import is_period_dtype, needs_i8_conv...
37.79368
88
0.629764
2,445
20,333
5.074438
0.151738
0.022568
0.028774
0.024664
0.496816
0.430725
0.397921
0.362779
0.34811
0.340695
0
0.008236
0.27148
20,333
537
89
37.86406
0.829339
0.138002
0
0.407507
0
0
0.101209
0.010201
0
0
0
0.001862
0.134048
1
0.067024
false
0.002681
0.024129
0
0.099196
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
0
0
1
0
6a6837a4b97157cac91cdd54ef662d5a158d6207
22,699
py
Python
tests/test_dynamics.py
leasanchez/BiorbdOptim
28fac818af031668ecd82bc1929f78303c5d58d2
[ "MIT" ]
34
2020-12-14T17:09:41.000Z
2022-03-31T17:03:37.000Z
tests/test_dynamics.py
pariterre/bioptim
4064138e7d3fce34e21d488df19941937ce30557
[ "MIT" ]
229
2020-09-30T16:53:40.000Z
2022-03-29T21:11:46.000Z
tests/test_dynamics.py
fbailly/bioptim
3a5473ee7c39d645d960611596a45b044e8ccf58
[ "MIT" ]
15
2020-11-20T12:32:59.000Z
2022-01-22T22:59:08.000Z
import pytest import numpy as np from casadi import MX, SX import biorbd_casadi as biorbd from bioptim.dynamics.configure_problem import ConfigureProblem from bioptim.dynamics.dynamics_functions import DynamicsFunctions from bioptim.interfaces.biorbd_interface import BiorbdInterface from bioptim.misc.enums import Cont...
37.958194
120
0.491784
2,187
22,699
4.945588
0.142204
0.030788
0.051313
0.071838
0.834504
0.823132
0.801683
0.801683
0.792622
0.781065
0
0.217914
0.410282
22,699
597
121
38.021776
0.590094
0.016212
0
0.704887
0
0
0.025096
0.014162
0
0
0
0
0.069549
1
0.015038
false
0
0.022556
0
0.041353
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
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
8
6a68e42c5242acff02618aac8ab6c6c44bb61d29
1,312
py
Python
polyaxon/event_manager/event_manager.py
elyase/polyaxon
1c19f059a010a6889e2b7ea340715b2bcfa382a0
[ "MIT" ]
null
null
null
polyaxon/event_manager/event_manager.py
elyase/polyaxon
1c19f059a010a6889e2b7ea340715b2bcfa382a0
[ "MIT" ]
null
null
null
polyaxon/event_manager/event_manager.py
elyase/polyaxon
1c19f059a010a6889e2b7ea340715b2bcfa382a0
[ "MIT" ]
null
null
null
from hestia.manager_interface import ManagerInterface from event_manager import event_actions class EventManager(ManagerInterface): def _get_state_data(self, event): # pylint:disable=arguments-differ return event.event_type, event def subscribe(self, event): # pylint:disable=arguments-differ ...
31.238095
90
0.634909
154
1,312
5.24026
0.363636
0.100372
0.109046
0.138786
0.47088
0.463445
0.371747
0.287485
0.287485
0.158612
0
0
0.278963
1,312
41
91
32
0.853066
0.29878
0
0.117647
0
0
0
0
0
0
0
0
0
1
0.352941
false
0
0.117647
0.176471
0.823529
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
6a6b124cb7b2cd1d6d09ae5b84d5b49e63612508
679
py
Python
test_f_login_andy.py
KotoLLC/peacenik-tests
760f7799ab2b9312fe0cce373890195151c48fce
[ "Apache-2.0" ]
null
null
null
test_f_login_andy.py
KotoLLC/peacenik-tests
760f7799ab2b9312fe0cce373890195151c48fce
[ "Apache-2.0" ]
null
null
null
test_f_login_andy.py
KotoLLC/peacenik-tests
760f7799ab2b9312fe0cce373890195151c48fce
[ "Apache-2.0" ]
null
null
null
from helpers import * def test_f_login_andy(): url = "http://central.orbits.local/rpc.AuthService/Login" raw_payload = {"name": "andy","password": "12345"} payload = json.dumps(raw_payload) headers = {'Content-Type': 'application/json'} # convert dict to json by json.dumps() for body dat...
35.736842
75
0.696613
86
679
5.372093
0.604651
0.04329
0
0
0
0
0
0
0
0
0
0.014467
0.185567
679
19
76
35.736842
0.820976
0.216495
0
0
0
0
0.213611
0
0
0
0
0
0.090909
1
0.090909
false
0.090909
0.090909
0
0.181818
0.181818
0
0
0
null
0
0
0
0
0
0
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
6a6b9fd92e89d1958b00048f55376ec87fde6db2
7,696
py
Python
docker/src/clawpack-5.3.1/riemann/src/shallow_1D_py.py
ian-r-rose/visualization
ed6d9fab95eb125e7340ab3fad3ed114ed3214af
[ "CC-BY-4.0" ]
11
2017-01-04T18:19:48.000Z
2021-02-21T01:46:33.000Z
docker/src/clawpack-5.3.1/riemann/src/shallow_1D_py.py
ian-r-rose/visualization
ed6d9fab95eb125e7340ab3fad3ed114ed3214af
[ "CC-BY-4.0" ]
8
2016-09-22T20:49:51.000Z
2019-09-06T23:28:13.000Z
docker/src/clawpack-5.3.1/riemann/src/shallow_1D_py.py
ian-r-rose/visualization
ed6d9fab95eb125e7340ab3fad3ed114ed3214af
[ "CC-BY-4.0" ]
13
2016-09-22T20:20:06.000Z
2020-07-13T14:48:32.000Z
#!/usr/bin/env python # encoding: utf-8 r""" Riemann solvers for the shallow water equations. The available solvers are: * Roe - Use Roe averages to caluclate the solution to the Riemann problem * HLL - Use a HLL solver * Exact - Use a newton iteration to calculate the exact solution to the Riemann pro...
31.801653
88
0.511954
1,275
7,696
2.900392
0.155294
0.020011
0.013791
0.021092
0.502434
0.44835
0.401839
0.370471
0.316928
0.288264
0
0.047385
0.287032
7,696
241
89
31.93361
0.626572
0.369802
0
0.383178
0
0
0.028945
0
0
0
0
0
0
1
0.037383
false
0
0.009346
0
0.074766
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
0
0
1
0
6a6cf8239e9dd6960a26d7ae881835b1d30a1dd5
10,408
py
Python
nuitka/Constants.py
juanfra684/Nuitka
0e276895fadabefb598232f2ccf8cc7736c9a85b
[ "Apache-2.0" ]
1
2020-04-13T18:56:02.000Z
2020-04-13T18:56:02.000Z
nuitka/Constants.py
juanfra684/Nuitka
0e276895fadabefb598232f2ccf8cc7736c9a85b
[ "Apache-2.0" ]
1
2020-07-11T17:53:56.000Z
2020-07-11T17:53:56.000Z
nuitka/Constants.py
juanfra684/Nuitka
0e276895fadabefb598232f2ccf8cc7736c9a85b
[ "Apache-2.0" ]
null
null
null
# Copyright 2020, Kay Hayen, mailto:kay.hayen@gmail.com # # Part of "Nuitka", an optimizing Python compiler that is compatible and # integrates with CPython, but also works on its own. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in complianc...
25.635468
96
0.600596
1,275
10,408
4.841569
0.218824
0.052487
0.038879
0.035639
0.377288
0.323668
0.28981
0.264377
0.244128
0.192289
0
0.004912
0.334935
10,408
405
97
25.698765
0.886882
0.26249
0
0.656028
0
0
0.001059
0
0
0
0
0.002469
0.014184
1
0.042553
false
0
0.021277
0.010638
0.283688
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
0
0
1
0
6a6d56d36f5446ad1de42a20d6e31bc1aa3492a2
13,724
py
Python
functions/predictionLambda/botocore/endpoint.py
chriscoombs/aws-comparing-algorithms-performance-mlops-cdk
6d3888f3ecd667ee76dc473edba37a608786ed2e
[ "Apache-2.0" ]
40
2020-07-11T10:07:51.000Z
2021-12-11T17:09:20.000Z
functions/predictionLambda/botocore/endpoint.py
chriscoombs/aws-comparing-algorithms-performance-mlops-cdk
6d3888f3ecd667ee76dc473edba37a608786ed2e
[ "Apache-2.0" ]
21
2019-11-10T05:38:06.000Z
2022-03-10T15:07:48.000Z
functions/predictionLambda/botocore/endpoint.py
chriscoombs/aws-comparing-algorithms-performance-mlops-cdk
6d3888f3ecd667ee76dc473edba37a608786ed2e
[ "Apache-2.0" ]
37
2020-07-09T23:12:30.000Z
2022-03-16T11:15:58.000Z
# Copyright (c) 2012-2013 Mitch Garnaat http://garnaat.org/ # Copyright 2012-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http...
42.09816
81
0.6587
1,596
13,724
5.403509
0.216165
0.066558
0.021916
0.018669
0.237129
0.16744
0.11897
0.095895
0.072472
0.066327
0
0.004406
0.27237
13,724
325
82
42.227692
0.859203
0.20905
0
0.092511
0
0
0.058813
0.005686
0
0
0
0.003077
0
1
0.07489
false
0
0.057269
0.013216
0.22467
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
0
0
1
0
6a6dcc4d9c3e1b2437b6c8b26173ce12b1dfa929
7,761
py
Python
week2/Assignment2Answer.py
RayshineRen/Introduction_to_Data_Science_in_Python
b19aa781a8f8d0e25853c4e86dadd4c9bebbcd71
[ "MIT" ]
1
2020-09-22T15:06:02.000Z
2020-09-22T15:06:02.000Z
week2/Assignment2Answer.py
RayshineRen/Introduction_to_Data_Science_in_Python
b19aa781a8f8d0e25853c4e86dadd4c9bebbcd71
[ "MIT" ]
1
2020-11-03T14:11:02.000Z
2020-11-03T14:24:50.000Z
week2/Assignment2Answer.py
RayshineRen/Introduction_to_Data_Science_in_Python
b19aa781a8f8d0e25853c4e86dadd4c9bebbcd71
[ "MIT" ]
2
2020-09-22T05:27:09.000Z
2020-11-05T10:39:49.000Z
# -*- coding: utf-8 -*- """ Created on Fri Sep 18 21:56:15 2020 @author: Ray @email: 1324789704@qq.com @wechat: RayTing0305 """ ''' Question 1 Write a function called proportion_of_education which returns the proportion of children in the dataset who had a mother with the education levels equal to less tha...
53.895833
576
0.74024
1,237
7,761
4.43169
0.23848
0.065669
0.038125
0.031193
0.356804
0.270522
0.212149
0.12915
0.12915
0.102153
0
0.017069
0.177168
7,761
143
577
54.272727
0.841372
0.048963
0
0.085714
0
0
0.203759
0.029921
0
0
0
0.020979
0.114286
1
0.057143
false
0
0.042857
0
0.157143
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
6a6dde8d68a99fd68fff6d0aa6d0f4f64dc22408
4,018
py
Python
backup/26.py
accordinglyto/dferte
d4b8449c1633973dc538c9e72aca5d37802a4ee4
[ "MIT" ]
null
null
null
backup/26.py
accordinglyto/dferte
d4b8449c1633973dc538c9e72aca5d37802a4ee4
[ "MIT" ]
8
2020-11-13T18:55:17.000Z
2022-03-12T00:34:40.000Z
backup/26.py
accordinglyto/dferte
d4b8449c1633973dc538c9e72aca5d37802a4ee4
[ "MIT" ]
null
null
null
from numpy import genfromtxt import matplotlib.pyplot as plt import mpl_finance import numpy as np import uuid import matplotlib # Input your csv file here with historical data ad = genfromtxt(f"../financial_data/SM.csv", delimiter=",", dtype=str) def convolve_sma(array, period): return np.convolve(array, np.on...
28.097902
128
0.558238
553
4,018
3.960217
0.292948
0.050228
0.059361
0.031963
0.311416
0.245205
0.225114
0.225114
0.225114
0.225114
0
0.02308
0.277501
4,018
142
129
28.295775
0.731312
0.288203
0
0.155556
0
0
0.071328
0.008475
0
0
0
0
0
1
0.022222
false
0
0.066667
0.011111
0.1
0.066667
0
0
0
null
0
0
0
0
0
0
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
1
0
6a6e5f7f79247bb69a8f187a793986d06aaf806b
3,091
py
Python
streams/readers/arff_reader.py
JanSurft/tornado
2c07686c5358d2bcb15d6edac3126ad9346c3c76
[ "MIT" ]
103
2017-10-01T20:24:58.000Z
2022-03-16T09:09:10.000Z
streams/readers/arff_reader.py
JanSurft/tornado
2c07686c5358d2bcb15d6edac3126ad9346c3c76
[ "MIT" ]
2
2019-09-17T11:06:26.000Z
2021-11-08T23:57:46.000Z
streams/readers/arff_reader.py
JanSurft/tornado
2c07686c5358d2bcb15d6edac3126ad9346c3c76
[ "MIT" ]
28
2018-12-18T00:43:10.000Z
2022-03-04T08:39:47.000Z
""" The Tornado Framework By Ali Pesaranghader University of Ottawa, Ontario, Canada E-mail: apesaran -at- uottawa -dot- ca / alipsgh -at- gmail -dot- com """ import re from data_structures.attribute import Attribute from dictionary.tornado_dictionary import TornadoDic class ARFFReader: """This cl...
38.6375
100
0.525396
306
3,091
5.101307
0.303922
0.066624
0.081999
0.054452
0.175529
0.122998
0.055093
0
0
0
0
0.00676
0.377871
3,091
79
101
39.126582
0.804992
0.061792
0
0.070175
0
0
0.022792
0
0
0
0
0
0
1
0.017544
false
0
0.052632
0
0.105263
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6a6f28bb63a4999e5f2dcb27c1de7d562bafcd05
1,664
py
Python
Experimente/Experiment ID 8/run-cifar10-v7.py
MichaelSchwabe/conv-ebnas-abgabe
f463d7bbd9b514597e19d25007913f7994cbbf7c
[ "MIT" ]
6
2021-11-03T07:20:48.000Z
2021-11-10T08:20:44.000Z
Experimente/Experiment ID 8/run-cifar10-v7.py
MichaelSchwabe/conv-ebnas-abgabe
f463d7bbd9b514597e19d25007913f7994cbbf7c
[ "MIT" ]
1
2021-11-02T21:10:51.000Z
2021-11-02T21:11:05.000Z
Experimente/Experiment ID 8/run-cifar10-v7.py
MichaelSchwabe/conv-ebnas-abgabe
f463d7bbd9b514597e19d25007913f7994cbbf7c
[ "MIT" ]
null
null
null
from __future__ import print_function from keras.datasets import mnist from keras.datasets import cifar10 from keras.utils.np_utils import to_categorical import numpy as np from keras import backend as K from evolution import Evolution from genome_handler import GenomeHandler import tensorflow as tf #import mlflow.kera...
37.818182
120
0.676683
239
1,664
4.435146
0.380753
0.056604
0.051887
0.033962
0.103774
0.062264
0.062264
0.062264
0
0
0
0.038139
0.212139
1,664
44
121
37.818182
0.770404
0.141226
0
0
0
0
0.061972
0.024648
0
0
0
0
0
1
0
false
0
0.310345
0
0.310345
0.103448
0
0
0
null
0
0
0
0
0
0
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
6a703f7100900fb7196e6525d9f4720fdc63dbae
11,514
py
Python
CarModel.py
JaredFG/Multiagentes-Unity
37f7ec5c0588865ef08b50df83566a43d817bebf
[ "MIT" ]
null
null
null
CarModel.py
JaredFG/Multiagentes-Unity
37f7ec5c0588865ef08b50df83566a43d817bebf
[ "MIT" ]
null
null
null
CarModel.py
JaredFG/Multiagentes-Unity
37f7ec5c0588865ef08b50df83566a43d817bebf
[ "MIT" ]
1
2022-02-10T20:33:44.000Z
2022-02-10T20:33:44.000Z
''' Autores:Eduardo Rodríguez López A01749381 Rebeca Rojas Pérez A01751192 Jared Abraham Flores Guarneros A01379868 Eduardo Aguilar Chías A01749375 ''' from random import random f...
41.566787
120
0.538822
1,378
11,514
4.394775
0.164731
0.021136
0.023613
0.023778
0.454921
0.398118
0.358818
0.298382
0.288144
0.274934
0
0.020489
0.385357
11,514
277
121
41.566787
0.835241
0.212263
0
0.553991
0
0
0
0
0
0
0
0
0
1
0.070423
false
0
0.037559
0
0.183099
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
0
0
1
0
6a705dbb2cd1b609cc2090d60bc5b82810db8095
1,684
py
Python
qcodes/widgets/display.py
nulinspiratie/Qcodes
d050d38ac83f532523a39549c3247dfa6096a36e
[ "MIT" ]
2
2017-02-27T06:02:39.000Z
2019-06-03T04:56:59.000Z
qcodes/widgets/display.py
nulinspiratie/Qcodes
d050d38ac83f532523a39549c3247dfa6096a36e
[ "MIT" ]
50
2017-04-12T04:03:15.000Z
2022-03-09T00:41:43.000Z
qcodes/widgets/display.py
nulinspiratie/Qcodes
d050d38ac83f532523a39549c3247dfa6096a36e
[ "MIT" ]
null
null
null
"""Helper for adding content stored in a file to a jupyter notebook.""" import os from pkg_resources import resource_string from IPython.display import display, Javascript, HTML # Originally I implemented this using regular open() and read(), so it # could use relative paths from the importing file. # # But for distr...
35.083333
84
0.672803
236
1,684
4.733051
0.461864
0.050134
0.028648
0.032229
0.080573
0
0
0
0
0
0
0.001538
0.228029
1,684
47
85
35.829787
0.857692
0.572447
0
0.105263
0
0
0.075873
0
0
0
0
0
0
1
0.052632
false
0
0.157895
0
0.210526
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
0
0
1
0
6a71f08eeecbd606e19448cf8f9c90856e40cbac
6,697
py
Python
hubcontrol.py
smr99/lego-hub-tk
d3b86847873fa80deebf993ccd44b4d3d8f9bf40
[ "MIT" ]
16
2021-02-17T01:59:39.000Z
2022-03-29T05:10:12.000Z
hubcontrol.py
smr99/lego-hub-tk
d3b86847873fa80deebf993ccd44b4d3d8f9bf40
[ "MIT" ]
15
2021-04-20T04:01:36.000Z
2022-02-01T02:46:30.000Z
hubcontrol.py
smr99/lego-hub-tk
d3b86847873fa80deebf993ccd44b4d3d8f9bf40
[ "MIT" ]
9
2021-04-18T20:29:21.000Z
2022-03-31T11:50:04.000Z
#! /usr/bin/python3 import base64 from data.ProgramHubLogger import ProgramHubLogger from datetime import datetime import logging import os import sys from ui.MotionSensor import MotionSensorWidget from ui.PositionStatus import PositionStatusWidget from ui.DevicePortWidget import DevicePortWidget from ui.ConnectionWid...
33.823232
119
0.667164
768
6,697
5.622396
0.283854
0.048634
0.039602
0.013201
0.106299
0.065076
0.044928
0.029643
0.029643
0.029643
0
0.009049
0.224429
6,697
197
120
33.994924
0.822295
0.039869
0
0.125
0
0
0.068804
0
0
0
0
0
0
1
0.078947
false
0
0.131579
0
0.230263
0.032895
0
0
0
null
0
0
0
0
0
0
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
1
0
6a725ee4987cc406e04ed4e04ead31dbd1e9b6ea
1,088
py
Python
To-D0-App-main/base/views.py
shagun-agrawal/To-Do-App
083081690fe9d291f13c0452a695a092b7544ab2
[ "MIT" ]
1
2021-04-08T14:12:38.000Z
2021-04-08T14:12:38.000Z
To-D0-App-main/base/views.py
shagun-agrawal/To-Do-App
083081690fe9d291f13c0452a695a092b7544ab2
[ "MIT" ]
null
null
null
To-D0-App-main/base/views.py
shagun-agrawal/To-Do-App
083081690fe9d291f13c0452a695a092b7544ab2
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.views.generic.list import ListView from django.views.generic.detail import DetailView from django.views.generic.edit import CreateView, UpdateView, DeleteView from django.urls import reverse_lazy from django.contrib.auth.views import LoginView from .models impor...
24.727273
73
0.714154
128
1,088
5.828125
0.429688
0.080429
0.085791
0.088472
0.281501
0.211796
0.131367
0.131367
0.131367
0.131367
0
0
0.204963
1,088
43
74
25.302326
0.862428
0.02114
0
0.322581
0
0
0.067713
0
0
0
0
0
0
1
0.032258
false
0
0.225806
0.032258
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6a72d886218147f91e76b4f7f571b23929432026
966
py
Python
tests/unit_tests/test_nn/test_converters/test_tensorflow/test_Dropout.py
samysweb/dnnv
58fb95b7300914d9da28eed86c39eca473b1aaef
[ "MIT" ]
5
2022-01-28T20:30:34.000Z
2022-03-17T09:26:52.000Z
tests/unit_tests/test_nn/test_converters/test_tensorflow/test_Dropout.py
samysweb/dnnv
58fb95b7300914d9da28eed86c39eca473b1aaef
[ "MIT" ]
9
2022-01-27T03:50:28.000Z
2022-02-08T18:42:17.000Z
tests/unit_tests/test_nn/test_converters/test_tensorflow/test_Dropout.py
samysweb/dnnv
58fb95b7300914d9da28eed86c39eca473b1aaef
[ "MIT" ]
2
2022-02-03T17:32:43.000Z
2022-03-24T16:38:49.000Z
import numpy as np from dnnv.nn.converters.tensorflow import * from dnnv.nn.operations import * TOL = 1e-6 def test_Dropout_consts(): x = np.array([3, 4]).astype(np.float32) op = Dropout(x) tf_op = TensorflowConverter().visit(op) result_ = tf_op() assert isinstance(result_, tuple) assert le...
26.108108
48
0.63354
146
966
4.054795
0.267123
0.076014
0.054054
0.060811
0.699324
0.699324
0.699324
0.699324
0.47973
0.47973
0
0.030423
0.217391
966
36
49
26.833333
0.752646
0
0
0.62069
0
0
0
0
0
0
0
0
0.344828
1
0.068966
false
0
0.103448
0
0.172414
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
0
0
1
0
6a7328e83cbca070a32d28d91e1af148c593184e
4,202
py
Python
smarts/zoo/worker.py
idsc-frazzoli/SMARTS
bae0a6ea160330921edc94a7161a4e8cf72a1974
[ "MIT" ]
554
2020-10-16T02:30:35.000Z
2022-03-29T14:13:00.000Z
smarts/zoo/worker.py
idsc-frazzoli/SMARTS
bae0a6ea160330921edc94a7161a4e8cf72a1974
[ "MIT" ]
917
2020-10-17T00:10:31.000Z
2022-03-31T23:00:47.000Z
smarts/zoo/worker.py
idsc-frazzoli/SMARTS
bae0a6ea160330921edc94a7161a4e8cf72a1974
[ "MIT" ]
135
2020-10-20T01:44:49.000Z
2022-03-27T04:51:31.000Z
# Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to us...
34.442623
155
0.702285
592
4,202
4.930743
0.466216
0.030147
0.015074
0.015416
0.073313
0.055498
0.039054
0.039054
0.039054
0.039054
0
0.008701
0.206806
4,202
121
156
34.727273
0.867087
0.505474
0
0.030769
0
0
0.314941
0.037598
0
0
0
0
0
1
0.030769
false
0.015385
0.169231
0
0.2
0.030769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6a744ccf0662773e4f40dc632d9bd05f720ada5c
2,846
py
Python
week2/problems/problem2.py
Nburkhal/mit-cs250
a3d32a217deb2cfa1b94d8188bef73c0742b1245
[ "MIT" ]
null
null
null
week2/problems/problem2.py
Nburkhal/mit-cs250
a3d32a217deb2cfa1b94d8188bef73c0742b1245
[ "MIT" ]
null
null
null
week2/problems/problem2.py
Nburkhal/mit-cs250
a3d32a217deb2cfa1b94d8188bef73c0742b1245
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Now write a program that calculates the minimum fixed monthly payment needed in order pay off a credit card balance within 12 months. By a fixed monthly payment, we mean a single number which does not change each month, but instead is a constant amount that will be ...
37.447368
104
0.713282
389
2,846
5.218509
0.403599
0.048276
0.039409
0.038424
0.110837
0.090148
0.090148
0.090148
0.090148
0.090148
0
0.031475
0.218552
2,846
75
105
37.946667
0.881295
0.784961
0
0.111111
0
0
0.063228
0
0
0
0
0
0
1
0
false
0
0
0
0
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6a74aa2ca33901c3b2b2f9d3fd978d06054719fb
2,410
py
Python
leetcode_python/Sort/sort-characters-by-frequency.py
yennanliu/CS_basics
3c50c819897a572ff38179bfb0083a19b2325fde
[ "Unlicense" ]
18
2019-08-01T07:45:02.000Z
2022-03-31T18:05:44.000Z
leetcode_python/Sort/sort-characters-by-frequency.py
yennanliu/CS_basics
3c50c819897a572ff38179bfb0083a19b2325fde
[ "Unlicense" ]
null
null
null
leetcode_python/Sort/sort-characters-by-frequency.py
yennanliu/CS_basics
3c50c819897a572ff38179bfb0083a19b2325fde
[ "Unlicense" ]
15
2019-12-29T08:46:20.000Z
2022-03-08T14:14:05.000Z
# V0 import collections class Solution(object): def frequencySort(self, s): count = collections.Counter(s) count_dict = dict(count) count_tuple_sorted = sorted(count_dict.items(), key=lambda kv : -kv[1]) res = '' for item in count_tuple_sorted: res += item[0] * it...
27.078652
87
0.568465
309
2,410
4.372168
0.281553
0.057735
0.084382
0.097705
0.431532
0.334567
0.334567
0.304959
0.304959
0.220577
0
0.021702
0.273444
2,410
88
88
27.386364
0.749857
0.178838
0
0.415094
0
0
0.012841
0
0
0
0
0
0.113208
1
0.113208
false
0
0.075472
0.018868
0.415094
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6a750b59d5869e7c84ae1fcca0d133a7dbf28cce
9,165
py
Python
eval/scripts/human/html_gen.py
chateval/chatevalv2
7ba96d81842db00427a6d6351d5cea76a8766450
[ "Apache-2.0" ]
5
2018-06-11T19:47:23.000Z
2020-03-04T01:29:15.000Z
eval/scripts/human/html_gen.py
chateval/app
7ba96d81842db00427a6d6351d5cea76a8766450
[ "Apache-2.0" ]
12
2018-07-11T18:50:13.000Z
2022-02-10T10:45:58.000Z
eval/scripts/human/html_gen.py
chateval/app
7ba96d81842db00427a6d6351d5cea76a8766450
[ "Apache-2.0" ]
1
2018-06-29T14:52:16.000Z
2018-06-29T14:52:16.000Z
"""Stores all the helper functions that generate html""" import random def generate_2choice_html(example): '''Makes html for ranking form for the specified row index. Returns the HTML for a table of radio buttons used for ranking, as well as a count of the total number of radio buttons. ''' # Check f...
33.448905
295
0.59509
1,186
9,165
4.55312
0.279089
0.033704
0.026667
0.013333
0.359444
0.342407
0.311296
0.311296
0.311296
0.279074
0
0.012111
0.243208
9,165
274
296
33.448905
0.766436
0.072995
0
0.369565
1
0.1
0.773469
0.101561
0
0
0
0
0
1
0.021739
false
0
0.004348
0.008696
0.052174
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6a75a5070f34939725c30b7941b46fda26295424
1,582
py
Python
python3_module_template/subproject/myexample.py
sdpython/python_project_template
e365b29ba9a7dfd2688f68eb7ff2b84a6a82cb57
[ "MIT" ]
null
null
null
python3_module_template/subproject/myexample.py
sdpython/python_project_template
e365b29ba9a7dfd2688f68eb7ff2b84a6a82cb57
[ "MIT" ]
null
null
null
python3_module_template/subproject/myexample.py
sdpython/python_project_template
e365b29ba9a7dfd2688f68eb7ff2b84a6a82cb57
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ @file @brief This the documentation of this module (myexampleb). """ class myclass: """ This is the documentation for this class. **example with a sphinx directives** It works everywhere in the documentation. .. exref:: :title: an example of use Ju...
18.611765
58
0.54488
199
1,582
4.301508
0.482412
0.056075
0.038551
0.042056
0.088785
0
0
0
0
0
0
0.006897
0.358407
1,582
84
59
18.833333
0.836453
0.755373
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
6a75c6bcf2a235fe76f46e51c4cc31283811626a
2,534
py
Python
simulation/dataset_G_1q_X_Z_N1.py
eperrier/QDataSet
383b38b9b4166848f72fac0153800525e66b477b
[ "MIT" ]
42
2021-08-17T02:27:59.000Z
2022-03-26T16:00:57.000Z
simulation/dataset_G_1q_X_Z_N1.py
eperrier/QDataSet
383b38b9b4166848f72fac0153800525e66b477b
[ "MIT" ]
1
2021-09-25T11:15:20.000Z
2021-09-27T04:18:25.000Z
simulation/dataset_G_1q_X_Z_N1.py
eperrier/QDataSet
383b38b9b4166848f72fac0153800525e66b477b
[ "MIT" ]
6
2021-08-17T02:28:04.000Z
2022-03-22T07:11:48.000Z
############################################## """ This module generate a dataset """ ############################################## # preample import numpy as np from utilites import Pauli_operators, simulate, CheckNoise ################################################ # meta parameters name = "G_1q...
56.311111
261
0.404893
228
2,534
4.359649
0.372807
0.030181
0.024145
0.024145
0.148893
0.123742
0.071429
0.071429
0.071429
0.071429
0
0.042815
0.327151
2,534
45
262
56.311111
0.540176
0.190608
0
0
1
0
0.108795
0.013681
0
0
0
0
0
1
0
false
0
0.08
0
0.08
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
6a75e8b3a7f6a8bf44de0912c3cdfced6251b233
55
py
Python
configs/mmdet/detection/detection_tensorrt_static-300x300.py
zhiqwang/mmdeploy
997d111a6f4ca9624ab3b36717748e6ce002037d
[ "Apache-2.0" ]
746
2021-12-27T10:50:28.000Z
2022-03-31T13:34:14.000Z
configs/mmdet/detection/detection_tensorrt_static-300x300.py
zhiqwang/mmdeploy
997d111a6f4ca9624ab3b36717748e6ce002037d
[ "Apache-2.0" ]
253
2021-12-28T05:59:13.000Z
2022-03-31T18:22:25.000Z
configs/mmdet/detection/detection_tensorrt_static-300x300.py
zhiqwang/mmdeploy
997d111a6f4ca9624ab3b36717748e6ce002037d
[ "Apache-2.0" ]
147
2021-12-27T10:50:33.000Z
2022-03-30T10:44:20.000Z
_base_ = ['../_base_/base_tensorrt_static-300x300.py']
27.5
54
0.745455
7
55
5
0.714286
0.457143
0
0
0
0
0
0
0
0
0
0.115385
0.054545
55
1
55
55
0.557692
0
0
0
0
0
0.745455
0.745455
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
6a7641f27315b4a34aa454452b185ab3ffeddc05
505
py
Python
user_service/user_service/api.py
Ziang-Lu/Flask-Blog
8daf901a0ea0e079ad24a61fd7f16f1298514d4c
[ "MIT" ]
null
null
null
user_service/user_service/api.py
Ziang-Lu/Flask-Blog
8daf901a0ea0e079ad24a61fd7f16f1298514d4c
[ "MIT" ]
2
2020-06-09T08:40:42.000Z
2021-04-30T21:20:35.000Z
user_service/user_service/api.py
Ziang-Lu/Flask-Blog
8daf901a0ea0e079ad24a61fd7f16f1298514d4c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ API definition module. """ from flask import Blueprint from flask_restful import Api from .resources.user import UserAuth, UserItem, UserList, UserFollow # Create an API-related blueprint api_bp = Blueprint(name='api', import_name=__name__) api = Api(api_bp) api.add_resource(UserList, '...
22.954545
68
0.740594
69
505
5.217391
0.463768
0.066667
0.155556
0
0
0
0
0
0
0
0
0.002227
0.110891
505
21
69
24.047619
0.799555
0.152475
0
0
0
0
0.200477
0.119332
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0.181818
0
0
0
null
0
0
0
0
0
0
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
6a77df2fb34c60a66cb0710a264af376f888be93
2,112
py
Python
advanced/itertools_funcs.py
ariannasg/python3-essential-training
9b52645f5ccb57d2bda5d5f4a3053681a026450a
[ "MIT" ]
1
2020-06-02T08:37:41.000Z
2020-06-02T08:37:41.000Z
advanced/itertools_funcs.py
ariannasg/python3-training
9b52645f5ccb57d2bda5d5f4a3053681a026450a
[ "MIT" ]
null
null
null
advanced/itertools_funcs.py
ariannasg/python3-training
9b52645f5ccb57d2bda5d5f4a3053681a026450a
[ "MIT" ]
null
null
null
#!usr/bin/env python3 import itertools # itertools is a module that's not technically a set of built-in functions but # it is part of the standard library that comes with python. # it's useful for for creating and using iterators. def main(): print('some infinite iterators') # cycle iterator can be used to cy...
29.333333
78
0.673295
321
2,112
4.376947
0.420561
0.051246
0.053381
0.05694
0.296085
0.193594
0.188612
0.153025
0.153025
0.153025
0
0.066547
0.210227
2,112
71
79
29.746479
0.775779
0.529356
0
0.296296
0
0
0.080125
0
0
0
0
0
0
1
0.074074
false
0
0.037037
0.037037
0.148148
0.592593
0
0
0
null
0
0
0
0
0
0
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
6a782fcc9b346f1edc133e8b8d12314c1cc0a5ff
421
py
Python
aula 05/model/Pessoa.py
Azenha/AlgProg2
062b5caac24435717074a18a7499f80130489a46
[ "MIT" ]
null
null
null
aula 05/model/Pessoa.py
Azenha/AlgProg2
062b5caac24435717074a18a7499f80130489a46
[ "MIT" ]
null
null
null
aula 05/model/Pessoa.py
Azenha/AlgProg2
062b5caac24435717074a18a7499f80130489a46
[ "MIT" ]
null
null
null
class Pessoa: def __init__(self, codigo, nome, endereco, telefone): self.__codigo = int(codigo) self.nome = str(nome) self._endereco = str(endereco) self.__telefone = str(telefone) def imprimeNome(self): print(f"Você pode chamar essa pessoa de {self.nome}.") def __i...
35.083333
79
0.650831
53
421
4.924528
0.471698
0.076628
0.076628
0.10728
0.137931
0
0
0
0
0
0
0
0.239905
421
12
79
35.083333
0.815625
0
0
0
0
0
0.248815
0
0
0
0
0
0
1
0.3
false
0
0
0
0.4
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
6a78c291da971309bc64ed073bb014f9b709c144
119
py
Python
examples/plain_text_response.py
lukefx/stardust
4d9e399ffba9d4a47a2f428b59b5abf4c5bd41ad
[ "MIT" ]
2
2020-11-27T10:30:38.000Z
2020-12-22T16:48:49.000Z
examples/plain_text_response.py
lukefx/stardust
4d9e399ffba9d4a47a2f428b59b5abf4c5bd41ad
[ "MIT" ]
null
null
null
examples/plain_text_response.py
lukefx/stardust
4d9e399ffba9d4a47a2f428b59b5abf4c5bd41ad
[ "MIT" ]
null
null
null
from starlette.responses import PlainTextResponse async def serve(req): return PlainTextResponse("Hello World!")
19.833333
49
0.789916
13
119
7.230769
0.923077
0
0
0
0
0
0
0
0
0
0
0
0.134454
119
5
50
23.8
0.912621
0
0
0
0
0
0.10084
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
6a78c857a857449cf31704c6af0759d610215a2d
25,852
py
Python
pypyrus_logbook/logger.py
t3eHawk/pypyrus_logbook
bd647a1c355b07e8df28c0d7298fcfe68cd9572e
[ "MIT" ]
null
null
null
pypyrus_logbook/logger.py
t3eHawk/pypyrus_logbook
bd647a1c355b07e8df28c0d7298fcfe68cd9572e
[ "MIT" ]
null
null
null
pypyrus_logbook/logger.py
t3eHawk/pypyrus_logbook
bd647a1c355b07e8df28c0d7298fcfe68cd9572e
[ "MIT" ]
2
2019-02-06T08:05:43.000Z
2019-02-06T08:06:35.000Z
import atexit import datetime as dt import os import platform import pypyrus_logbook as logbook import sys import time import traceback from .conf import all_loggers from .formatter import Formatter from .header import Header from .output import Root from .record import Record from .sysinfo import Sysinfo class Logg...
39.348554
79
0.592952
3,127
25,852
4.856092
0.1244
0.041291
0.047942
0.062693
0.394929
0.349687
0.314587
0.276984
0.265789
0.259862
0
0.001947
0.324501
25,852
656
80
39.408537
0.867606
0.492999
0
0.224806
0
0
0.032819
0.006209
0
0
0
0
0
1
0.108527
false
0.085271
0.054264
0.003876
0.197674
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
6a79e21ee2f5d7ad67e69bd27f9206807683db56
488
py
Python
darling_ansible/python_venv/lib/python3.7/site-packages/oci/object_storage/transfer/constants.py
revnav/sandbox
f9c8422233d093b76821686b6c249417502cf61d
[ "Apache-2.0" ]
null
null
null
darling_ansible/python_venv/lib/python3.7/site-packages/oci/object_storage/transfer/constants.py
revnav/sandbox
f9c8422233d093b76821686b6c249417502cf61d
[ "Apache-2.0" ]
null
null
null
darling_ansible/python_venv/lib/python3.7/site-packages/oci/object_storage/transfer/constants.py
revnav/sandbox
f9c8422233d093b76821686b6c249417502cf61d
[ "Apache-2.0" ]
1
2020-06-25T03:12:58.000Z
2020-06-25T03:12:58.000Z
# coding: utf-8 # Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
54.222222
245
0.772541
80
488
4.6125
0.7
0.01626
0.04336
0.054201
0
0
0
0
0
0
0
0.07381
0.139344
488
8
246
61
0.804762
0.686475
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6a7a250cd753510b2923ce0ec46a2aae0ee1d50c
1,028
py
Python
scraper/news/spiders/millardayo.py
ZendaInnocent/news-api
71465aea50e0b1cea08a421d72156cbe7ed8a952
[ "Apache-2.0" ]
3
2021-11-15T08:43:53.000Z
2021-11-15T19:44:56.000Z
scraper/news/spiders/millardayo.py
ZendaInnocent/news-api
71465aea50e0b1cea08a421d72156cbe7ed8a952
[ "Apache-2.0" ]
null
null
null
scraper/news/spiders/millardayo.py
ZendaInnocent/news-api
71465aea50e0b1cea08a421d72156cbe7ed8a952
[ "Apache-2.0" ]
1
2021-11-15T08:43:58.000Z
2021-11-15T08:43:58.000Z
# Spider for MillardAyo.com import scrapy from bs4 import BeautifulSoup class MillardAyoSpider(scrapy.Spider): name = 'millardayo' allowed_urls = ['www.millardayo.com'] start_urls = [ 'https://millardayo.com', ] def parse(self, response, **kwargs): # extracting data - link, imag...
27.783784
65
0.521401
107
1,028
4.943925
0.542056
0.060491
0.034026
0.045369
0
0
0
0
0
0
0
0.001462
0.33463
1,028
36
66
28.555556
0.770468
0.069066
0
0
0
0
0.150943
0
0
0
0
0
0
1
0.04
false
0.04
0.08
0
0.28
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
0
0
1
0
6a7ab579c54d59a8d5d95bf8ca299d1a0ccc36a3
10,384
py
Python
sdks/python/apache_beam/runners/portability/expansion_service_test.py
stephenoken/beam
4797f310b6671de6fd703502520f4b012b655c82
[ "Apache-2.0" ]
3
2020-08-28T17:47:26.000Z
2021-08-17T06:38:58.000Z
sdks/python/apache_beam/runners/portability/expansion_service_test.py
stephenoken/beam
4797f310b6671de6fd703502520f4b012b655c82
[ "Apache-2.0" ]
5
2020-11-13T19:06:10.000Z
2021-11-10T19:56:12.000Z
sdks/python/apache_beam/runners/portability/expansion_service_test.py
stephenoken/beam
4797f310b6671de6fd703502520f4b012b655c82
[ "Apache-2.0" ]
1
2018-09-30T05:34:06.000Z
2018-09-30T05:34:06.000Z
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
32.654088
92
0.74557
1,276
10,384
5.831505
0.212382
0.064507
0.058057
0.049993
0.470098
0.355463
0.336917
0.315011
0.291762
0.256283
0
0.00399
0.155335
10,384
317
93
32.757098
0.844374
0.090716
0
0.318584
0
0
0.074727
0.041715
0
0
0
0
0
1
0.19469
false
0
0.079646
0.150442
0.504425
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
6a7bee943837f03f68168bdd6b1277bb1e2654a4
268
py
Python
db.py
RunnerPro/RunnerProApi
2e0aba17cba2a019b6d102bc4eac2fd60f164156
[ "MIT" ]
null
null
null
db.py
RunnerPro/RunnerProApi
2e0aba17cba2a019b6d102bc4eac2fd60f164156
[ "MIT" ]
null
null
null
db.py
RunnerPro/RunnerProApi
2e0aba17cba2a019b6d102bc4eac2fd60f164156
[ "MIT" ]
null
null
null
from sqlalchemy import create_engine from sqlalchemy.orm import scoped_session from sqlalchemy.orm import sessionmaker from settings import DB_URI Session = sessionmaker(autocommit=False, autoflush=False, bind=create_engine(DB_URI)) session = scoped_session(Session)
33.5
85
0.850746
36
268
6.166667
0.444444
0.189189
0.153153
0.207207
0
0
0
0
0
0
0
0
0.093284
268
7
86
38.285714
0.91358
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
6a7c09860b07db2134a799e024cf2d3ffbf7dc17
11,429
py
Python
python/tvm/contrib/nvcc.py
ntanhbk44/tvm
f89a929f09f7a0b0ccd0f4d46dc2b1c562839087
[ "Zlib", "Unlicense", "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0" ]
null
null
null
python/tvm/contrib/nvcc.py
ntanhbk44/tvm
f89a929f09f7a0b0ccd0f4d46dc2b1c562839087
[ "Zlib", "Unlicense", "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0" ]
null
null
null
python/tvm/contrib/nvcc.py
ntanhbk44/tvm
f89a929f09f7a0b0ccd0f4d46dc2b1c562839087
[ "Zlib", "Unlicense", "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0" ]
null
null
null
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
30.155673
97
0.627351
1,498
11,429
4.668224
0.211615
0.07007
0.01287
0.012012
0.315744
0.244959
0.207207
0.195624
0.153868
0.134134
0
0.010455
0.26354
11,429
378
98
30.23545
0.820364
0.329863
0
0.305556
0
0
0.121031
0.008318
0.005556
0
0
0
0
1
0.066667
false
0.011111
0.05
0
0.266667
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
0
0
1
0
6a7c3c233cce04ab709c5ec217d50c3347a2a2a8
2,429
py
Python
calc/history/calculations.py
dhruvshah1996/Project3
d87ad37f6cf2de0d3402c71d21b25258946aad69
[ "MIT" ]
null
null
null
calc/history/calculations.py
dhruvshah1996/Project3
d87ad37f6cf2de0d3402c71d21b25258946aad69
[ "MIT" ]
null
null
null
calc/history/calculations.py
dhruvshah1996/Project3
d87ad37f6cf2de0d3402c71d21b25258946aad69
[ "MIT" ]
null
null
null
"""Calculation history Class""" from calc.calculations.addition import Addition from calc.calculations.subtraction import Subtraction from calc.calculations.multiplication import Multiplication from calc.calculations.division import Division class Calculations: """Calculations class manages the history of calculati...
40.483333
86
0.712227
259
2,429
6.53668
0.200772
0.09746
0.05316
0.059067
0.385115
0.29179
0.200827
0.153574
0.153574
0.153574
0
0.001042
0.209963
2,429
60
87
40.483333
0.881188
0.258954
0
0.347826
0
0
0.03337
0
0
0
0
0
0
1
0.23913
false
0
0.086957
0
0.608696
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
6a7d299369e55fc318f13ff176616da2592dab8c
526
py
Python
Python/17 - 081 - extraindo dados de uma lista.py
matheusguerreiro/python
f39a1b92409f11cbe7fef5d9261f863f9e0fac0d
[ "MIT" ]
null
null
null
Python/17 - 081 - extraindo dados de uma lista.py
matheusguerreiro/python
f39a1b92409f11cbe7fef5d9261f863f9e0fac0d
[ "MIT" ]
null
null
null
Python/17 - 081 - extraindo dados de uma lista.py
matheusguerreiro/python
f39a1b92409f11cbe7fef5d9261f863f9e0fac0d
[ "MIT" ]
null
null
null
# Aula 17 (Listas (Parte 1)) valores = [] while True: valor = int(input('Digite um Valor ou -1 para Finalizar: ')) if valor < 0: print('\nFinalizando...') break else: valores.append(valor) print(f'Foram digitados {len(valores)} números') valores.sort(reverse=True) print(f'Lista ord...
26.3
74
0.652091
75
526
4.573333
0.626667
0.052478
0
0
0
0
0
0
0
0
0
0.021739
0.212928
526
19
75
27.684211
0.806763
0.04943
0
0.125
0
0
0.461847
0
0
0
0
0
0
1
0
false
0
0
0
0
0.3125
0
0
0
null
0
0
0
0
0
0
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
1
0
6a7d44f1e562967fd6fedbdfc2867ad65df6f217
2,163
py
Python
yekpay/migrations/0014_auto_20181120_1453.py
maryam-afzp/django-yekpay
f7b9d7914035ea4f27238eba9e0c70227cc65046
[ "MIT" ]
3
2020-05-17T18:33:22.000Z
2021-12-06T08:31:42.000Z
yekpay/migrations/0014_auto_20181120_1453.py
Glyphack/django-yekpay
8c4a44853207be4ff0b1711c0524fb0201859b19
[ "MIT" ]
null
null
null
yekpay/migrations/0014_auto_20181120_1453.py
Glyphack/django-yekpay
8c4a44853207be4ff0b1711c0524fb0201859b19
[ "MIT" ]
4
2019-11-14T14:16:49.000Z
2021-12-06T08:31:44.000Z
# Generated by Django 2.0.9 on 2018-11-20 11:23 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('yekpay', '0013_auto_2018...
30.041667
121
0.57374
192
2,163
6.208333
0.369792
0.083054
0.184564
0.22651
0.446309
0.446309
0.375839
0.174497
0
0
0
0.02116
0.3227
2,163
71
122
30.464789
0.792491
0.020804
0
0.507692
1
0
0.186673
0.01087
0
0
0
0
0
1
0
false
0
0.046154
0
0.092308
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6a7e1204635ee097ea34ac3eae2b9d121e4f7471
203
py
Python
polus-cell-nuclei-segmentation/src/dsb2018_topcoders/albu/src/pytorch_zoo/inplace_abn/modules/__init__.py
nishaq503/polus-plugins-dl
511689e82eb29a84761538144277d1be1af7aa44
[ "MIT" ]
null
null
null
polus-cell-nuclei-segmentation/src/dsb2018_topcoders/albu/src/pytorch_zoo/inplace_abn/modules/__init__.py
nishaq503/polus-plugins-dl
511689e82eb29a84761538144277d1be1af7aa44
[ "MIT" ]
1
2021-09-09T23:22:16.000Z
2021-09-09T23:22:16.000Z
polus-cell-nuclei-segmentation/src/dsb2018_topcoders/albu/src/pytorch_zoo/inplace_abn/modules/__init__.py
nishaq503/polus-plugins-dl
511689e82eb29a84761538144277d1be1af7aa44
[ "MIT" ]
4
2021-06-22T13:54:52.000Z
2022-01-26T19:23:39.000Z
from .bn import ABN, InPlaceABN, InPlaceABNWrapper, InPlaceABNSync, InPlaceABNSyncWrapper from .misc import GlobalAvgPool2d from .residual import IdentityResidualBlock from .dense import DenseModule
40.6
90
0.842365
20
203
8.55
0.7
0
0
0
0
0
0
0
0
0
0
0.005587
0.118227
203
4
91
50.75
0.949721
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
6a7e7d0b939c716cda0bb6e7629a5a7ce8b56ac7
10,911
py
Python
python/pyarrow/tests/test_compute.py
kylebrandt/arrow
515197dfe6e83d6fa6fe82bfec134f41b222b748
[ "Apache-2.0" ]
null
null
null
python/pyarrow/tests/test_compute.py
kylebrandt/arrow
515197dfe6e83d6fa6fe82bfec134f41b222b748
[ "Apache-2.0" ]
null
null
null
python/pyarrow/tests/test_compute.py
kylebrandt/arrow
515197dfe6e83d6fa6fe82bfec134f41b222b748
[ "Apache-2.0" ]
null
null
null
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
32.281065
77
0.59967
1,548
10,911
4.147287
0.133075
0.056698
0.075701
0.052648
0.657477
0.626324
0.591745
0.502804
0.462928
0.430841
0
0.031858
0.223261
10,911
337
78
32.376855
0.725664
0.095408
0
0.377119
0
0
0.040155
0
0
0
0
0.002967
0.165254
1
0.084746
false
0
0.016949
0.016949
0.101695
0.004237
0
0
0
null
0
0
0
0
0
0
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
1
0
6a7ebe45370c220d4cb3303c8715bdc2a5f264ae
7,074
py
Python
python/sdk/client/api/log_api.py
ashwinath/merlin
087a7fa6fb21e4c771d64418bd58873175226ca1
[ "Apache-2.0" ]
null
null
null
python/sdk/client/api/log_api.py
ashwinath/merlin
087a7fa6fb21e4c771d64418bd58873175226ca1
[ "Apache-2.0" ]
null
null
null
python/sdk/client/api/log_api.py
ashwinath/merlin
087a7fa6fb21e4c771d64418bd58873175226ca1
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Merlin API Guide for accessing Merlin's model management, deployment, and serving functionalities # noqa: E501 OpenAPI spec version: 0.7.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import re # noqa: F401 ...
39.3
185
0.607577
837
7,074
4.946237
0.193548
0.050242
0.057488
0.055072
0.525604
0.454589
0.408696
0.390338
0.36715
0.342029
0
0.017327
0.290218
7,074
179
186
39.519553
0.80721
0.326124
0
0
1
0
0.221276
0.015197
0
0
0
0
0
1
0.033333
false
0
0.044444
0
0.122222
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
6a7ef047892a808f5b9e319a809d26915f83c93f
2,207
py
Python
openmdao/solvers/nonlinear/nonlinear_block_jac.py
bollwyvl/OpenMDAO
4d7a31b2bb39674e2be0d6a13cbe22de3f5353af
[ "Apache-2.0" ]
null
null
null
openmdao/solvers/nonlinear/nonlinear_block_jac.py
bollwyvl/OpenMDAO
4d7a31b2bb39674e2be0d6a13cbe22de3f5353af
[ "Apache-2.0" ]
null
null
null
openmdao/solvers/nonlinear/nonlinear_block_jac.py
bollwyvl/OpenMDAO
4d7a31b2bb39674e2be0d6a13cbe22de3f5353af
[ "Apache-2.0" ]
1
2018-07-27T06:39:15.000Z
2018-07-27T06:39:15.000Z
"""Define the NonlinearBlockJac class.""" from openmdao.recorders.recording_iteration_stack import Recording from openmdao.solvers.solver import NonlinearSolver from openmdao.utils.mpi import multi_proc_fail_check class NonlinearBlockJac(NonlinearSolver): """ Nonlinear block Jacobi solver. """ SOLVER...
32.940299
82
0.584957
229
2,207
5.406114
0.358079
0.077544
0.061389
0.043619
0.366721
0.311793
0.311793
0.311793
0.311793
0.226171
0
0.004024
0.324422
2,207
66
83
33.439394
0.826291
0.149071
0
0.358974
0
0
0.028539
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.205128
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0