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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1347c0f23b34bc7e1521e069decb006ca75dc9ea | 659 | py | Python | src/api_rutas/crud.py | PythonistaMX/py261 | 614de0c8c78f26f10d485f1f46fc2c673fc79b6f | [
"MIT"
] | null | null | null | src/api_rutas/crud.py | PythonistaMX/py261 | 614de0c8c78f26f10d485f1f46fc2c673fc79b6f | [
"MIT"
] | null | null | null | src/api_rutas/crud.py | PythonistaMX/py261 | 614de0c8c78f26f10d485f1f46fc2c673fc79b6f | [
"MIT"
] | null | null | null | from sqlalchemy.orm import Session
import models
import schemas
def consulta_alumnos(db: Session, skip: int = 0, limit: int = 100):
return db.query(models.Alumno).offset(skip).limit(limit).all()
def consulta_alumno(db: Session, cuenta: int):
return db.query(models.Alumno).filter(models.Alumno.cuenta == cue... | 24.407407 | 81 | 0.713202 | 90 | 659 | 5.177778 | 0.377778 | 0.103004 | 0.096567 | 0.081545 | 0.2103 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007207 | 0.157815 | 659 | 26 | 82 | 25.346154 | 0.832432 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.176471 | 0.117647 | 0.647059 | 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 | 1 | 0 | 0 | 3 |
13522402ec4a901fa6c69073eb3fe5fb826a55bb | 4,413 | py | Python | lib/desconst.py | elp2/des | 7ada99924c3d02ce90431e2ef01f517f6750dddc | [
"MIT"
] | 20 | 2015-07-20T12:24:38.000Z | 2022-02-22T06:44:59.000Z | lib/desconst.py | elp2/des | 7ada99924c3d02ce90431e2ef01f517f6750dddc | [
"MIT"
] | 1 | 2019-06-30T07:45:12.000Z | 2020-01-15T23:15:23.000Z | lib/desconst.py | elp2/des | 7ada99924c3d02ce90431e2ef01f517f6750dddc | [
"MIT"
] | 12 | 2016-12-06T13:31:21.000Z | 2021-03-27T21:45:11.000Z |
# Applied once at the beginning of the algorithm.
INITIAL_PERMUTATION = [
58, 50, 42, 34, 26, 18, 10, 2,
60, 52, 44, 36, 28, 20, 12, 4,
62, 54, 46, 38, 30, 22, 14, 6,
64, 56, 48, 40, 32, 24, 16, 8,
57, 49, 41, 33, 25, 17, 9, 1,
59, 51, 43, 35, 27, 19, 11, 3,
61, 53, 45, 37, 29, 21, 13, 5,
... | 34.748031 | 77 | 0.461591 | 1,009 | 4,413 | 1.990089 | 0.124876 | 0.00996 | 0.011952 | 0.011952 | 0.127988 | 0.096116 | 0.096116 | 0.096116 | 0 | 0 | 0 | 0.433234 | 0.312712 | 4,413 | 126 | 78 | 35.02381 | 0.228816 | 0.146386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
135ffde01d0073c17127cc2060c35e5d54c9c5db | 1,183 | py | Python | djeym/decorators.py | genkosta/django-yandex-maps | f76f659d0e32bee9fbe95826e9b22e75c96b5d85 | [
"MIT"
] | 11 | 2019-08-29T07:38:33.000Z | 2022-03-25T05:29:09.000Z | djeym/decorators.py | genkosta/django-yandex-maps | f76f659d0e32bee9fbe95826e9b22e75c96b5d85 | [
"MIT"
] | 24 | 2019-08-29T07:52:39.000Z | 2022-02-27T09:46:58.000Z | djeym/decorators.py | genkosta/django-yandex-maps | f76f659d0e32bee9fbe95826e9b22e75c96b5d85 | [
"MIT"
] | 4 | 2019-08-29T12:58:34.000Z | 2022-03-25T04:26:12.000Z | # -*- coding: utf-8 -*-
from functools import wraps
from django.http import HttpResponseForbidden, JsonResponse
def ajax_login_required(view_func):
"""
Ajax.
Class-based views - dispatch.
Verify that the current user is authenticated.
"""
@wraps(view_func)
def wrapper(self, request, *args... | 29.575 | 60 | 0.644125 | 137 | 1,183 | 5.437956 | 0.313869 | 0.06443 | 0.102013 | 0.112752 | 0.719463 | 0.719463 | 0.719463 | 0.719463 | 0.593289 | 0.593289 | 0 | 0.014689 | 0.251902 | 1,183 | 39 | 61 | 30.333333 | 0.827119 | 0.158918 | 0 | 0.695652 | 0 | 0 | 0.050633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0 | 0.086957 | 0 | 0.608696 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 3 |
13732c17976f16d7e5a0dcd6636d1668599d777f | 659 | py | Python | djangoproject/pages/models.py | moonmirXD/E-barangay | 211df250044e30bfb0e56951438f30a0b97e23a8 | [
"bzip2-1.0.6"
] | null | null | null | djangoproject/pages/models.py | moonmirXD/E-barangay | 211df250044e30bfb0e56951438f30a0b97e23a8 | [
"bzip2-1.0.6"
] | null | null | null | djangoproject/pages/models.py | moonmirXD/E-barangay | 211df250044e30bfb0e56951438f30a0b97e23a8 | [
"bzip2-1.0.6"
] | null | null | null | from django.conf import settings
from django.db import models
from django.utils import timezone
from django.contrib.auth.models import User
from django.urls import reverse
# models, views, url should check always!!
User = settings.AUTH_USER_MODEL
# <----------------------------------------------->
class Post(models.Mo... | 31.380952 | 60 | 0.722307 | 88 | 659 | 5.272727 | 0.556818 | 0.107759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010221 | 0.109256 | 659 | 20 | 61 | 32.95 | 0.780239 | 0.136571 | 0 | 0 | 0 | 0 | 0.022968 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.333333 | 0.133333 | 0.933333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
139e14bd9686fe05cf4a15eb93b54ce658be42a6 | 196 | py | Python | screws/miscellaneous/initialize_3d_list.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | 1 | 2020-10-14T12:48:35.000Z | 2020-10-14T12:48:35.000Z | screws/miscellaneous/initialize_3d_list.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | null | null | null | screws/miscellaneous/initialize_3d_list.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | null | null | null |
def initialize_3d_list(a, b, c):
"""
:param a:
:param b:
:param c:
:return:
"""
lst = [[[None for _ in range(c)] for _ in range(b)] for _ in range(a)]
return lst | 16.333333 | 74 | 0.510204 | 30 | 196 | 3.166667 | 0.466667 | 0.157895 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007576 | 0.326531 | 196 | 12 | 75 | 16.333333 | 0.712121 | 0.193878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
13cb939777e25880ca88bd80fb1942478962d8b5 | 112 | py | Python | notebooks/_solutions/case2_observations32.py | jorisvandenbossche/FLAMES-python-data-wrangling | 24a6dbe8637264f010c47affd3a8dcbe2b493e00 | [
"BSD-3-Clause"
] | null | null | null | notebooks/_solutions/case2_observations32.py | jorisvandenbossche/FLAMES-python-data-wrangling | 24a6dbe8637264f010c47affd3a8dcbe2b493e00 | [
"BSD-3-Clause"
] | 10 | 2020-11-09T09:21:01.000Z | 2021-10-18T06:03:19.000Z | notebooks/_solutions/case2_observations32.py | jorisvandenbossche/FLAMES-python-data-wrangling | 24a6dbe8637264f010c47affd3a8dcbe2b493e00 | [
"BSD-3-Clause"
] | null | null | null | fig, ax = plt.subplots(figsize=(6, 6))
n_species_per_plot.plot(kind="barh", ax=ax)
ax.set_ylabel("Plot number"); | 37.333333 | 43 | 0.723214 | 21 | 112 | 3.666667 | 0.714286 | 0.103896 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.071429 | 112 | 3 | 44 | 37.333333 | 0.721154 | 0 | 0 | 0 | 0 | 0 | 0.132743 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
13cccb0e380062e6138405d319138959ed6e7538 | 433 | py | Python | cortex/tests/test_utils.py | VisionandCognition/pycortex | 88f477eb7e3b37123ed4e79244c18a322d5336e3 | [
"BSD-2-Clause"
] | null | null | null | cortex/tests/test_utils.py | VisionandCognition/pycortex | 88f477eb7e3b37123ed4e79244c18a322d5336e3 | [
"BSD-2-Clause"
] | null | null | null | cortex/tests/test_utils.py | VisionandCognition/pycortex | 88f477eb7e3b37123ed4e79244c18a322d5336e3 | [
"BSD-2-Clause"
] | null | null | null | import cortex
def test_download_subject():
# Test that newly downloaded subjects are added to the current database.
# remove fsaverage from the list of available subjects if present.
if "fsaverage" in cortex.db.subjects:
cortex.db._subjects.pop("fsaverage")
assert "fsaverage" not in cortex.db... | 33.307692 | 76 | 0.743649 | 58 | 433 | 5.465517 | 0.534483 | 0.100946 | 0.201893 | 0.170347 | 0.264984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177829 | 433 | 12 | 77 | 36.083333 | 0.890449 | 0.311778 | 0 | 0 | 0 | 0 | 0.152542 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.285714 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
13d059cab1b2982959731fd6b94d8437b270a25b | 105,801 | py | Python | python/helpers/pydev/pydev_tests_python/test_debugger.py | Sajaki/intellij-community | 6748af2c40567839d11fd652ec77ba263c074aad | [
"Apache-2.0"
] | 1 | 2020-06-25T02:17:26.000Z | 2020-06-25T02:17:26.000Z | python/helpers/pydev/pydev_tests_python/test_debugger.py | Sajaki/intellij-community | 6748af2c40567839d11fd652ec77ba263c074aad | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/helpers/pydev/pydev_tests_python/test_debugger.py | bradleesand/intellij-community | 750ff9c10333c9c1278c00dbe8d88c877b1b9749 | [
"Apache-2.0"
] | 1 | 2020-10-15T05:56:42.000Z | 2020-10-15T05:56:42.000Z | # coding: utf-8
'''
The idea is that we record the commands sent to the debugger and reproduce them from this script
(so, this works as the client, which spawns the debugger as a separate process and communicates
to it as if it was run from the outside)
Note that it's a python script but it'll spawn a ... | 39.985261 | 1,486 | 0.672725 | 14,298 | 105,801 | 4.671842 | 0.063995 | 0.064223 | 0.04048 | 0.041019 | 0.781505 | 0.74357 | 0.703165 | 0.670649 | 0.634555 | 0.590093 | 0 | 0.034629 | 0.225111 | 105,801 | 2,645 | 1,487 | 40.000378 | 0.78014 | 0.070245 | 0 | 0.585581 | 0 | 0.020363 | 0.199401 | 0.039118 | 0 | 0 | 0 | 0 | 0.065493 | 1 | 0.068795 | false | 0.001651 | 0.019813 | 0.002752 | 0.113924 | 0.007155 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
13d1292f8171296bf377ca61ac6b442c37b078e2 | 676 | py | Python | kinopoisk_unofficial/response/films/film_sequels_and_prequels_response.py | masterWeber/kinopoisk-api-unofficial-client | 5c95e1ec6e43bd302399b63a1525ee7e61724155 | [
"MIT"
] | 2 | 2021-11-13T12:23:41.000Z | 2021-12-24T14:09:49.000Z | kinopoisk_unofficial/response/films/film_sequels_and_prequels_response.py | masterWeber/kinopoisk-api-unofficial-client | 5c95e1ec6e43bd302399b63a1525ee7e61724155 | [
"MIT"
] | 1 | 2022-03-29T19:13:24.000Z | 2022-03-30T18:57:23.000Z | kinopoisk_unofficial/response/films/film_sequels_and_prequels_response.py | masterWeber/kinopoisk-api-unofficial-client | 5c95e1ec6e43bd302399b63a1525ee7e61724155 | [
"MIT"
] | 1 | 2021-11-13T12:30:01.000Z | 2021-11-13T12:30:01.000Z | from dataclasses import dataclass, field
from typing import List
from apischema import serializer, deserializer
from kinopoisk_unofficial.contract.response import Response
from kinopoisk_unofficial.model.film_sequels_and_prequels import FilmSequelOrPrequel
@dataclass(frozen=True)
class FilmSequelsAndPrequelsRespons... | 29.391304 | 87 | 0.843195 | 66 | 676 | 8.515152 | 0.469697 | 0.122776 | 0.081851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 676 | 22 | 88 | 30.727273 | 0.919804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.357143 | 0.142857 | 0.785714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
13dc69450e0418cc1dc8e0067cbe0eef9f450955 | 313 | py | Python | tutorials/W2D5_GenerativeModels/solutions/W2D5_Tutorial1_Solution_f63c0e9f.py | justynaekert/course-content-dl | aa64d9feb1ae92ad4b7afaf13b13616b3a020c20 | [
"CC-BY-4.0",
"BSD-3-Clause"
] | 473 | 2021-04-13T18:27:42.000Z | 2022-03-28T14:14:35.000Z | tutorials/W2D5_GenerativeModels/solutions/W2D5_Tutorial1_Solution_f63c0e9f.py | justynaekert/course-content-dl | aa64d9feb1ae92ad4b7afaf13b13616b3a020c20 | [
"CC-BY-4.0",
"BSD-3-Clause"
] | 399 | 2021-06-07T20:56:59.000Z | 2022-01-26T23:05:06.000Z | tutorials/W2D5_GenerativeModels/solutions/W2D5_Tutorial1_Solution_f63c0e9f.py | justynaekert/course-content-dl | aa64d9feb1ae92ad4b7afaf13b13616b3a020c20 | [
"CC-BY-4.0",
"BSD-3-Clause"
] | 170 | 2021-04-16T11:09:32.000Z | 2022-03-31T12:13:52.000Z |
"""
An Autoencoder accepts input, compresses it, and recreates it. On the other hand,
VAEs assume that the source data has some underlying distribution and attempts
to find the distribution parameters. So, VAEs are similar to GANs
(but note that GANs work differently, as we will see in the next tutorials).
"""; | 44.714286 | 81 | 0.779553 | 50 | 313 | 4.88 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166134 | 313 | 7 | 82 | 44.714286 | 0.934866 | 0.968051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
13eac9e0b1176a2ae3a1b3f7c522f3f14fcefa3d | 4,326 | py | Python | python/ambassador/fetch/k8sobject.py | yawboateng/emissary | 2a0c208e25dfbe3b27839c0044c21cde8979e214 | [
"Apache-2.0"
] | null | null | null | python/ambassador/fetch/k8sobject.py | yawboateng/emissary | 2a0c208e25dfbe3b27839c0044c21cde8979e214 | [
"Apache-2.0"
] | null | null | null | python/ambassador/fetch/k8sobject.py | yawboateng/emissary | 2a0c208e25dfbe3b27839c0044c21cde8979e214 | [
"Apache-2.0"
] | 1 | 2021-03-04T10:23:33.000Z | 2021-03-04T10:23:33.000Z | from __future__ import annotations
from typing import Any, Dict, Iterator, Optional
import collections.abc
import dataclasses
import enum
from ..config import Config
@dataclasses.dataclass(frozen=True)
class KubernetesGVK:
"""
Represents a Kubernetes resource type (API group, version and kind).
"""
... | 26.060241 | 132 | 0.625058 | 488 | 4,326 | 5.452869 | 0.239754 | 0.074408 | 0.034198 | 0.031943 | 0.170237 | 0.143931 | 0.084179 | 0.063886 | 0.03758 | 0.03758 | 0 | 0.003116 | 0.258206 | 4,326 | 165 | 133 | 26.218182 | 0.826114 | 0.059177 | 0 | 0.298246 | 0 | 0.008772 | 0.102908 | 0.045986 | 0 | 0 | 0 | 0 | 0 | 1 | 0.219298 | false | 0 | 0.052632 | 0.166667 | 0.605263 | 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 | 1 | 0 | 0 | 3 |
b91f5d29b76fad2ebbbc5065da0b638268b98c73 | 40,635 | py | Python | nnef_tests/conversion/tf_pb_layer_test_cases.py | benmbark/NNEF-Tools | f9bcb3e043474d47f6a8a552abcc6d1069476072 | [
"Apache-2.0"
] | 1 | 2019-08-28T11:58:52.000Z | 2019-08-28T11:58:52.000Z | nnef_tests/conversion/tf_pb_layer_test_cases.py | Acidburn0zzz/NNEF-Tools | f9bcb3e043474d47f6a8a552abcc6d1069476072 | [
"Apache-2.0"
] | null | null | null | nnef_tests/conversion/tf_pb_layer_test_cases.py | Acidburn0zzz/NNEF-Tools | f9bcb3e043474d47f6a8a552abcc6d1069476072 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2018 The Khronos Group Inc.
# Copyright (c) 2018 Au-Zone Technologies Inc.
#
# 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
#... | 35.060397 | 119 | 0.598622 | 6,064 | 40,635 | 3.789248 | 0.051451 | 0.063539 | 0.034946 | 0.057185 | 0.810601 | 0.779572 | 0.729306 | 0.675124 | 0.634868 | 0.56763 | 0 | 0.045159 | 0.240335 | 40,635 | 1,158 | 120 | 35.090674 | 0.699213 | 0.06017 | 0 | 0.493201 | 0 | 0 | 0.032044 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.195303 | false | 0 | 0.008653 | 0 | 0.309023 | 0.001236 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 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 | 3 |
b9314f1ba4cbf04c24e8df5bb4514d79a269969e | 129 | py | Python | config.py | alsigna/netbox_vlan_exporter | de6c23fb4e320448994384672a2454e474fc5e91 | [
"MIT"
] | null | null | null | config.py | alsigna/netbox_vlan_exporter | de6c23fb4e320448994384672a2454e474fc5e91 | [
"MIT"
] | null | null | null | config.py | alsigna/netbox_vlan_exporter | de6c23fb4e320448994384672a2454e474fc5e91 | [
"MIT"
] | null | null | null | NETBOX_URL = "http://127.0.0.1:8080"
NETBOX_AUTH_TOKEN = "0123456789abcdef0123456789abcdef01234567"
REPORT_NAME = "netbox_vlans"
| 32.25 | 62 | 0.806202 | 16 | 129 | 6.1875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.316667 | 0.069767 | 129 | 3 | 63 | 43 | 0.508333 | 0 | 0 | 0 | 0 | 0 | 0.565891 | 0.310078 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
b94019486803b71e8e09a0a0e390d0dab8205fcf | 704 | py | Python | tests/test_formatText.py | TommasU/slash | 47541104f8302908bfd33a9ba653707195b57903 | [
"MIT"
] | null | null | null | tests/test_formatText.py | TommasU/slash | 47541104f8302908bfd33a9ba653707195b57903 | [
"MIT"
] | 14 | 2021-11-09T19:41:16.000Z | 2021-12-02T00:06:26.000Z | tests/test_formatText.py | TommasU/slash | 47541104f8302908bfd33a9ba653707195b57903 | [
"MIT"
] | null | null | null | """
Copyright (C) 2021 SE Slash - All Rights Reserved
You may use, distribute and modify this code under the
terms of the MIT license.
You should have received a copy of the MIT license with
this file. If not, please write to: secheaper@gmail.com
"""
from src.modules.formatter import formatSearchQuery, formatTitle
d... | 28.16 | 64 | 0.681818 | 93 | 704 | 5.139785 | 0.612903 | 0.144351 | 0.033473 | 0.062762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031634 | 0.191761 | 704 | 25 | 65 | 28.16 | 0.808436 | 0.443182 | 0 | 0 | 0 | 0 | 0.070621 | 0 | 0 | 0 | 0 | 0 | 0.625 | 1 | 0.25 | true | 0 | 0.125 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b944c3d81efd9a04b31ff81764dd07657ef7b2ec | 142 | py | Python | myapp/models.py | thinkAmi-sandbox/Django_messages_framework_sample | b40ea10c591f89e1c7710c9b3655a48318d17117 | [
"Unlicense"
] | null | null | null | myapp/models.py | thinkAmi-sandbox/Django_messages_framework_sample | b40ea10c591f89e1c7710c9b3655a48318d17117 | [
"Unlicense"
] | null | null | null | myapp/models.py | thinkAmi-sandbox/Django_messages_framework_sample | b40ea10c591f89e1c7710c9b3655a48318d17117 | [
"Unlicense"
] | null | null | null | from django.db import models
class Item(models.Model):
# 特に指定しない場合、blank=False(=入力必須)
name = models.CharField('Name', max_length=255) | 28.4 | 51 | 0.725352 | 20 | 142 | 5.1 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02459 | 0.140845 | 142 | 5 | 51 | 28.4 | 0.811475 | 0.197183 | 0 | 0 | 0 | 0 | 0.035398 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b946f3f71f0998bc7713f43026cd9e4e93db1a80 | 717 | py | Python | tests/plugins/test_oneplusone.py | xcgx/streamlink | b635e0d9d0fe9363817a96ec7d31faefed95cb57 | [
"BSD-2-Clause"
] | 10 | 2017-04-10T18:25:41.000Z | 2021-09-15T20:14:58.000Z | tests/plugins/test_oneplusone.py | xcgx/streamlink | b635e0d9d0fe9363817a96ec7d31faefed95cb57 | [
"BSD-2-Clause"
] | 9 | 2020-04-04T09:49:52.000Z | 2020-04-21T01:52:02.000Z | tests/plugins/test_oneplusone.py | xcgx/streamlink | b635e0d9d0fe9363817a96ec7d31faefed95cb57 | [
"BSD-2-Clause"
] | 12 | 2022-01-30T23:34:18.000Z | 2022-03-26T17:09:43.000Z | from streamlink.plugins.oneplusone import OnePlusOne
from tests.plugins import PluginCanHandleUrl
class TestPluginCanHandleUrlOnePlusOne(PluginCanHandleUrl):
__plugin__ = OnePlusOne
should_match = [
"https://1plus1.video/ru/tvguide/plusplus/online",
"https://1plus1.video/tvguide/1plus1/online... | 32.590909 | 59 | 0.682008 | 73 | 717 | 6.60274 | 0.342466 | 0.205394 | 0.298755 | 0.319502 | 0.46888 | 0.182573 | 0.182573 | 0 | 0 | 0 | 0 | 0.037225 | 0.175732 | 717 | 21 | 60 | 34.142857 | 0.778342 | 0 | 0 | 0 | 0 | 0 | 0.503487 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.117647 | 0 | 0.352941 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 3 |
b96b83ff649e865ebe246404d2aa0fa1418d3444 | 1,247 | py | Python | mybitbank/libs/connections/walletconfig-template.py | zonedoutspace/mybitbank | 85d28726117a3c1ca76be5772d30c9edae1df7f4 | [
"MIT"
] | 15 | 2015-08-29T12:35:59.000Z | 2018-02-06T06:26:26.000Z | mybitbank/libs/connections/walletconfig-template.py | FireWalkerX/mybitbank | 945e604e5fee3914c7c98a25c2c34831ba0ad946 | [
"MIT"
] | null | null | null | mybitbank/libs/connections/walletconfig-template.py | FireWalkerX/mybitbank | 945e604e5fee3914c7c98a25c2c34831ba0ad946 | [
"MIT"
] | 19 | 2015-02-03T21:32:51.000Z | 2021-11-06T12:08:26.000Z | # -*- coding: utf-8 -*-
config = [
{
'id': 1,
'rpcusername': "testuser",
'rpcpassword': "testnet",
'rpchost': "localhost",
'rpcport': "7000",
'name': 'Bitcoin (BTC)',
'symbol': "฿",
'currency': 'BTC',
},
{
'id': 2,
'rpcusername'... | 23.092593 | 36 | 0.412991 | 89 | 1,247 | 5.797753 | 0.438202 | 0.184109 | 0.290698 | 0.358527 | 0.612403 | 0.612403 | 0.612403 | 0.263566 | 0.263566 | 0 | 0 | 0.033206 | 0.372093 | 1,247 | 53 | 37 | 23.528302 | 0.624521 | 0.01684 | 0 | 0.326923 | 0 | 0 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.096154 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
b96f272894327295332b4ac3ce8b52eb7b3eebb1 | 1,395 | py | Python | lf3py/api/render.py | rog-works/lf3py | e89937f7aa133ed54d85764f06101ab9abf6b960 | [
"CNRI-Python"
] | null | null | null | lf3py/api/render.py | rog-works/lf3py | e89937f7aa133ed54d85764f06101ab9abf6b960 | [
"CNRI-Python"
] | 48 | 2020-12-19T13:47:26.000Z | 2021-01-07T22:27:56.000Z | lf3py/api/render.py | rog-works/lf3py | e89937f7aa133ed54d85764f06101ab9abf6b960 | [
"CNRI-Python"
] | null | null | null | from lf3py.api.errors import ApiError
from lf3py.api.response import ErrorBody, Response
from lf3py.api.symbols import IApiRender
from lf3py.lang.error import stacktrace
from lf3py.routing.errors import RouteMismatchError
from lf3py.task.data import Result
class ApiRender(IApiRender):
def __init__(self, response:... | 43.59375 | 100 | 0.70681 | 173 | 1,395 | 5.601156 | 0.283237 | 0.055728 | 0.053664 | 0.065015 | 0.146543 | 0.146543 | 0.076367 | 0 | 0 | 0 | 0 | 0.01847 | 0.184946 | 1,395 | 31 | 101 | 45 | 0.833773 | 0 | 0 | 0 | 0 | 0 | 0.030824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.166667 | 0.833333 | 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 | 1 | 0 | 0 | 3 |
b97506007bec61bbd117a97b54941cc47d5f0524 | 188 | py | Python | TropicalHazards_BI/utils.py | fga-eps-mds/2018.1-TropicalHazards-BI | 1ceb034813f0062b9c3b4a1e2ec0963f6fe6fddc | [
"MIT"
] | 8 | 2018-03-07T01:07:45.000Z | 2018-03-14T00:56:51.000Z | TropicalHazards_BI/utils.py | fga-gpp-mds/2018.1-TropicalHazards-BI | 1ceb034813f0062b9c3b4a1e2ec0963f6fe6fddc | [
"MIT"
] | 245 | 2018-03-15T16:33:42.000Z | 2018-06-28T23:41:35.000Z | TropicalHazards_BI/utils.py | fga-eps-mds/2018.1-TropicalHazards-BI | 1ceb034813f0062b9c3b4a1e2ec0963f6fe6fddc | [
"MIT"
] | 9 | 2018-08-27T18:35:30.000Z | 2021-09-12T04:52:56.000Z | import pymongo
def connect_mongo(engine=pymongo, host='mongo', port=27017):
mongo_client = engine.MongoClient(host, port)
mongo_db = mongo_client['main_db']
return mongo_db
| 20.888889 | 60 | 0.734043 | 26 | 188 | 5.076923 | 0.538462 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031646 | 0.159574 | 188 | 8 | 61 | 23.5 | 0.803797 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b98b0b13f67fcb8db10dcc4fdbdd003a78c9209a | 660 | py | Python | user_interface/show_money_textbox.py | talacounts/game_of_life | 1297f181ddff65f8d31e63ad582ada41f63853df | [
"MIT"
] | null | null | null | user_interface/show_money_textbox.py | talacounts/game_of_life | 1297f181ddff65f8d31e63ad582ada41f63853df | [
"MIT"
] | null | null | null | user_interface/show_money_textbox.py | talacounts/game_of_life | 1297f181ddff65f8d31e63ad582ada41f63853df | [
"MIT"
] | null | null | null | from user_interface.textbox import Textbox
from engine.player import Player
from typing import Tuple, Dict, Any
class Money_Textbox(Textbox):
def __init__(self, x: int, y: int, width: int, height: int, player: Player):
super(Money_Textbox, self).__init__(x, y, width, height, player.name)
self.play... | 26.4 | 80 | 0.65303 | 89 | 660 | 4.662921 | 0.382022 | 0.086747 | 0.081928 | 0.101205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239394 | 660 | 24 | 81 | 27.5 | 0.826693 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0.111111 | 0.166667 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
b98e416fc874da5af37d442e92c74950e0d614b1 | 282 | py | Python | tests/core/forms.py | timgates42/django-selenium | aec304c51dc4e3a5bc412dde892a54241c546ceb | [
"Apache-2.0"
] | 26 | 2015-01-20T06:09:05.000Z | 2022-01-05T10:44:50.000Z | tests/core/forms.py | timgates42/django-selenium | aec304c51dc4e3a5bc412dde892a54241c546ceb | [
"Apache-2.0"
] | 4 | 2015-06-02T14:32:19.000Z | 2020-03-24T08:27:36.000Z | tests/core/forms.py | timgates42/django-selenium | aec304c51dc4e3a5bc412dde892a54241c546ceb | [
"Apache-2.0"
] | 9 | 2015-01-31T20:59:29.000Z | 2021-01-05T21:58:27.000Z | from django import forms
class SampleSearchForm(forms.Form):
"""Search form for test purposes"""
query = forms.CharField(widget=forms.TextInput(attrs={'class': 'input-xlarge search-query',
'autocomplete': 'off'}))
| 35.25 | 95 | 0.574468 | 27 | 282 | 6 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.304965 | 282 | 7 | 96 | 40.285714 | 0.826531 | 0.102837 | 0 | 0 | 0 | 0 | 0.182186 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.75 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b9955b1fbc2831eb5492c78d3d4aed4fa8960f47 | 29,242 | py | Python | tests/examples/test_ga_onemax.py | jorgetavares/pygenome | 2b529ea55feff8c4a0214b37354d4d7c273202a3 | [
"MIT"
] | 1 | 2019-11-18T14:41:20.000Z | 2019-11-18T14:41:20.000Z | tests/examples/test_ga_onemax.py | jorgetavares/pygenome | 2b529ea55feff8c4a0214b37354d4d7c273202a3 | [
"MIT"
] | null | null | null | tests/examples/test_ga_onemax.py | jorgetavares/pygenome | 2b529ea55feff8c4a0214b37354d4d7c273202a3 | [
"MIT"
] | null | null | null | from examples.ga_onemax import *
stdout1 = """0 0.03125 0.040781302009688776 0.005561455106895243
1 0.029411764705882353 0.038091861610110966 0.00450622600604616
2 0.027777777777777776 0.03547228263920674 0.00378636872370032
3 0.027777777777777776 0.03383622027764222 0.003792657676482543
4 0.027777777777777776 0.03153... | 60.66805 | 114 | 0.87983 | 3,373 | 29,242 | 7.620219 | 0.327898 | 0.012839 | 0.017391 | 0.021476 | 0.045364 | 0.045364 | 0.024472 | 0.024433 | 0.017663 | 0.017274 | 0 | 0.929382 | 0.071678 | 29,242 | 481 | 115 | 60.794179 | 0.017461 | 0 | 0 | 0.027719 | 0 | 0.008529 | 0.977943 | 0.107004 | 0 | 0 | 0 | 0 | 0.008529 | 1 | 0.008529 | false | 0 | 0.002132 | 0 | 0.010661 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b99921276754597cdf8d054e2188cd71742f335c | 156 | py | Python | BioSTEAM 1.x.x/build/lib/biorefineries/lipidcane/__init__.py | blsymens/Bioindustrial-Park | c1173646185d52f4b8d595ad088ade8e5216614d | [
"MIT"
] | 18 | 2020-05-12T21:46:14.000Z | 2022-03-14T00:35:35.000Z | build/lib/biosteam/biorefineries/lipidcane/__init__.py | lilanyu/biosteam | b025bbe138bfd0b016af58583792fb4f3ff9186e | [
"MIT"
] | 24 | 2020-03-05T14:39:15.000Z | 2022-03-25T22:24:50.000Z | build/lib/biosteam/biorefineries/lipidcane/__init__.py | lilanyu/biosteam | b025bbe138bfd0b016af58583792fb4f3ff9186e | [
"MIT"
] | 9 | 2020-05-14T13:02:32.000Z | 2022-03-27T19:41:07.000Z | # -*- coding: utf-8 -*-
__all__ = []
from lazypkg import LazyPkg
LazyPkg(__name__, ['tea', 'process_settings', 'species', 'system', 'utils', 'model'])
| 26 | 85 | 0.628205 | 17 | 156 | 5.235294 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007576 | 0.153846 | 156 | 6 | 86 | 26 | 0.666667 | 0.134615 | 0 | 0 | 0 | 0 | 0.313433 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b9a985d8084a913277abdf8f286f77aa159531f9 | 432 | py | Python | schema/listings.py | olubiyiontheweb/malliva | b212e6b359eed54c92533f0a02afe3c0042150e2 | [
"MIT"
] | null | null | null | schema/listings.py | olubiyiontheweb/malliva | b212e6b359eed54c92533f0a02afe3c0042150e2 | [
"MIT"
] | null | null | null | schema/listings.py | olubiyiontheweb/malliva | b212e6b359eed54c92533f0a02afe3c0042150e2 | [
"MIT"
] | 1 | 2021-07-19T12:15:52.000Z | 2021-07-19T12:15:52.000Z | from enum import unique
from typing import Optional
from pydantic import BaseModel, Field
from pydantic.networks import EmailStr
from pydantic.types import FilePath, confloat, conlist
class Listing(BaseModel):
title: str
price: confloat(lt=100000.0)
posted_by: str
category: Optional[int] = 1
descr... | 27 | 67 | 0.747685 | 57 | 432 | 5.614035 | 0.649123 | 0.1125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025424 | 0.180556 | 432 | 15 | 68 | 28.8 | 0.878531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.384615 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b9b7d7af2214c8b7e0cfdc316e09d2136e74eb54 | 626 | py | Python | toolbox/utils/Generator.py | harsh-kakasaniya55/skift | 79ccaf5398cfb7921599105607ad6688ece452d8 | [
"MIT"
] | 2 | 2021-08-14T16:03:48.000Z | 2021-11-09T10:29:36.000Z | toolbox/utils/Generator.py | harsh-kakasaniya55/skift | 79ccaf5398cfb7921599105607ad6688ece452d8 | [
"MIT"
] | null | null | null | toolbox/utils/Generator.py | harsh-kakasaniya55/skift | 79ccaf5398cfb7921599105607ad6688ece452d8 | [
"MIT"
] | 2 | 2020-10-13T14:25:30.000Z | 2020-10-13T14:39:40.000Z | class Generator:
def __init__(self):
self.buffer = ""
self.ident = 0
def push_ident(self):
self.ident = self.ident + 1
def pop_ident(self):
self.ident = self.ident - 1
def emit(self, *code):
if (''.join(code) == ""):
self.buffer += "\n"
else... | 26.083333 | 72 | 0.468051 | 71 | 626 | 4.028169 | 0.352113 | 0.251748 | 0.146853 | 0.199301 | 0.216783 | 0.216783 | 0.216783 | 0.216783 | 0 | 0 | 0 | 0.014742 | 0.34984 | 626 | 23 | 73 | 27.217391 | 0.687961 | 0.00639 | 0 | 0 | 0 | 0 | 0.045161 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.055556 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b9becdb31c1eb04ebdc0c00d933e41b464670002 | 151 | py | Python | Install_Textblob.py | Jeff-Winchell/Political_Tweet_Negativity | b1d769b1fd5f94932eb71e8ed4a9095174e6aed0 | [
"MIT"
] | 11 | 2020-03-09T23:13:44.000Z | 2021-05-09T21:35:54.000Z | Install_Textblob.py | Jeff-Winchell/Political_Tweet_Negativity | b1d769b1fd5f94932eb71e8ed4a9095174e6aed0 | [
"MIT"
] | null | null | null | Install_Textblob.py | Jeff-Winchell/Political_Tweet_Negativity | b1d769b1fd5f94932eb71e8ed4a9095174e6aed0 | [
"MIT"
] | 2 | 2020-03-11T00:24:51.000Z | 2020-03-11T18:55:37.000Z | import sqlmlutils
connection=sqlmlutils.ConnectionInfo(server="localhost",database="Test")
sqlmlutils.SQLPackageManager(connection).install("textblob") | 50.333333 | 72 | 0.854305 | 14 | 151 | 9.214286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019868 | 151 | 3 | 73 | 50.333333 | 0.871622 | 0 | 0 | 0 | 0 | 0 | 0.138158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6a2cc4c216d5bcc7990701e93f6dcb87f74ebbe1 | 252 | py | Python | src/evaluation/create_datasets.py | iserh/data-augmentation | 1e1e99177ff4256c68cafe043bd7e50d52bf669d | [
"MIT"
] | null | null | null | src/evaluation/create_datasets.py | iserh/data-augmentation | 1e1e99177ff4256c68cafe043bd7e50d52bf669d | [
"MIT"
] | null | null | null | src/evaluation/create_datasets.py | iserh/data-augmentation | 1e1e99177ff4256c68cafe043bd7e50d52bf669d | [
"MIT"
] | null | null | null | from utils.data import load_splitted_datasets, split_datasets
DATASET = "MNIST"
split_datasets(DATASET, reduce=500, others=False, seed=42)
datasets, _ = load_splitted_datasets(DATASET, others=False)
print(", ".join([str(len(ds)) for ds in datasets]))
| 36 | 61 | 0.77381 | 36 | 252 | 5.222222 | 0.638889 | 0.239362 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02193 | 0.095238 | 252 | 6 | 62 | 42 | 0.802632 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 0 | 0 | 0 | null | 1 | 1 | 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 |
6a300a6d97d763640c8e3144ea9adcc5a2e636eb | 347 | py | Python | stellar_model/model/horizon/account_data.py | MartinThoma/stellar-model | a21969f3d1aac1e95cb32747d54b72a30e21dda9 | [
"Apache-2.0"
] | 8 | 2021-04-25T09:58:39.000Z | 2022-01-22T05:01:37.000Z | stellar_model/model/horizon/account_data.py | MartinThoma/stellar-model | a21969f3d1aac1e95cb32747d54b72a30e21dda9 | [
"Apache-2.0"
] | 8 | 2021-06-02T12:46:21.000Z | 2021-11-29T01:23:42.000Z | stellar_model/model/horizon/account_data.py | MartinThoma/stellar-model | a21969f3d1aac1e95cb32747d54b72a30e21dda9 | [
"Apache-2.0"
] | 3 | 2021-07-21T03:58:05.000Z | 2021-08-01T00:03:11.000Z | from typing import Optional
from pydantic import BaseModel
from pydantic import Field
__all__ = ["AccountData"]
class AccountData(BaseModel):
"""
Represents a single data object stored on by an account.
"""
value: str = Field(description="The key value for this data.")
# TODO: add description
... | 19.277778 | 66 | 0.706052 | 43 | 347 | 5.604651 | 0.697674 | 0.099585 | 0.149378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213256 | 347 | 17 | 67 | 20.411765 | 0.882784 | 0.227666 | 0 | 0 | 0 | 0 | 0.154762 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.857143 | 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 | 1 | 0 | 1 | 0 | 0 | 3 |
dbde7725bab1f35e4def65bc6176198b5ae6508c | 686 | py | Python | test/files/decrypt_bruteforce.py | evan-miller-snyk/juice-shop | 2eca75477b0cb67f34c4faac7d73bdd048021c57 | [
"MIT"
] | 4 | 2021-05-19T14:18:11.000Z | 2021-09-15T08:05:41.000Z | test/files/decrypt_bruteforce.py | evan-miller-snyk/juice-shop | 2eca75477b0cb67f34c4faac7d73bdd048021c57 | [
"MIT"
] | 141 | 2021-03-07T03:51:33.000Z | 2021-07-28T23:47:16.000Z | test/files/decrypt_bruteforce.py | evan-miller-snyk/juice-shop | 2eca75477b0cb67f34c4faac7d73bdd048021c57 | [
"MIT"
] | 142 | 2021-01-07T16:38:28.000Z | 2022-03-30T16:48:41.000Z | # Copyright (c) 2014-2021 Bjoern Kimminich.
# SPDX-License-Identifier: MIT
# Public Parameters
N = 14590676800758332323018693934907063529240187237535716439958187101987343879900535893836957140267014980212181808629246742282815702292207674690654340122488967247240792696998710058129010319931785875366371086235765651050788... | 42.875 | 313 | 0.803207 | 61 | 686 | 8.967213 | 0.688525 | 0.076782 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.525641 | 0.090379 | 686 | 15 | 314 | 45.733333 | 0.350962 | 0.129738 | 0 | 0 | 0 | 0 | 0.052365 | 0.04223 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e0363f2d8b8ee0a5a6386ee343a762ca1545c3da | 12,801 | py | Python | tests/components/notify/test_apns.py | TastyPi/home-assistant | aa1e4c564cb8660bf6b7637bc25317ee58869214 | [
"MIT"
] | null | null | null | tests/components/notify/test_apns.py | TastyPi/home-assistant | aa1e4c564cb8660bf6b7637bc25317ee58869214 | [
"MIT"
] | null | null | null | tests/components/notify/test_apns.py | TastyPi/home-assistant | aa1e4c564cb8660bf6b7637bc25317ee58869214 | [
"MIT"
] | null | null | null | """The tests for the APNS component."""
import unittest
import os
import homeassistant.components.notify as notify
from homeassistant.core import State
from homeassistant.components.notify.apns import ApnsNotificationService
from tests.common import get_test_home_assistant
from homeassistant.config import load_yaml_co... | 35.756983 | 77 | 0.499336 | 1,256 | 12,801 | 4.899682 | 0.11465 | 0.042086 | 0.043224 | 0.042899 | 0.750894 | 0.734969 | 0.706045 | 0.663958 | 0.663958 | 0.663958 | 0 | 0.023421 | 0.382939 | 12,801 | 357 | 78 | 35.857143 | 0.755665 | 0.049606 | 0 | 0.675277 | 0 | 0 | 0.170804 | 0.014068 | 0 | 0 | 0 | 0 | 0.136531 | 1 | 0.051661 | false | 0 | 0.03321 | 0 | 0.088561 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e0407d1d36857931b1f0367d2b07386cccf4499c | 273 | py | Python | Mundo 1/ex006.py | adonaifariasdev/cursoemvideo-python3 | 1fd35e45b24c52013fa3bc98e723971db8e6b7d1 | [
"MIT"
] | null | null | null | Mundo 1/ex006.py | adonaifariasdev/cursoemvideo-python3 | 1fd35e45b24c52013fa3bc98e723971db8e6b7d1 | [
"MIT"
] | null | null | null | Mundo 1/ex006.py | adonaifariasdev/cursoemvideo-python3 | 1fd35e45b24c52013fa3bc98e723971db8e6b7d1 | [
"MIT"
] | null | null | null | num = int(input('Digite um número: '))
dobro = num * 2
triplo = num * 3
raiz = num ** (1/2)
print('O dobro de {} é igual a {}.'.format(num, dobro))
print('O triplo de {} é igual a {}.'.format(num, triplo))
print('A raiz quadrada de {} é igual a {:.2f}.'.format(num, raiz))
| 34.125 | 66 | 0.604396 | 48 | 273 | 3.4375 | 0.4375 | 0.054545 | 0.145455 | 0.163636 | 0.218182 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0.022321 | 0.179487 | 273 | 7 | 67 | 39 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 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 | 0 | 0 | 0 | 1 | 0 | 3 |
e053c2a5601d1937f810989064712a875ba8ccec | 19 | py | Python | tests/mixins/__init__.py | jhubert/pydocx-s3-images | e7c96b257c67db8043822292550c193db410a4e6 | [
"Apache-2.0"
] | 2 | 2016-04-17T02:45:33.000Z | 2019-07-26T09:26:41.000Z | tests/mixins/__init__.py | jhubert/pydocx-s3-images | e7c96b257c67db8043822292550c193db410a4e6 | [
"Apache-2.0"
] | 3 | 2015-07-17T20:04:53.000Z | 2015-07-18T19:24:40.000Z | tests/mixins/__init__.py | jhubert/pydocx-s3-images | e7c96b257c67db8043822292550c193db410a4e6 | [
"Apache-2.0"
] | null | null | null | __author__ = 'geo'
| 9.5 | 18 | 0.684211 | 2 | 19 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 3 |
e055c953df57798094fd6fd821663260ac5a142c | 773 | py | Python | src/models/shop/checkout_models.py | tassaron/flask-shop | 371cc04fdee384fc27a1faf790b01039ce289e3d | [
"MIT"
] | 1 | 2022-03-08T04:57:54.000Z | 2022-03-08T04:57:54.000Z | src/models/shop/checkout_models.py | tassaron/muffin-shop | 371cc04fdee384fc27a1faf790b01039ce289e3d | [
"MIT"
] | null | null | null | src/models/shop/checkout_models.py | tassaron/muffin-shop | 371cc04fdee384fc27a1faf790b01039ce289e3d | [
"MIT"
] | null | null | null | from muffin_shop.helpers.main.plugins import db
class Transaction(db.Model):
"""Represents a successful transaction -- a cart of products that someone bought"""
id = db.Column(db.Integer, primary_key=True, nullable=False)
uuid = db.Column(db.String(60), nullable=False)
products = db.Column(db.String(... | 45.470588 | 87 | 0.721863 | 113 | 773 | 4.867257 | 0.389381 | 0.145455 | 0.181818 | 0.203636 | 0.443636 | 0.349091 | 0.247273 | 0.138182 | 0 | 0 | 0 | 0.027027 | 0.138422 | 773 | 16 | 88 | 48.3125 | 0.798799 | 0.099612 | 0 | 0 | 0 | 0 | 0.010145 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
e059d4769d5b4c2c8dce061a02614f3d3cb7077e | 126 | py | Python | recipes/stages/_base_/models/classifiers/ti_classifier.py | openvinotoolkit/model_preparation_algorithm | 8d36bf5944837b7a3d22fc2c3a4cb93423619fc2 | [
"Apache-2.0"
] | null | null | null | recipes/stages/_base_/models/classifiers/ti_classifier.py | openvinotoolkit/model_preparation_algorithm | 8d36bf5944837b7a3d22fc2c3a4cb93423619fc2 | [
"Apache-2.0"
] | null | null | null | recipes/stages/_base_/models/classifiers/ti_classifier.py | openvinotoolkit/model_preparation_algorithm | 8d36bf5944837b7a3d22fc2c3a4cb93423619fc2 | [
"Apache-2.0"
] | null | null | null | _base_ = './classifier.py'
model = dict(
type='TaskIncrementalLwF',
head=dict(
type='TaskIncLwfHead'
)
)
| 14 | 30 | 0.595238 | 11 | 126 | 6.636364 | 0.818182 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253968 | 126 | 8 | 31 | 15.75 | 0.776596 | 0 | 0 | 0 | 0 | 0 | 0.373016 | 0 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e0685bac0c7f6b8baaa44113111f2e477d9965d4 | 3,926 | py | Python | tests/selenium/test_password_reset.py | mereckaj/CS4098-Group-E | 0af1c68eeb69c48e798a2464fc8a4ba4d269f11a | [
"MIT"
] | 2 | 2016-02-07T15:00:24.000Z | 2016-02-07T22:28:54.000Z | tests/selenium/test_password_reset.py | mereckaj/CS4098-Group-E | 0af1c68eeb69c48e798a2464fc8a4ba4d269f11a | [
"MIT"
] | 6 | 2016-02-10T10:05:51.000Z | 2016-02-14T17:59:05.000Z | tests/selenium/test_password_reset.py | mereckaj/CS4098-Group-E | 0af1c68eeb69c48e798a2464fc8a4ba4d269f11a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support.ui import Select
from selenium.common.exceptions import NoSuchElementException
from selenium.common.exceptions import NoAlertPresentException... | 39.26 | 94 | 0.758023 | 564 | 3,926 | 5.005319 | 0.219858 | 0.109812 | 0.186681 | 0.208643 | 0.628764 | 0.588381 | 0.525328 | 0.460857 | 0.455898 | 0.455898 | 0 | 0.013834 | 0.097809 | 3,926 | 99 | 95 | 39.656566 | 0.783173 | 0.050942 | 0 | 0.345679 | 0 | 0.024691 | 0.168908 | 0.027972 | 0 | 0 | 0 | 0 | 0.08642 | 1 | 0.074074 | false | 0.098765 | 0.098765 | 0 | 0.234568 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
e06e5c5e74abebd87462007167a1ee3bb577723f | 196 | py | Python | openiPrototype/openiPrototype/APIS/Activity/Nutrition/admin.py | OPENi-ict/ntua_demo | 104118fbe1f54db35386ca96286317ceb64cb658 | [
"Apache-2.0"
] | null | null | null | openiPrototype/openiPrototype/APIS/Activity/Nutrition/admin.py | OPENi-ict/ntua_demo | 104118fbe1f54db35386ca96286317ceb64cb658 | [
"Apache-2.0"
] | null | null | null | openiPrototype/openiPrototype/APIS/Activity/Nutrition/admin.py | OPENi-ict/ntua_demo | 104118fbe1f54db35386ca96286317ceb64cb658 | [
"Apache-2.0"
] | null | null | null | __author__ = 'mpetyx'
from django.contrib import admin
from .models import OpeniNutrition
class NutritionAdmin(admin.ModelAdmin):
pass
admin.site.register(OpeniNutrition, NutritionAdmin)
| 16.333333 | 51 | 0.80102 | 21 | 196 | 7.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127551 | 196 | 11 | 52 | 17.818182 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0.030612 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
e07769c80ce823bc07c3aee5ffb41cccf6eaf9a0 | 373 | py | Python | sdk/python/pulumi_openstack/__init__.py | Frassle/pulumi-openstack | 6fc26edd7c42e7c3d65a01cf9384148cc56466e4 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_openstack/__init__.py | Frassle/pulumi-openstack | 6fc26edd7c42e7c3d65a01cf9384148cc56466e4 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_openstack/__init__.py | Frassle/pulumi-openstack | 6fc26edd7c42e7c3d65a01cf9384148cc56466e4 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
# Make subpackages available:
__all__ = ['blockstorage', 'compute', 'config', 'database', 'dns', 'firewall', 'identity', 'images', 'loa... | 53.285714 | 157 | 0.689008 | 46 | 373 | 5.5 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003125 | 0.142091 | 373 | 6 | 158 | 62.166667 | 0.7875 | 0.549598 | 0 | 0 | 1 | 0 | 0.607362 | 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 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0ebb47236036485210c0675c73b1736444ddbee6 | 1,153 | py | Python | asdf/tests/test_helpers.py | zanecodes/asdf | c1f6cf915409da5372c47ac725dc922b4bd52f7d | [
"BSD-3-Clause"
] | 66 | 2020-06-24T14:10:32.000Z | 2022-03-18T11:46:11.000Z | asdf/tests/test_helpers.py | zanecodes/asdf | c1f6cf915409da5372c47ac725dc922b4bd52f7d | [
"BSD-3-Clause"
] | 179 | 2020-06-22T18:48:31.000Z | 2022-03-31T22:52:19.000Z | asdf/tests/test_helpers.py | zanecodes/asdf | c1f6cf915409da5372c47ac725dc922b4bd52f7d | [
"BSD-3-Clause"
] | 13 | 2020-07-21T16:11:20.000Z | 2022-03-18T20:41:41.000Z | import pytest
from asdf import types
from asdf.exceptions import AsdfConversionWarning, AsdfWarning
from asdf.tests.helpers import assert_roundtrip_tree
def test_conversion_error(tmpdir):
class FooType(types.CustomType):
name = 'foo'
def __init__(self, a, b):
self.a = a
... | 24.531915 | 77 | 0.601908 | 136 | 1,153 | 4.970588 | 0.441176 | 0.035503 | 0.056213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0025 | 0.306158 | 1,153 | 46 | 78 | 25.065217 | 0.8425 | 0 | 0 | 0.212121 | 0 | 0 | 0.060711 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 1 | 0.242424 | false | 0 | 0.121212 | 0.151515 | 0.606061 | 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 | 1 | 0 | 0 | 3 |
0ebdd76cab7e2c9082cb22dfbca3ca0515083ff2 | 615 | py | Python | 82/test_score.py | alehpineda/bitesofpy | bfd319a606cd0b7b9bfb85a3e8942872a2d43c48 | [
"MIT"
] | null | null | null | 82/test_score.py | alehpineda/bitesofpy | bfd319a606cd0b7b9bfb85a3e8942872a2d43c48 | [
"MIT"
] | 2 | 2020-09-24T11:25:29.000Z | 2021-06-25T15:43:35.000Z | 82/test_score.py | alehpineda/bitesofpy | bfd319a606cd0b7b9bfb85a3e8942872a2d43c48 | [
"MIT"
] | null | null | null | from score import Score
def test_enum_content():
assert list(Score) == [
Score.BEGINNER,
Score.INTERMEDIATE,
Score.ADVANCED,
Score.CHEATED,
]
def test_equality_comparison():
assert Score.BEGINNER is Score.BEGINNER
assert Score.INTERMEDIATE is not Score.ADVANCED
def ... | 22.777778 | 59 | 0.64878 | 73 | 615 | 5.493151 | 0.369863 | 0.069825 | 0.139651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004158 | 0.217886 | 615 | 26 | 60 | 23.653846 | 0.808732 | 0 | 0 | 0 | 0 | 0 | 0.099187 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.222222 | true | 0 | 0.055556 | 0 | 0.277778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0ec7e7d46aa94f9b558fb058ae57386a5e71d374 | 198 | py | Python | tsdl/__init__.py | burgerdev/hostload | 93142628bb32923c5e6f3a8b791488d72a5c9077 | [
"MIT"
] | null | null | null | tsdl/__init__.py | burgerdev/hostload | 93142628bb32923c5e6f3a8b791488d72a5c9077 | [
"MIT"
] | null | null | null | tsdl/__init__.py | burgerdev/hostload | 93142628bb32923c5e6f3a8b791488d72a5c9077 | [
"MIT"
] | null | null | null | """
Module that combines the computation graph functionality of module
lazyflow
with the neural network capabilities of
pylearn2
"""
import logging
logging.basicConfig(level=logging.INFO)
| 18 | 66 | 0.782828 | 24 | 198 | 6.458333 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006024 | 0.161616 | 198 | 10 | 67 | 19.8 | 0.927711 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0ec9a7bc2bee1d105c5ad0de623a519001fee984 | 644 | py | Python | film_details_searcher/film_details_searcher/models/search_result.py | tomaszkyc/film_details_searcher | e8e12bc739990324f6ab4110fdd363e6ef207f1a | [
"MIT"
] | null | null | null | film_details_searcher/film_details_searcher/models/search_result.py | tomaszkyc/film_details_searcher | e8e12bc739990324f6ab4110fdd363e6ef207f1a | [
"MIT"
] | null | null | null | film_details_searcher/film_details_searcher/models/search_result.py | tomaszkyc/film_details_searcher | e8e12bc739990324f6ab4110fdd363e6ef207f1a | [
"MIT"
] | null | null | null | from dataclasses import dataclass
@dataclass(init=True, repr=True, eq=True, frozen=True)
class SearchResult:
details: dict
@classmethod
def parse(cls, title, link):
if not isinstance(title, str) or not isinstance(link, str):
raise TypeError('Link and title should be str type')
... | 25.76 | 67 | 0.63354 | 78 | 644 | 5.179487 | 0.461538 | 0.074257 | 0.074257 | 0.10396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251553 | 644 | 24 | 68 | 26.833333 | 0.838174 | 0 | 0 | 0 | 0 | 0 | 0.094721 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.055556 | 0.166667 | 0.611111 | 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 | 1 | 0 | 0 | 3 |
0ee17b9a780e7eb1f6f9a8f7885751076aff563c | 62 | py | Python | desafio.py | araujoajoao/PythonB | 9263fc6a2f731f21fe35a5eaaddff5be94effe3b | [
"MIT"
] | null | null | null | desafio.py | araujoajoao/PythonB | 9263fc6a2f731f21fe35a5eaaddff5be94effe3b | [
"MIT"
] | null | null | null | desafio.py | araujoajoao/PythonB | 9263fc6a2f731f21fe35a5eaaddff5be94effe3b | [
"MIT"
] | null | null | null | nome = input('Qual seu nome?')
print('Seja bem vindo' , nome)
| 20.666667 | 30 | 0.66129 | 10 | 62 | 4.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 62 | 2 | 31 | 31 | 0.788462 | 0 | 0 | 0 | 0 | 0 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
0ee9a99545021d45c878b5b8f4d1787073cfe638 | 164 | py | Python | sso/contact/urls.py | uktrade/staff-sso | c23da74415befdaed60649a9a940b1ba8331581e | [
"MIT"
] | 7 | 2018-07-30T16:18:52.000Z | 2022-03-21T12:58:20.000Z | sso/contact/urls.py | uktrade/staff-sso | c23da74415befdaed60649a9a940b1ba8331581e | [
"MIT"
] | 55 | 2017-06-26T12:49:01.000Z | 2022-03-09T15:48:49.000Z | sso/contact/urls.py | uktrade/staff-sso | c23da74415befdaed60649a9a940b1ba8331581e | [
"MIT"
] | 1 | 2020-05-28T07:17:26.000Z | 2020-05-28T07:17:26.000Z | from django.urls import path
from .views import AccessDeniedView
urlpatterns = [
path("access-denied/", AccessDeniedView.as_view(), name="access-denied"),
]
| 18.222222 | 77 | 0.737805 | 19 | 164 | 6.315789 | 0.684211 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134146 | 164 | 8 | 78 | 20.5 | 0.84507 | 0 | 0 | 0 | 0 | 0 | 0.164634 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0ef4b1b3cdae2c0af8ec6755251a42b275c2d11c | 245 | py | Python | alien_rfid/__init__.py | sacherjj/alien_rfid | 615e2baa79d61b6448b4be71267011bbb2bd44fe | [
"MIT"
] | 1 | 2017-11-25T15:30:59.000Z | 2017-11-25T15:30:59.000Z | alien_rfid/__init__.py | sacherjj/alien_rfid | 615e2baa79d61b6448b4be71267011bbb2bd44fe | [
"MIT"
] | null | null | null | alien_rfid/__init__.py | sacherjj/alien_rfid | 615e2baa79d61b6448b4be71267011bbb2bd44fe | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .alien_serial import AlienReaderSerial
from .alien_network import AlienReaderNetwork
from .alien_tester import AlienReaderTester
__author__ = """Joe Sacher"""
__email__ = 'sacherjj@gmail.com'
__version__ = '0.1.0'
| 24.5 | 45 | 0.763265 | 29 | 245 | 5.931034 | 0.758621 | 0.156977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.118367 | 245 | 9 | 46 | 27.222222 | 0.777778 | 0.085714 | 0 | 0 | 0 | 0 | 0.149321 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0efe5a39ea152f4552ac310a6dd322c52d5d29db | 447 | py | Python | tkhtmlview/utils.py | Saadmairaj/tkhtmlview | 83b4fedaee1634084cf8432081114a3ee4e9a1fc | [
"MIT"
] | null | null | null | tkhtmlview/utils.py | Saadmairaj/tkhtmlview | 83b4fedaee1634084cf8432081114a3ee4e9a1fc | [
"MIT"
] | null | null | null | tkhtmlview/utils.py | Saadmairaj/tkhtmlview | 83b4fedaee1634084cf8432081114a3ee4e9a1fc | [
"MIT"
] | null | null | null |
import os
class RenderHTML:
def __init__(self, file):
self._file = file
if not os.path.exists(self._file):
raise FileNotFoundError(f"No such HTML file: {self._file}")
with open(file, 'r') as f:
self._html = f.read()
def __repr__(self):
return "<%s... | 21.285714 | 71 | 0.577181 | 59 | 447 | 3.898305 | 0.491525 | 0.173913 | 0.104348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.297539 | 447 | 20 | 72 | 22.35 | 0.732484 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0.153846 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
16189a6ca9254aa4c683bf04ca7b507acf52074e | 267 | py | Python | internal_api/urls.py | LuisSanchez/Python-Sandbox | ef5b516f89c262bbf5daf8f57c0609c5f0b58141 | [
"Unlicense"
] | 1 | 2020-08-16T14:09:41.000Z | 2020-08-16T14:09:41.000Z | internal_api/urls.py | LuisSanchez/pythonchallenge | ef5b516f89c262bbf5daf8f57c0609c5f0b58141 | [
"Unlicense"
] | null | null | null | internal_api/urls.py | LuisSanchez/pythonchallenge | ef5b516f89c262bbf5daf8f57c0609c5f0b58141 | [
"Unlicense"
] | null | null | null | from django.urls import path, include
from rest_framework.urlpatterns import format_suffix_patterns
from internal_api import views
urlpatterns = [
path('calculateTMC/', views.CalculateTMCForCredit.as_view()),
]
urlpatterns = format_suffix_patterns(urlpatterns)
| 26.7 | 65 | 0.820225 | 31 | 267 | 6.83871 | 0.612903 | 0.113208 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104869 | 267 | 9 | 66 | 29.666667 | 0.887029 | 0 | 0 | 0 | 0 | 0 | 0.048689 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
164c135d9a969ddec32288e558228df1fcd98faf | 2,068 | py | Python | optimizedGPS/problems/PreSolver.py | mickael-grima/optimizedGPS | e82fd864d7e1a3ef1f7ae64db991cb33784d4df3 | [
"Apache-2.0"
] | null | null | null | optimizedGPS/problems/PreSolver.py | mickael-grima/optimizedGPS | e82fd864d7e1a3ef1f7ae64db991cb33784d4df3 | [
"Apache-2.0"
] | null | null | null | optimizedGPS/problems/PreSolver.py | mickael-grima/optimizedGPS | e82fd864d7e1a3ef1f7ae64db991cb33784d4df3 | [
"Apache-2.0"
] | null | null | null |
"""
In this file, we introduce some algorithm in order to simplify the problem before solving it
"""
import sys
from optimizedGPS.structure.DriversStructure import DriversStructure
class PreSolver(object):
def __init__(self, graph, drivers_graph, drivers_structure=None, horizon=sys.maxint):
self.graph =... | 30.411765 | 109 | 0.70648 | 248 | 2,068 | 5.629032 | 0.306452 | 0.078797 | 0.08596 | 0.036533 | 0.139685 | 0.047278 | 0.047278 | 0 | 0 | 0 | 0 | 0 | 0.218085 | 2,068 | 67 | 110 | 30.865672 | 0.863327 | 0.111219 | 0 | 0.081081 | 0 | 0 | 0.010747 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.297297 | false | 0 | 0.081081 | 0.108108 | 0.594595 | 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 | 1 | 0 | 0 | 3 |
165cfe426d47aee240986efc2a381f0e37a10aa8 | 857 | py | Python | product_inventory.py | GTHEP/udemy-projects | fbe2b053273f1bd4e1606441146d8ba25ce18a7e | [
"MIT"
] | null | null | null | product_inventory.py | GTHEP/udemy-projects | fbe2b053273f1bd4e1606441146d8ba25ce18a7e | [
"MIT"
] | null | null | null | product_inventory.py | GTHEP/udemy-projects | fbe2b053273f1bd4e1606441146d8ba25ce18a7e | [
"MIT"
] | null | null | null |
# Define a Product class. Objects should have 3 variables for price, code, and quantity
class Product:
def __init__(self, price=0.00, code='aaaa', quantity=0):
self.price = price
self.code = code
self.quantity = quantity
def __repr__(self):
return f'Product({self.price... | 30.607143 | 93 | 0.647608 | 114 | 857 | 4.675439 | 0.350877 | 0.090056 | 0.120075 | 0.071295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007862 | 0.257876 | 857 | 27 | 94 | 31.740741 | 0.830189 | 0.205368 | 0 | 0 | 0 | 0.058824 | 0.137574 | 0.034024 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0 | 0 | 0.176471 | 0.705882 | 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 | 1 | 0 | 0 | 3 |
1667c587d74c07f99442c6be392f0bdba276f2a8 | 153 | py | Python | ML_CW1/assgn_1_part_2/2_neural_network/plot_cost.py | ShellySrivastava/Machine-Learning | bfdea30c06abe4228c103ae525adcf990015983f | [
"MIT"
] | null | null | null | ML_CW1/assgn_1_part_2/2_neural_network/plot_cost.py | ShellySrivastava/Machine-Learning | bfdea30c06abe4228c103ae525adcf990015983f | [
"MIT"
] | null | null | null | ML_CW1/assgn_1_part_2/2_neural_network/plot_cost.py | ShellySrivastava/Machine-Learning | bfdea30c06abe4228c103ae525adcf990015983f | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import os
def plot_cost(cost, ax1):
ax1.set_xlabel('Iterations')
ax1.set_ylabel('Cost')
ax1.plot(cost)
| 17 | 32 | 0.686275 | 23 | 153 | 4.434783 | 0.608696 | 0.156863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03252 | 0.196078 | 153 | 8 | 33 | 19.125 | 0.796748 | 0 | 0 | 0 | 0 | 0 | 0.091503 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1673481d8faf2586e15b425141d105d4e55835f9 | 1,269 | py | Python | plyer/platforms/macosx/storagepath.py | Sires0/plyer | b68d19ff1d5589722086fc303e23c372f34f3897 | [
"MIT"
] | 3 | 2020-07-17T16:23:14.000Z | 2021-05-25T21:00:49.000Z | plyer/platforms/macosx/storagepath.py | Sires0/plyer | b68d19ff1d5589722086fc303e23c372f34f3897 | [
"MIT"
] | 1 | 2021-05-25T20:54:22.000Z | 2021-05-26T20:22:30.000Z | plyer/platforms/macosx/storagepath.py | Sires0/plyer | b68d19ff1d5589722086fc303e23c372f34f3897 | [
"MIT"
] | 1 | 2019-05-17T09:45:00.000Z | 2019-05-17T09:45:00.000Z | '''
MacOS X Storage Path
--------------------
'''
import os.path
from plyer.facades import StoragePath
from plyer.platforms.macosx.libs import osx_paths
# Directory constants (NSSearchPathDirectory enumeration)
NSApplicationDirectory = 1
NSDocumentDirectory = 9
NSDownloadsDirectory = 15
NSMoviesDirectory = 17
NSMusic... | 25.38 | 69 | 0.748621 | 131 | 1,269 | 6.984733 | 0.427481 | 0.059016 | 0.127869 | 0.104918 | 0.268852 | 0.268852 | 0 | 0 | 0 | 0 | 0 | 0.00947 | 0.167849 | 1,269 | 49 | 70 | 25.897959 | 0.857008 | 0.077226 | 0 | 0 | 0 | 0 | 0.039553 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.1 | 0.333333 | 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 | 1 | 1 | 0 | 0 | 3 |
16749ac6d04f6d3b17186662c06bc43d5c7cf45d | 237 | py | Python | link/forms.py | tamirOK/short-link-project | b7c2db7eae0d82978b78ae08e8c89a8d9af95dd3 | [
"MIT"
] | null | null | null | link/forms.py | tamirOK/short-link-project | b7c2db7eae0d82978b78ae08e8c89a8d9af95dd3 | [
"MIT"
] | null | null | null | link/forms.py | tamirOK/short-link-project | b7c2db7eae0d82978b78ae08e8c89a8d9af95dd3 | [
"MIT"
] | null | null | null | from django import forms
class UrlForm(forms.Form):
url = forms.URLField(widget=forms.URLInput(
attrs={'placeholder': 'Paste your link here...'}))
short_url = forms.CharField(widget=forms.HiddenInput(), required=False)
| 29.625 | 75 | 0.708861 | 29 | 237 | 5.758621 | 0.758621 | 0.095808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151899 | 237 | 7 | 76 | 33.857143 | 0.830846 | 0 | 0 | 0 | 0 | 0 | 0.14346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.8 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
16a9f0f8fd88065cd8283268d76385dc5bb8b515 | 231 | py | Python | tpe/PS2000aRapidMode.py | markomanninen/tandempiercerexperiment | 876d912224b6cc51812515df0987d651004a5a68 | [
"MIT"
] | null | null | null | tpe/PS2000aRapidMode.py | markomanninen/tandempiercerexperiment | 876d912224b6cc51812515df0987d651004a5a68 | [
"MIT"
] | null | null | null | tpe/PS2000aRapidMode.py | markomanninen/tandempiercerexperiment | 876d912224b6cc51812515df0987d651004a5a68 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2018 Pico Technology Ltd. See LICENSE file for terms.
# Copyright (C) 2021-2022 Marko Manninen
#
# PS2000A RAPID MODE to retrieve data from four channels with a trigger.
| 28.875 | 72 | 0.714286 | 35 | 231 | 4.714286 | 0.942857 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0.168831 | 231 | 7 | 73 | 33 | 0.765625 | 0.939394 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
16bc41afaa327a11169eb7a2eaa66244baa049f9 | 210 | py | Python | src/deploy/builder/builder/urls.py | werelaxe/drapo | 5f78da735819200f0e7efa6a5e6b3b45ba6e0d4b | [
"MIT"
] | null | null | null | src/deploy/builder/builder/urls.py | werelaxe/drapo | 5f78da735819200f0e7efa6a5e6b3b45ba6e0d4b | [
"MIT"
] | null | null | null | src/deploy/builder/builder/urls.py | werelaxe/drapo | 5f78da735819200f0e7efa6a5e6b3b45ba6e0d4b | [
"MIT"
] | null | null | null | from django.conf.urls import url, include
from django.contrib import admin
urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'^stacks/', include(('stacks.urls', 'stacks'), namespace='stacks')),
]
| 26.25 | 77 | 0.680952 | 28 | 210 | 5.107143 | 0.5 | 0.13986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 210 | 7 | 78 | 30 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.180952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
16c44703fa386b06e7879dd377c889dce8db0575 | 128 | py | Python | .history/ClassFiles/Control Flow/ForLoopElseStatement_20210101222647.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | .history/ClassFiles/Control Flow/ForLoopElseStatement_20210101222647.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | .history/ClassFiles/Control Flow/ForLoopElseStatement_20210101222647.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | ''' For Loop and Else statemenr
Used to specify a block of code to execute when the loop is finished.
'''
for x in range | 32 | 69 | 0.695313 | 23 | 128 | 3.869565 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 128 | 4 | 70 | 32 | 0.927083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bc6b2e86b894f46b1a246157810c53685e0f4936 | 702 | py | Python | src/optimizer/__init__.py | OnurUner/DeepSide | dffb7ddc1d1bde36bbf5abb6eac107d39985c57a | [
"MIT"
] | 4 | 2019-11-26T14:21:33.000Z | 2022-03-17T16:53:59.000Z | src/optimizer/__init__.py | OnurUner/DeepSide | dffb7ddc1d1bde36bbf5abb6eac107d39985c57a | [
"MIT"
] | 1 | 2020-06-04T10:42:48.000Z | 2022-03-08T17:47:13.000Z | src/optimizer/__init__.py | OnurUner/DeepSide | dffb7ddc1d1bde36bbf5abb6eac107d39985c57a | [
"MIT"
] | 1 | 2022-01-12T13:39:26.000Z | 2022-01-12T13:39:26.000Z | import torch
from .adamw import AdamW
def init_optim(optim, params, lr, weight_decay):
if optim == 'adam':
return torch.optim.Adam(params, lr=lr, weight_decay=weight_decay)
elif optim == 'adamw':
return AdamW(params, lr=lr, weight_decay=weight_decay)
elif optim == 'amsgrad':
return... | 39 | 90 | 0.683761 | 97 | 702 | 4.824742 | 0.28866 | 0.258547 | 0.106838 | 0.235043 | 0.527778 | 0.527778 | 0.508547 | 0.508547 | 0.508547 | 0.401709 | 0 | 0.00703 | 0.189459 | 702 | 17 | 91 | 41.294118 | 0.815466 | 0 | 0 | 0 | 0 | 0 | 0.07265 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.133333 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 3 |
bc757eb1f822232cfb09a6425b4c7f2d6227e841 | 2,600 | py | Python | pages/login_page.py | and-buk/ui-moodle-test | ad6fd85ecc517c903cf1893472f6ab4287f64da6 | [
"MIT"
] | null | null | null | pages/login_page.py | and-buk/ui-moodle-test | ad6fd85ecc517c903cf1893472f6ab4287f64da6 | [
"MIT"
] | null | null | null | pages/login_page.py | and-buk/ui-moodle-test | ad6fd85ecc517c903cf1893472f6ab4287f64da6 | [
"MIT"
] | null | null | null | from selenium.webdriver.remote.webelement import WebElement
import conftest
from locators.login_page_locators import LoginPageLocators
from models.auth import AuthData
from pages.base_page import BasePage
class LoginPage(BasePage):
"""Класс объекта Page Object с атрибутами и методами, необходимыми для аутентифик... | 40 | 106 | 0.701923 | 294 | 2,600 | 6.054422 | 0.316327 | 0.049438 | 0.075843 | 0.161798 | 0.472472 | 0.400562 | 0.325843 | 0.224719 | 0.224719 | 0.183146 | 0 | 0.000966 | 0.203462 | 2,600 | 64 | 107 | 40.625 | 0.858522 | 0.210769 | 0 | 0.190476 | 0 | 0 | 0.021934 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0.095238 | 0.119048 | 0.047619 | 0.642857 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
bc8553768694096b77d50da789e7dc122e42d447 | 21,327 | py | Python | tests/test_main.py | kylejohnson514/cel-python | c79a1b1a60cd5210b679bcb05f37c99387607241 | [
"Apache-2.0"
] | null | null | null | tests/test_main.py | kylejohnson514/cel-python | c79a1b1a60cd5210b679bcb05f37c99387607241 | [
"Apache-2.0"
] | null | null | null | tests/test_main.py | kylejohnson514/cel-python | c79a1b1a60cd5210b679bcb05f37c99387607241 | [
"Apache-2.0"
] | null | null | null | # SPDX-Copyright: Copyright (c) Capital One Services, LLC
# SPDX-License-Identifier: Apache-2.0
# Copyright 2020 Capital One Services, LLC
#
# 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
#
# ... | 35.309603 | 100 | 0.646176 | 2,713 | 21,327 | 4.856985 | 0.106893 | 0.022312 | 0.057373 | 0.035061 | 0.782652 | 0.748653 | 0.735069 | 0.693329 | 0.674357 | 0.643242 | 0 | 0.015616 | 0.213298 | 21,327 | 603 | 101 | 35.368159 | 0.769758 | 0.115581 | 0 | 0.563559 | 0 | 0.019068 | 0.149563 | 0.00279 | 0 | 0 | 0.001073 | 0 | 0.279661 | 1 | 0.061441 | false | 0 | 0.016949 | 0 | 0.091102 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bc89a354a2a6594f9bc9c5455d66778c3366f09c | 531 | py | Python | tsheets/repos/project.py | meilinger/api_python | c5ddd4f448ae1622ddd29a6166fee5db43df11f9 | [
"MIT"
] | null | null | null | tsheets/repos/project.py | meilinger/api_python | c5ddd4f448ae1622ddd29a6166fee5db43df11f9 | [
"MIT"
] | null | null | null | tsheets/repos/project.py | meilinger/api_python | c5ddd4f448ae1622ddd29a6166fee5db43df11f9 | [
"MIT"
] | null | null | null | from tsheets.repository import Repository
from datetime import date, datetime
import tsheets.models as models
class Project(Repository):
pass
Project.add_me_to_subcls()
Project.add_url("/reports/project")
Project.add_model(models.Project)
Project.add_actions([u'report'])
Project.filter("start_date", date)
Proje... | 25.285714 | 41 | 0.779661 | 73 | 531 | 5.506849 | 0.452055 | 0.226368 | 0.097015 | 0.141791 | 0.129353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079096 | 531 | 20 | 42 | 26.55 | 0.822086 | 0 | 0 | 0 | 0 | 0 | 0.180791 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.0625 | 0.1875 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
bca00d8fc3ccc6ce2beaad47e1bcf8b71543752a | 190 | py | Python | uqcsbot/scripts/cookbook.py | ashfordneil/uqcsbot | af47d8c4fcdf7cba6c6d411e838b17628fedf9af | [
"MIT"
] | null | null | null | uqcsbot/scripts/cookbook.py | ashfordneil/uqcsbot | af47d8c4fcdf7cba6c6d411e838b17628fedf9af | [
"MIT"
] | null | null | null | uqcsbot/scripts/cookbook.py | ashfordneil/uqcsbot | af47d8c4fcdf7cba6c6d411e838b17628fedf9af | [
"MIT"
] | null | null | null | from uqcsbot import bot, Command
@bot.on_command("cookbook")
def handle_cookbook(command: Command):
bot.post_message(command.channel, "https://github.com/UQComputingSociety/cookbook")
| 27.142857 | 87 | 0.784211 | 24 | 190 | 6.083333 | 0.666667 | 0.136986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089474 | 190 | 6 | 88 | 31.666667 | 0.843931 | 0 | 0 | 0 | 0 | 0 | 0.284211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bcabd634d307a4a80edda02638defef1cb1c906f | 349 | py | Python | core/admin.py | bm0/book_catalog | 29e1e3584d40dd75770a030df02d50093365b561 | [
"MIT"
] | null | null | null | core/admin.py | bm0/book_catalog | 29e1e3584d40dd75770a030df02d50093365b561 | [
"MIT"
] | 9 | 2020-02-11T21:41:20.000Z | 2022-01-13T00:33:21.000Z | core/admin.py | bm0/book_catalog | 29e1e3584d40dd75770a030df02d50093365b561 | [
"MIT"
] | null | null | null | from django.contrib import admin
from core import models
# Register your models here.
class BookInline(admin.TabularInline):
model = models.Book
extra = 1
class AuthorAdmin(admin.ModelAdmin):
inlines = (BookInline,)
admin.site.register(models.Author, AuthorAdmin)
admin.site.register(models.Book)
adm... | 17.45 | 47 | 0.759312 | 44 | 349 | 6.022727 | 0.522727 | 0.101887 | 0.192453 | 0.260377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003344 | 0.143266 | 349 | 19 | 48 | 18.368421 | 0.882943 | 0.074499 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.7 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
bcb2a7c6fc81d1d604b350eba07fc014bab23961 | 308 | py | Python | src/python/WMQuality/Emulators/DefaultConfig.py | tslazarova/WMCore | a09e2aefe700fb9b0d12b9f7089b21bde5a5bd62 | [
"Apache-2.0"
] | 1 | 2015-02-05T13:43:46.000Z | 2015-02-05T13:43:46.000Z | src/python/WMQuality/Emulators/DefaultConfig.py | tslazarova/WMCore | a09e2aefe700fb9b0d12b9f7089b21bde5a5bd62 | [
"Apache-2.0"
] | 1 | 2016-10-13T14:57:35.000Z | 2016-10-13T14:57:35.000Z | src/python/WMQuality/Emulators/DefaultConfig.py | juztas/WMCore | f7e830a573d50fb1d7240797f18d809f994b934d | [
"Apache-2.0"
] | null | null | null | '''
Created on Feb 15, 2010
'''
from WMCore.Configuration import Configuration
from WMCore.WMBase import getWMBASE
import os.path
config = Configuration()
config.section_("Emulator")
config.Emulator.PhEDEx = True
config.Emulator.DBSReader = True
config.Emulator.ReqMgr = True
config.Emulator.SiteDB = True
| 20.533333 | 46 | 0.788961 | 39 | 308 | 6.205128 | 0.538462 | 0.231405 | 0.223141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021978 | 0.113636 | 308 | 14 | 47 | 22 | 0.864469 | 0.074675 | 0 | 0 | 0 | 0 | 0.028986 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
bcb3d0ab36966c7d7efe30fa0b524245b69781a5 | 24,152 | py | Python | bnc/commands/cmd_spot.py | mpetrinidev/bnb-cli | d10fc36b6a1e2dd34597d9f31ea143019ba6f4b9 | [
"MIT"
] | 5 | 2021-04-02T20:49:19.000Z | 2021-06-11T06:22:24.000Z | bnc/commands/cmd_spot.py | mpetrinidev/bnb-cli | d10fc36b6a1e2dd34597d9f31ea143019ba6f4b9 | [
"MIT"
] | 2 | 2021-06-13T20:22:09.000Z | 2021-06-14T23:09:14.000Z | bnc/commands/cmd_spot.py | mpetrinidev/bnc-cli | d10fc36b6a1e2dd34597d9f31ea143019ba6f4b9 | [
"MIT"
] | null | null | null | import click
from ..builder import LimitOrderBuilder
from ..builder import MarketOrderBuilder
from ..builder import StopLossLimitBuilder
from ..builder import TakeProfitLimitBuilder
from ..builder import LimitMakerBuilder
from ..builder import CancelOrderBuilder
from ..builder import OpenOrdersBuilder
from ..builder i... | 37.974843 | 118 | 0.643756 | 2,937 | 24,152 | 5.031324 | 0.083418 | 0.036476 | 0.052785 | 0.028761 | 0.803478 | 0.765311 | 0.732828 | 0.698653 | 0.623943 | 0.595249 | 0 | 0.005451 | 0.225282 | 24,152 | 635 | 119 | 38.034646 | 0.784298 | 0.005714 | 0 | 0.641379 | 0 | 0 | 0.178094 | 0.016386 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004598 | false | 0.016092 | 0.057471 | 0 | 0.075862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 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 | 3 |
bcd427dcbdaa32b0723d00aff850fffc96b3dee6 | 798 | py | Python | metadata/r21/corrections_muon.py | gordonwatts/func-adl-types-atlas | 9d135371d4e21d69373a8e1611ea8118cf2fff7f | [
"MIT"
] | null | null | null | metadata/r21/corrections_muon.py | gordonwatts/func-adl-types-atlas | 9d135371d4e21d69373a8e1611ea8118cf2fff7f | [
"MIT"
] | 1 | 2022-02-23T17:56:48.000Z | 2022-02-23T17:56:48.000Z | metadata/r21/corrections_muon.py | gordonwatts/func-adl-types-atlas | 9d135371d4e21d69373a8e1611ea8118cf2fff7f | [
"MIT"
] | null | null | null | muon_container = '{{calib.muon_collection}}'
from MuonAnalysisAlgorithms.MuonAnalysisSequence import makeMuonAnalysisSequence
muonSequence = makeMuonAnalysisSequence('mc', workingPoint='{{calib.muon_working_point}}.{{calib.muon_isolation}}', postfix = '{{calib.muon_working_point}}_{{calib.muon_isolation}}')
muonSequenc... | 88.666667 | 182 | 0.779449 | 83 | 798 | 7.108434 | 0.313253 | 0.198305 | 0.135593 | 0.177966 | 0.511864 | 0.435593 | 0.435593 | 0.30339 | 0.30339 | 0.223729 | 0 | 0 | 0.082707 | 798 | 9 | 183 | 88.666667 | 0.806011 | 0.172932 | 0 | 0 | 0 | 0 | 0.43465 | 0.431611 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.125 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bce07cffbf017b46b5e17f9c30ce5e93930c9965 | 146 | py | Python | pdip/dependency/scopes.py | ahmetcagriakca/pdip | c4c16d5666a740154cabdc6762cd44d98b7bdde8 | [
"MIT"
] | 2 | 2021-12-09T21:07:46.000Z | 2021-12-11T22:18:01.000Z | pdip/dependency/scopes.py | fmuyilmaz/pdip | f7e30b0c04d9e85ef46b0b7094fafd3ce18bccab | [
"MIT"
] | null | null | null | pdip/dependency/scopes.py | fmuyilmaz/pdip | f7e30b0c04d9e85ef46b0b7094fafd3ce18bccab | [
"MIT"
] | 3 | 2021-11-15T00:47:00.000Z | 2021-12-17T11:35:45.000Z | class IDependency:
pass
class IScoped(IDependency):
pass
def __del__(self):
pass
class ISingleton(IDependency):
pass
| 10.428571 | 30 | 0.650685 | 15 | 146 | 6.066667 | 0.533333 | 0.494505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280822 | 146 | 13 | 31 | 11.230769 | 0.866667 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
bce639b9308c7ddf03261bd417404c48063eddf2 | 3,079 | py | Python | workshops/hash_table_tests/test_hash_table.py | PetkoAndreev/Python-OOP | 2cc3094940cdf078f0ee60be938e883f843766e4 | [
"MIT"
] | 1 | 2021-05-27T07:59:17.000Z | 2021-05-27T07:59:17.000Z | workshops/hash_table_tests/test_hash_table.py | PetkoAndreev/Python-OOP | 2cc3094940cdf078f0ee60be938e883f843766e4 | [
"MIT"
] | null | null | null | workshops/hash_table_tests/test_hash_table.py | PetkoAndreev/Python-OOP | 2cc3094940cdf078f0ee60be938e883f843766e4 | [
"MIT"
] | null | null | null | import unittest
from python_oop.workshops.hash_table.hashtable import HashTable
class TestHashTable(unittest.TestCase):
def setUp(self):
self.hash_table = HashTable()
def test_attributes(self):
self.assertEqual(4, len(self.hash_table.keys))
self.assertEqual(4, len(self.hash_table.val... | 42.763889 | 87 | 0.685287 | 431 | 3,079 | 4.63109 | 0.206497 | 0.18487 | 0.260521 | 0.076653 | 0.639279 | 0.58517 | 0.516032 | 0.398297 | 0.352705 | 0.352705 | 0 | 0.012764 | 0.185775 | 3,079 | 72 | 88 | 42.763889 | 0.783406 | 0.042546 | 0 | 0.296296 | 0 | 0 | 0.117188 | 0 | 0 | 0 | 0 | 0 | 0.425926 | 1 | 0.203704 | false | 0 | 0.037037 | 0 | 0.259259 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4c07b902f82357f9ace056f54188bb1218f7311b | 441 | py | Python | poradnia/cases/migrations/0013_auto_20150312_2326.py | efefre/poradnia | 8bf9c88888d538cf4d1224431355c850d31ef252 | [
"MIT"
] | 23 | 2015-07-20T01:10:52.000Z | 2021-01-12T10:05:48.000Z | poradnia/cases/migrations/0013_auto_20150312_2326.py | efefre/poradnia | 8bf9c88888d538cf4d1224431355c850d31ef252 | [
"MIT"
] | 710 | 2015-07-12T13:19:14.000Z | 2022-03-29T12:38:18.000Z | poradnia/cases/migrations/0013_auto_20150312_2326.py | efefre/poradnia | 8bf9c88888d538cf4d1224431355c850d31ef252 | [
"MIT"
] | 20 | 2015-07-21T00:45:34.000Z | 2021-01-31T12:48:18.000Z | from django.db import migrations
class Migration(migrations.Migration):
dependencies = [("cases", "0012_auto_20150311_0434")]
operations = [
migrations.RemoveField(model_name="case", name="created_by"),
migrations.RemoveField(model_name="case", name="created_on"),
migrations.RemoveFi... | 31.5 | 70 | 0.70068 | 48 | 441 | 6.208333 | 0.458333 | 0.281879 | 0.348993 | 0.402685 | 0.624161 | 0.624161 | 0.624161 | 0 | 0 | 0 | 0 | 0.043127 | 0.15873 | 441 | 13 | 71 | 33.923077 | 0.760108 | 0 | 0 | 0 | 0 | 0 | 0.195011 | 0.052154 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 3 |
4c165617da31b79e7ec5cf5d3f2b09d8274a1ea6 | 766 | py | Python | core-python/Core_Python/regexpkg/Regex_As_6.py | theumang100/tutorials-1 | 497f54c2adb022c316530319a168fca1c007d4b1 | [
"MIT"
] | 9 | 2020-04-23T05:24:19.000Z | 2022-02-17T16:37:51.000Z | core-python/Core_Python/regexpkg/Regex_As_6.py | theumang100/tutorials-1 | 497f54c2adb022c316530319a168fca1c007d4b1 | [
"MIT"
] | 5 | 2020-10-01T05:08:37.000Z | 2020-10-12T03:18:10.000Z | core-python/Core_Python/regexpkg/Regex_As_6.py | theumang100/tutorials-1 | 497f54c2adb022c316530319a168fca1c007d4b1 | [
"MIT"
] | 9 | 2020-04-28T14:06:41.000Z | 2021-10-19T18:32:28.000Z | ''' The multi_vowel_words function returns all words with 3 or more consecutive
vowels (a, e, i, o, u). Fill in the regular expression to do that. '''
import re
def multi_vowel_words(text):
pattern = r"\w+[aeiou]{3,}\w+"
result = re.findall(pattern, text)
return result
print(multi_vowel_words("Life is beaut... | 33.304348 | 106 | 0.720627 | 112 | 766 | 4.803571 | 0.5625 | 0.130112 | 0.195167 | 0.185874 | 0.085502 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00303 | 0.138381 | 766 | 23 | 107 | 33.304348 | 0.812121 | 0.340731 | 0 | 0 | 0 | 0 | 0.460285 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.3 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 3 |
4c42725681a18a31adef25eb006292f20583c1d0 | 1,261 | py | Python | alipay/aop/api/response/ZhimaCreditEpSceneFulfillmentlistSyncResponse.py | articuly/alipay-sdk-python-all | 0259cd28eca0f219b97dac7f41c2458441d5e7a6 | [
"Apache-2.0"
] | null | null | null | alipay/aop/api/response/ZhimaCreditEpSceneFulfillmentlistSyncResponse.py | articuly/alipay-sdk-python-all | 0259cd28eca0f219b97dac7f41c2458441d5e7a6 | [
"Apache-2.0"
] | null | null | null | alipay/aop/api/response/ZhimaCreditEpSceneFulfillmentlistSyncResponse.py | articuly/alipay-sdk-python-all | 0259cd28eca0f219b97dac7f41c2458441d5e7a6 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import simplejson as json
from alipay.aop.api.response.AlipayResponse import AlipayResponse
from alipay.aop.api.domain.FulfillmentResult import FulfillmentResult
class ZhimaCreditEpSceneFulfillmentlistSyncResponse(AlipayResponse):
def __init__(self):
super(Z... | 38.212121 | 118 | 0.725615 | 127 | 1,261 | 6.866142 | 0.338583 | 0.21445 | 0.264908 | 0.172018 | 0.135321 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000993 | 0.201427 | 1,261 | 32 | 119 | 39.40625 | 0.864945 | 0.033307 | 0 | 0 | 0 | 0 | 0.037798 | 0.037798 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0 | 0.130435 | 0.043478 | 0.391304 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 3 |
4c43dcfb24b6b24a9256199ec20f8b4104053af5 | 157 | py | Python | Development/05/after/pluralsight.plugin.xbmc/addon.py | enriqueescobar-askida/Kinito.RaspberryPi | 90ecc8920e7a149fcfdb9e153da04bb5743e73d9 | [
"MIT"
] | null | null | null | Development/05/after/pluralsight.plugin.xbmc/addon.py | enriqueescobar-askida/Kinito.RaspberryPi | 90ecc8920e7a149fcfdb9e153da04bb5743e73d9 | [
"MIT"
] | null | null | null | Development/05/after/pluralsight.plugin.xbmc/addon.py | enriqueescobar-askida/Kinito.RaspberryPi | 90ecc8920e7a149fcfdb9e153da04bb5743e73d9 | [
"MIT"
] | null | null | null | import os
import sys
import xbmcplugin
import xbmcaddon
import xbmcgui
print 'Hello XBMC Addon!!!!'
dialog = xbmcgui.Dialog()
dialog.ok('Hello XBMC','Hi!') | 15.7 | 29 | 0.751592 | 22 | 157 | 5.363636 | 0.590909 | 0.152542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127389 | 157 | 10 | 29 | 15.7 | 0.861314 | 0 | 0 | 0 | 0 | 0 | 0.208861 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.625 | null | null | 0.125 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4c549d2eb8f7e679791a9409b8bae0a82683cd21 | 3,388 | py | Python | keras/regularizers.py | bjerva/keras | 8d34e8a362f516b09a6e9f52f07264c9f1e088a9 | [
"MIT"
] | null | null | null | keras/regularizers.py | bjerva/keras | 8d34e8a362f516b09a6e9f52f07264c9f1e088a9 | [
"MIT"
] | null | null | null | keras/regularizers.py | bjerva/keras | 8d34e8a362f516b09a6e9f52f07264c9f1e088a9 | [
"MIT"
] | 1 | 2020-06-11T02:11:58.000Z | 2020-06-11T02:11:58.000Z | from __future__ import absolute_import
from . import backend as K
from .utils.generic_utils import get_from_module
import warnings
class Regularizer(object):
def __call__(self, x):
return 0
def get_config(self):
return {'name': self.__class__.__name__}
def set_param(self, _):
wa... | 28.233333 | 78 | 0.622491 | 430 | 3,388 | 4.737209 | 0.290698 | 0.011782 | 0.02651 | 0.070692 | 0.326951 | 0.259205 | 0.259205 | 0.22975 | 0.22975 | 0.126657 | 0 | 0.046029 | 0.275384 | 3,388 | 119 | 79 | 28.470588 | 0.783707 | 0.160272 | 0 | 0.220588 | 0 | 0 | 0.115564 | 0.007513 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.058824 | 0.147059 | 0.514706 | 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 | 1 | 0 | 0 | 3 |
4c5fa90c4afdbcc9667fb7a515e895de31cf9fe4 | 222 | py | Python | core/urls.py | svhenrique/weather-project | ec0ff168aac51245f7967a15a298363b2f352caf | [
"MIT"
] | null | null | null | core/urls.py | svhenrique/weather-project | ec0ff168aac51245f7967a15a298363b2f352caf | [
"MIT"
] | null | null | null | core/urls.py | svhenrique/weather-project | ec0ff168aac51245f7967a15a298363b2f352caf | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.urls import path
from . import views
urlpatterns = [
path('', views.WeatherView.as_view(), name='index'),
path('delete/<pk>/', views.delete_location, name='delete')
]
| 22.2 | 62 | 0.702703 | 29 | 222 | 5.310345 | 0.586207 | 0.12987 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144144 | 222 | 9 | 63 | 24.666667 | 0.810526 | 0 | 0 | 0 | 0 | 0 | 0.103604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4c61cfae0eb5a4902458deffb59c73120a3d70d3 | 615 | py | Python | miss/collections.py | Changaco/python-miss | 899df25615b5eee72307e80b6de43daffa144464 | [
"CC0-1.0"
] | 1 | 2020-04-09T16:42:40.000Z | 2020-04-09T16:42:40.000Z | miss/collections.py | Changaco/python-miss | 899df25615b5eee72307e80b6de43daffa144464 | [
"CC0-1.0"
] | null | null | null | miss/collections.py | Changaco/python-miss | 899df25615b5eee72307e80b6de43daffa144464 | [
"CC0-1.0"
] | null | null | null | """
This module is a version of collections consistent in both python 2 and 3.
It is only made of re-exports from builtin modules, with one exception. Unlike
the builtin UserDict, the one in this module derives from dict, which means that
existing code using `isintance(obj, dict)` won't break.
"""
from collections im... | 27.954545 | 80 | 0.733333 | 87 | 615 | 4.977011 | 0.62069 | 0.046189 | 0.096998 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00818 | 0.204878 | 615 | 21 | 81 | 29.285714 | 0.877301 | 0.473171 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.090909 | 0.454545 | 0 | 0.818182 | 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 | 1 | 0 | 1 | 0 | 0 | 3 |
4c65763f68254cedc5a4c579af6d4f044c4a2bef | 598 | py | Python | Github_User_Details/functions.py | Frans06/code-n-stitch | 996a2bf8474bd200f3f1f89d1b8c7e9b9615117a | [
"MIT"
] | 50 | 2020-09-19T16:40:21.000Z | 2022-02-05T05:48:42.000Z | Github_User_Details/functions.py | Frans06/code-n-stitch | 996a2bf8474bd200f3f1f89d1b8c7e9b9615117a | [
"MIT"
] | 266 | 2020-09-25T17:24:04.000Z | 2021-11-29T07:17:57.000Z | Github_User_Details/functions.py | Frans06/code-n-stitch | 996a2bf8474bd200f3f1f89d1b8c7e9b9615117a | [
"MIT"
] | 113 | 2020-09-26T10:28:11.000Z | 2021-10-15T06:58:53.000Z | import requests
from io import BytesIO
from PIL import Image
def get_user_image(url):
response = requests.get(url)
img_file = BytesIO(response.content)
return Image.open(img_file)
def get_user_details(username):
res = requests.get(f'https://api.github.com/users/{username}')
return res.json() if... | 23 | 74 | 0.688963 | 88 | 598 | 4.545455 | 0.511364 | 0.09 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02045 | 0.182274 | 598 | 25 | 75 | 23.92 | 0.797546 | 0 | 0 | 0 | 0 | 0 | 0.071906 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.1875 | 0.125 | 0.6875 | 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 | 1 | 0 | 0 | 3 |
4c68a2c948adfa51d3f649c50ec2387ae5eda33c | 79 | py | Python | pset6/hello.py | D3adsec9ja/cs50x-works | 9cdc6f4007315324ca69f4756bb3e26e1eaa6929 | [
"BSD-3-Clause"
] | null | null | null | pset6/hello.py | D3adsec9ja/cs50x-works | 9cdc6f4007315324ca69f4756bb3e26e1eaa6929 | [
"BSD-3-Clause"
] | null | null | null | pset6/hello.py | D3adsec9ja/cs50x-works | 9cdc6f4007315324ca69f4756bb3e26e1eaa6929 | [
"BSD-3-Clause"
] | null | null | null | #ask for name
prompt = input("What is your name?\n")
print(f"hello, {prompt}") | 19.75 | 38 | 0.670886 | 14 | 79 | 3.785714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139241 | 79 | 4 | 39 | 19.75 | 0.779412 | 0.151899 | 0 | 0 | 0 | 0 | 0.522388 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
4c7062a9ab479cf67e965873ee7335528d52354c | 425 | py | Python | examples/stats/multi_ess.py | papamarkou/eeyore | 4cd9b5a619cd095035aa93f348d1c937629aa8a3 | [
"MIT"
] | 6 | 2020-04-22T18:56:46.000Z | 2021-09-09T15:57:48.000Z | examples/stats/multi_ess.py | papamarkou/eeyore | 4cd9b5a619cd095035aa93f348d1c937629aa8a3 | [
"MIT"
] | 19 | 2019-11-14T21:22:21.000Z | 2020-10-31T16:18:36.000Z | examples/stats/multi_ess.py | scidom/eeyore | 4cd9b5a619cd095035aa93f348d1c937629aa8a3 | [
"MIT"
] | null | null | null | # Compute multivariate ESS using multi_ess function based on eeyore
# %% Load packages
import numpy as np
import torch
from eeyore.stats import multi_ess
# %% Read chains
chains = torch.as_tensor(np.genfromtxt('chain01.csv', delimiter=','))
# %% Compute multivariate ESS using INSE MC covariance estimation
ess_va... | 22.368421 | 81 | 0.764706 | 59 | 425 | 5.40678 | 0.542373 | 0.141066 | 0.188088 | 0.169279 | 0.288401 | 0.288401 | 0.288401 | 0 | 0 | 0 | 0 | 0.005495 | 0.143529 | 425 | 18 | 82 | 23.611111 | 0.870879 | 0.378824 | 0 | 0 | 0 | 0 | 0.262548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.166667 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
4c718a74f1d85fa92faa6ea708fdd0f72b919d59 | 1,286 | py | Python | rts/python/memory.py | Snektron/futhark | ca9a33d511ba30b27409aef46e5df92556ab2e8b | [
"ISC"
] | 2 | 2022-01-02T16:21:11.000Z | 2022-01-09T09:49:43.000Z | rts/python/memory.py | q60/futhark | a9421d922778281ac8a84e66497c340290c1e23b | [
"ISC"
] | null | null | null | rts/python/memory.py | q60/futhark | a9421d922778281ac8a84e66497c340290c1e23b | [
"ISC"
] | null | null | null | # Start of memory.py.
import ctypes as ct
def addressOffset(x, offset, bt):
return ct.cast(ct.addressof(x.contents)+int(offset), ct.POINTER(bt))
def allocateMem(size):
return ct.cast((ct.c_byte * max(0,size))(), ct.POINTER(ct.c_byte))
# Copy an array if its is not-None. This is important for treating
# Numpy a... | 27.956522 | 94 | 0.692846 | 212 | 1,286 | 4.136792 | 0.40566 | 0.031927 | 0.023945 | 0.034208 | 0.107184 | 0.070696 | 0.070696 | 0 | 0 | 0 | 0 | 0.002791 | 0.164075 | 1,286 | 45 | 95 | 28.577778 | 0.813023 | 0.205288 | 0 | 0.074074 | 0 | 0 | 0.032544 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.037037 | 0.185185 | 0.740741 | 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 | 1 | 0 | 0 | 3 |
d5d16d785cb5f660a5d909ee212c35e5226a5fa4 | 1,302 | py | Python | src/compas_occ/geometry/curves/__init__.py | lottilotte/compas_occ | 0e6cd8fb90802995993fca82a65e26157bf193fd | [
"MIT"
] | null | null | null | src/compas_occ/geometry/curves/__init__.py | lottilotte/compas_occ | 0e6cd8fb90802995993fca82a65e26157bf193fd | [
"MIT"
] | null | null | null | src/compas_occ/geometry/curves/__init__.py | lottilotte/compas_occ | 0e6cd8fb90802995993fca82a65e26157bf193fd | [
"MIT"
] | null | null | null | from .nurbs import OCCNurbsCurve
try:
from compas.geometry import NurbsCurve
except ImportError:
pass
else:
from compas.plugins import plugin
@plugin(category='factories', requires=['compas_occ'])
def new_nurbscurve(cls, *args, **kwargs):
# for _, value in inspect.getmembers(OCCNurbsCurve)... | 38.294118 | 90 | 0.691244 | 137 | 1,302 | 6.343066 | 0.328467 | 0.103567 | 0.132336 | 0.178366 | 0.533947 | 0.457998 | 0.375144 | 0.375144 | 0.375144 | 0.310702 | 0 | 0 | 0.180492 | 1,302 | 33 | 91 | 39.454545 | 0.814433 | 0.165899 | 0 | 0.227273 | 0 | 0 | 0.087882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0.045455 | 0.181818 | 0.227273 | 0.636364 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
910f839332d16c3c4978656718541c320899c1c7 | 22,938 | bzl | Python | third_party/repositories/scala_2_11.bzl | wiwa/rules_scala | 3dd5d8110d56cfc19722532866cbfc039a6a9612 | [
"Apache-2.0"
] | null | null | null | third_party/repositories/scala_2_11.bzl | wiwa/rules_scala | 3dd5d8110d56cfc19722532866cbfc039a6a9612 | [
"Apache-2.0"
] | null | null | null | third_party/repositories/scala_2_11.bzl | wiwa/rules_scala | 3dd5d8110d56cfc19722532866cbfc039a6a9612 | [
"Apache-2.0"
] | null | null | null | artifacts = {
"io_bazel_rules_scala_scala_library": {
"artifact": "org.scala-lang:scala-library:2.11.12",
"sha256": "0b3d6fd42958ee98715ba2ec5fe221f4ca1e694d7c981b0ae0cd68e97baf6dce",
},
"io_bazel_rules_scala_scala_compiler": {
"artifact": "org.scala-lang:scala-compiler:2.11.12",
... | 44.888454 | 85 | 0.687375 | 1,969 | 22,938 | 7.645505 | 0.131031 | 0.02976 | 0.051016 | 0.072273 | 0.346154 | 0.219012 | 0.152318 | 0.137837 | 0.103693 | 0.082769 | 0 | 0.25661 | 0.18877 | 22,938 | 510 | 86 | 44.976471 | 0.552397 | 0.000392 | 0 | 0.194882 | 0 | 0.003937 | 0.716884 | 0.640686 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.005906 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
911039f1b6fa87987ed1926db40c9eecf549491c | 355 | py | Python | src/modules/__init__.py | ljgago/matebot | 9540912b3a8159cfdabd362044f277ec57cb6aaa | [
"MIT"
] | 6 | 2020-12-04T21:01:20.000Z | 2022-02-15T22:03:11.000Z | src/modules/__init__.py | ljgago/matebot | 9540912b3a8159cfdabd362044f277ec57cb6aaa | [
"MIT"
] | 5 | 2021-03-05T01:41:21.000Z | 2021-04-20T19:22:47.000Z | src/modules/__init__.py | ljgago/matebot | 9540912b3a8159cfdabd362044f277ec57cb6aaa | [
"MIT"
] | 4 | 2020-12-04T16:13:34.000Z | 2021-01-25T00:23:18.000Z | # -*- coding: utf-8 -*-
from .help import Help
from .welcome import Welcome
from .faq import FAQ
from .events import Events
from .scheduler import Scheduler
from .polls import Polls
from .search import Search
from .newMembers import NewMembers
from .info import Info
from .mentorships import Mentorship
# from .mentionN... | 25.357143 | 50 | 0.797183 | 47 | 355 | 6.021277 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003289 | 0.143662 | 355 | 13 | 51 | 27.307692 | 0.927632 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
911e0aca4da1197da593c4874b8d3f08e745e271 | 189 | py | Python | note_server/note/urls.py | tokibito/note-app-django-vue-javascript | 62ae8a761a2d44107d6cc1d10575c2e8099312ae | [
"MIT"
] | 33 | 2018-03-17T08:06:29.000Z | 2020-03-17T02:41:35.000Z | note_server/note/urls.py | tokibito/note-app-django-vue-javascript | 62ae8a761a2d44107d6cc1d10575c2e8099312ae | [
"MIT"
] | null | null | null | note_server/note/urls.py | tokibito/note-app-django-vue-javascript | 62ae8a761a2d44107d6cc1d10575c2e8099312ae | [
"MIT"
] | 1 | 2019-06-12T01:20:56.000Z | 2019-06-12T01:20:56.000Z | from rest_framework.routers import DefaultRouter
from .views import PageViewSet
router = DefaultRouter()
router.register(r'page', PageViewSet, base_name='page')
urlpatterns = router.urls
| 23.625 | 55 | 0.809524 | 23 | 189 | 6.565217 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100529 | 189 | 7 | 56 | 27 | 0.888235 | 0 | 0 | 0 | 0 | 0 | 0.042328 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
912550fbf7c0ed30991f5583bdd234d955b63182 | 104 | py | Python | nptimelapse/extensions.py | olus2000/nptimelapse | 8623a55310b30921a76d1c071df0636869a2a806 | [
"MIT"
] | 1 | 2021-09-22T11:57:17.000Z | 2021-09-22T11:57:17.000Z | nptimelapse/extensions.py | olus2000/nptimelapse | 8623a55310b30921a76d1c071df0636869a2a806 | [
"MIT"
] | 2 | 2021-12-23T09:30:14.000Z | 2021-12-28T09:42:34.000Z | nptimelapse/extensions.py | olus2000/nptimelapse | 8623a55310b30921a76d1c071df0636869a2a806 | [
"MIT"
] | 1 | 2021-12-20T16:24:54.000Z | 2021-12-20T16:24:54.000Z | from flask_sqlalchemy import SQLAlchemy
from celery import Celery
db = SQLAlchemy()
celery = Celery()
| 14.857143 | 39 | 0.788462 | 13 | 104 | 6.230769 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 104 | 6 | 40 | 17.333333 | 0.920455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
91490cdce355de5623a2281046322a46c761620a | 199 | py | Python | tests/unit_tests/utils/test_handlers/__init__.py | openjusticebaltimore/ResponseBot | e224fe5251190f2f4a8901afbd622c411601e86e | [
"Apache-2.0"
] | 16 | 2016-05-11T00:04:18.000Z | 2020-07-21T20:32:11.000Z | tests/unit_tests/utils/test_handlers/__init__.py | openjusticebaltimore/ResponseBot | e224fe5251190f2f4a8901afbd622c411601e86e | [
"Apache-2.0"
] | 6 | 2016-05-10T03:34:17.000Z | 2016-06-14T02:42:45.000Z | tests/unit_tests/utils/test_handlers/__init__.py | openjusticebaltimore/ResponseBot | e224fe5251190f2f4a8901afbd622c411601e86e | [
"Apache-2.0"
] | 6 | 2016-05-09T20:17:43.000Z | 2020-08-15T04:43:45.000Z | from responsebot.handlers import BaseTweetHandler, register_handler
@register_handler
class HandlerClassInInit(BaseTweetHandler):
def on_tweet(self, tweet):
print('HandlerClassInInit')
| 24.875 | 67 | 0.798995 | 19 | 199 | 8.210526 | 0.736842 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130653 | 199 | 7 | 68 | 28.428571 | 0.901734 | 0 | 0 | 0 | 0 | 0 | 0.090452 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0.2 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
e67d231afb870f1f084df8ebe882acd8b7ebbc6d | 3,260 | py | Python | tf2tags/migrations/0004_auto_20180119_2102.py | DrDos0016/tf2tags | ce539a8e0dfc56d37f4efd31a0b4924f7e6e9983 | [
"MIT"
] | 11 | 2018-01-31T08:09:37.000Z | 2020-04-26T08:52:43.000Z | tf2tags/migrations/0004_auto_20180119_2102.py | DrDos0016/tf2tags | ce539a8e0dfc56d37f4efd31a0b4924f7e6e9983 | [
"MIT"
] | null | null | null | tf2tags/migrations/0004_auto_20180119_2102.py | DrDos0016/tf2tags | ce539a8e0dfc56d37f4efd31a0b4924f7e6e9983 | [
"MIT"
] | 2 | 2020-09-02T14:37:52.000Z | 2021-03-09T17:03:18.000Z | # Generated by Django 2.0.1 on 2018-01-19 21:02
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('tf2tags', '0003_auto_20160802_0059'),
]
operations = [
migrations.RemoveField(
model_name='user... | 32.277228 | 136 | 0.55184 | 299 | 3,260 | 5.866221 | 0.284281 | 0.09236 | 0.199544 | 0.231471 | 0.63683 | 0.606043 | 0.403079 | 0.315279 | 0.315279 | 0.140251 | 0 | 0.025815 | 0.322699 | 3,260 | 100 | 137 | 32.6 | 0.768569 | 0.013804 | 0 | 0.617021 | 1 | 0 | 0.113601 | 0.007158 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.053191 | 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 |
e683864a1b4704f9c8763e03394da222d7e4c6cd | 234 | py | Python | classes/cloud/S3.py | includeamin/ffmpeg-cloud | f24453fe2369cbde047570f3cde93a0b47781d79 | [
"Apache-2.0"
] | 1 | 2020-05-19T13:50:45.000Z | 2020-05-19T13:50:45.000Z | classes/cloud/S3.py | includeamin/ffmpeg-cloud | f24453fe2369cbde047570f3cde93a0b47781d79 | [
"Apache-2.0"
] | null | null | null | classes/cloud/S3.py | includeamin/ffmpeg-cloud | f24453fe2369cbde047570f3cde93a0b47781d79 | [
"Apache-2.0"
] | null | null | null | from classes.cloud.BaseCloud import BaseCloud
class S3(BaseCloud):
def __init__(self):
pass
def upload(self, path: str, file_name: str):
pass
def download(self, file_name: str, path: str):
pass
| 18 | 50 | 0.636752 | 31 | 234 | 4.612903 | 0.548387 | 0.097902 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005848 | 0.269231 | 234 | 12 | 51 | 19.5 | 0.830409 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.375 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
e69787cad15ce9692d2aafc33114d792d4093f76 | 2,102 | py | Python | app/models.py | NderituMwanu/personal-blog-website | c0fb19bb008c1fc7142203799f272e4834781342 | [
"MIT"
] | null | null | null | app/models.py | NderituMwanu/personal-blog-website | c0fb19bb008c1fc7142203799f272e4834781342 | [
"MIT"
] | null | null | null | app/models.py | NderituMwanu/personal-blog-website | c0fb19bb008c1fc7142203799f272e4834781342 | [
"MIT"
] | null | null | null | from flask_login import UserMixin
from . import db
from werkzeug.security import generate_password_hash,check_password_hash
from datetime import datetime
class Subscribe:
__tablename__ = 'subscriptions'
blogname = db.Column(db.String(255))
class Quote:
def __init__(self,author,quote):
self... | 26.948718 | 96 | 0.683159 | 280 | 2,102 | 4.910714 | 0.275 | 0.093091 | 0.116364 | 0.093091 | 0.274182 | 0.154909 | 0.154909 | 0.072 | 0 | 0 | 0 | 0.012806 | 0.182683 | 2,102 | 78 | 97 | 26.948718 | 0.787544 | 0 | 0 | 0.134615 | 1 | 0.019231 | 0.122682 | 0.019971 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0.173077 | 0.076923 | 0.096154 | 0.884615 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
e6aef3ae686c2f2c9c168ae763787a91a6223e10 | 2,571 | py | Python | tests/parsers/test_voc_parsers.py | lee00286/icevision | e696481fc01bd1b9411bcb7ea1853d9e47bb4d04 | [
"Apache-2.0"
] | null | null | null | tests/parsers/test_voc_parsers.py | lee00286/icevision | e696481fc01bd1b9411bcb7ea1853d9e47bb4d04 | [
"Apache-2.0"
] | null | null | null | tests/parsers/test_voc_parsers.py | lee00286/icevision | e696481fc01bd1b9411bcb7ea1853d9e47bb4d04 | [
"Apache-2.0"
] | null | null | null | from icevision.all import *
def test_voc_annotation_parser(samples_source, voc_class_map):
annotation_parser = parsers.voc(
annotations_dir=samples_source / "voc/Annotations",
images_dir=samples_source / "voc/JPEGImages",
class_map=voc_class_map,
)
records = annotation_parser.parse... | 31.740741 | 88 | 0.637495 | 292 | 2,571 | 5.369863 | 0.243151 | 0.116071 | 0.132653 | 0.072704 | 0.804847 | 0.783163 | 0.711097 | 0.693878 | 0.693878 | 0.55102 | 0 | 0.06802 | 0.233761 | 2,571 | 80 | 89 | 32.1375 | 0.727919 | 0 | 0 | 0.567164 | 0 | 0 | 0.162194 | 0.080124 | 0 | 0 | 0 | 0 | 0.089552 | 1 | 0.044776 | false | 0 | 0.014925 | 0 | 0.059701 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 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 | 3 |
e6c11e93c300e462b3fc027a82967eef75c6b6cc | 91 | py | Python | Code/venv/src/Metadata/apps.py | WebMetadataRetrieval/15-Web_Metadata_Retrieval | 96a9c8869ccc5429c4de9e97d37705bbb9e19c5b | [
"Apache-2.0"
] | null | null | null | Code/venv/src/Metadata/apps.py | WebMetadataRetrieval/15-Web_Metadata_Retrieval | 96a9c8869ccc5429c4de9e97d37705bbb9e19c5b | [
"Apache-2.0"
] | 38 | 2021-04-01T18:09:31.000Z | 2021-05-08T17:27:03.000Z | Code/venv/src/Metadata/apps.py | WebMetadataRetrieval/15-Web_Metadata_Retrieval | 96a9c8869ccc5429c4de9e97d37705bbb9e19c5b | [
"Apache-2.0"
] | 3 | 2021-04-16T07:25:11.000Z | 2022-01-29T10:24:33.000Z | from django.apps import AppConfig
class MetadataConfig(AppConfig):
name = 'Metadata'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e6d5577badec9b3b208a5f47344825e2d8d9c956 | 373 | py | Python | tests/test.py | zhreshold/decord-distro | e531e606a76b6949d87707493ef9b9b0a6a5b676 | [
"MIT"
] | null | null | null | tests/test.py | zhreshold/decord-distro | e531e606a76b6949d87707493ef9b9b0a6a5b676 | [
"MIT"
] | 2 | 2020-04-28T07:56:25.000Z | 2020-10-01T20:39:36.000Z | tests/test.py | zhreshold/decord-distro | e531e606a76b6949d87707493ef9b9b0a6a5b676 | [
"MIT"
] | null | null | null | import unittest
import sys
class DecordTest(unittest.TestCase):
""" Simple functionality tests. """
def test_import(self):
""" Test that the cv2 module can be imported. """
import decord
def test_video_capture(self):
import decord as dc
cap = dc.VideoReader("SampleVideo_... | 21.941176 | 60 | 0.656836 | 45 | 373 | 5.333333 | 0.711111 | 0.058333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035587 | 0.246649 | 373 | 16 | 61 | 23.3125 | 0.818505 | 0.187668 | 0 | 0 | 0 | 0 | 0.096886 | 0.096886 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.222222 | false | 0 | 0.555556 | 0 | 0.888889 | 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 | 1 | 0 | 1 | 0 | 0 | 3 |
e6da3997507cf70d600304b6451e9ae23c5aeb9e | 277 | py | Python | output/models/nist_data/atomic/unsigned_byte/schema_instance/nistschema_sv_iv_atomic_unsigned_byte_pattern_1_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/nist_data/atomic/unsigned_byte/schema_instance/nistschema_sv_iv_atomic_unsigned_byte_pattern_1_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/nist_data/atomic/unsigned_byte/schema_instance/nistschema_sv_iv_atomic_unsigned_byte_pattern_1_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.nist_data.atomic.unsigned_byte.schema_instance.nistschema_sv_iv_atomic_unsigned_byte_pattern_1_xsd.nistschema_sv_iv_atomic_unsigned_byte_pattern_1 import NistschemaSvIvAtomicUnsignedBytePattern1
__all__ = [
"NistschemaSvIvAtomicUnsignedBytePattern1",
]
| 46.166667 | 213 | 0.902527 | 31 | 277 | 7.354839 | 0.612903 | 0.184211 | 0.236842 | 0.175439 | 0.350877 | 0.350877 | 0.350877 | 0.350877 | 0 | 0 | 0 | 0.015209 | 0.050542 | 277 | 5 | 214 | 55.4 | 0.851711 | 0 | 0 | 0 | 0 | 0 | 0.144404 | 0.144404 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 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 |
e6f17dc39a4d0da815a20a12fdb579f2e0de6351 | 118 | py | Python | web_scraping/ec2files/ec2file122.py | nikibhatt/Groa | fc2d4ae87cb825e6d54a0831c72be16541eebe61 | [
"MIT"
] | 1 | 2020-04-08T19:44:30.000Z | 2020-04-08T19:44:30.000Z | web_scraping/ec2files/ec2file122.py | cmgospod/Groa | 31b3624bfe61e772b55f8175b4e95d63c9e67966 | [
"MIT"
] | null | null | null | web_scraping/ec2files/ec2file122.py | cmgospod/Groa | 31b3624bfe61e772b55f8175b4e95d63c9e67966 | [
"MIT"
] | 1 | 2020-09-12T07:07:41.000Z | 2020-09-12T07:07:41.000Z | from scraper import *
s = Scraper(start=217404, end=219185, max_iter=30, scraper_instance=122)
s.scrape_letterboxd() | 39.333333 | 73 | 0.779661 | 18 | 118 | 4.944444 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160377 | 0.101695 | 118 | 3 | 74 | 39.333333 | 0.679245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e6f31829da6a0250fa1d861b0803a35547e94c81 | 156 | py | Python | src/Controllers/testRecommendation.py | quicksloth/source-code-recommendation-server | 2b2315d15146af0e362cda3a4f791df5a064d8c7 | [
"Apache-2.0"
] | 3 | 2019-01-24T22:07:49.000Z | 2021-03-19T04:17:16.000Z | src/Controllers/testRecommendation.py | quicksloth/source-code-recommendation-server | 2b2315d15146af0e362cda3a4f791df5a064d8c7 | [
"Apache-2.0"
] | 3 | 2017-08-27T18:01:07.000Z | 2017-09-16T13:46:20.000Z | src/Controllers/testRecommendation.py | quicksloth/source-code-recommendation-server | 2b2315d15146af0e362cda3a4f791df5a064d8c7 | [
"Apache-2.0"
] | null | null | null | from EvaluatorController import EvaluatorController
t = EvaluatorController(complex_network=None)
print(t.init_get_recommendation_code_with_mocked_data())
| 31.2 | 56 | 0.884615 | 18 | 156 | 7.277778 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 156 | 4 | 57 | 39 | 0.891156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e6f8a35776c6170403c587266f56594e96a0e3cd | 548 | py | Python | extras/mas_integrador_loco/creador_funciones.py | ivigilante/curso-python-itba | 57ce47a5202c3d4fe3783fea52f550cfec957331 | [
"MIT"
] | null | null | null | extras/mas_integrador_loco/creador_funciones.py | ivigilante/curso-python-itba | 57ce47a5202c3d4fe3783fea52f550cfec957331 | [
"MIT"
] | null | null | null | extras/mas_integrador_loco/creador_funciones.py | ivigilante/curso-python-itba | 57ce47a5202c3d4fe3783fea52f550cfec957331 | [
"MIT"
] | null | null | null | contador = 0
file = open("funciones_matematicas.py","w")
funcs = {}
def print_contador():
print(contador)
def aumentar_contador():
global contador
contador += 1
def crear_funcion():
ecuacion = input("Ingrese ecuacion: ")
def agregar_funcion():
f = open("funciones_matematicas.py","w")
ecuacion = input("Ingrese ... | 22.833333 | 43 | 0.664234 | 77 | 548 | 4.623377 | 0.402597 | 0.08427 | 0.202247 | 0.219101 | 0.233146 | 0.157303 | 0 | 0 | 0 | 0 | 0 | 0.006263 | 0.125912 | 548 | 24 | 44 | 22.833333 | 0.736952 | 0 | 0 | 0.272727 | 0 | 0 | 0.300546 | 0.131148 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0 | 0 | 0 | 0.227273 | 0.136364 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fc2ac70e03072c992c5cf985107fe4ac1b1f9bb9 | 117 | py | Python | agc/012/a/answer.py | TakuyaNoguchi/atcoder | d079402e6fe9c9aaf3a6fc9272331ee71fc497da | [
"MIT"
] | null | null | null | agc/012/a/answer.py | TakuyaNoguchi/atcoder | d079402e6fe9c9aaf3a6fc9272331ee71fc497da | [
"MIT"
] | null | null | null | agc/012/a/answer.py | TakuyaNoguchi/atcoder | d079402e6fe9c9aaf3a6fc9272331ee71fc497da | [
"MIT"
] | null | null | null | N = int(input())
a = sorted(map(int, input().split()), reverse=True)
print(sum([a[n] for n in range(1, N * 2, 2)]))
| 23.4 | 51 | 0.581197 | 23 | 117 | 2.956522 | 0.695652 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.153846 | 117 | 4 | 52 | 29.25 | 0.656566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 |
fc32dccc3dd354fc5943d68255ceb5f42f5aecf4 | 123 | py | Python | config/settings/test.py | farhanmasud/django-tailwind-starter-template | ad7324b8807b523e6e8b93026a7622e14a779abb | [
"MIT"
] | 2 | 2020-03-11T17:16:29.000Z | 2020-03-12T02:06:43.000Z | config/settings/test.py | farhanmasud/django-tailwind-starter-template | ad7324b8807b523e6e8b93026a7622e14a779abb | [
"MIT"
] | 4 | 2021-03-19T01:06:29.000Z | 2021-09-22T18:49:49.000Z | config/settings/test.py | farhanmasud/django-tailwind-starter-template | ad7324b8807b523e6e8b93026a7622e14a779abb | [
"MIT"
] | null | null | null | from .base import *
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = ["*"]
| 17.571429 | 65 | 0.707317 | 18 | 123 | 4.777778 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186992 | 123 | 6 | 66 | 20.5 | 0.86 | 0.512195 | 0 | 0 | 0 | 0 | 0.017241 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fc4fdfce77c0f8a50cda697d91bdda382b77deba | 75 | py | Python | management/pycom_functions/in_every_program/measure_loop.py | AaltoIIC/OSEMA | 38740e3dcfeb72a6d87e25190e6a73f6c60b199b | [
"MIT"
] | 2 | 2021-04-03T13:19:32.000Z | 2022-01-03T00:38:55.000Z | management/pycom_functions/in_every_program/measure_loop.py | AaltoIIC/OSEMA | 38740e3dcfeb72a6d87e25190e6a73f6c60b199b | [
"MIT"
] | null | null | null | management/pycom_functions/in_every_program/measure_loop.py | AaltoIIC/OSEMA | 38740e3dcfeb72a6d87e25190e6a73f6c60b199b | [
"MIT"
] | null | null | null | def measure_loop(i2c):
print("Start measurement")
m = Measure(i2c)
| 18.75 | 30 | 0.666667 | 10 | 75 | 4.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.2 | 75 | 3 | 31 | 25 | 0.783333 | 0 | 0 | 0 | 0 | 0 | 0.226667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fc6fac5dd0dfba23b9ce2ac84f655682a4330cd8 | 685 | py | Python | examples/duplo/paths.py | dgerod/behavior_tree_learning | 71da80c91ecd48fd5da377f83604b62112ba9629 | [
"Apache-2.0"
] | 7 | 2022-02-09T12:51:51.000Z | 2022-03-19T14:40:16.000Z | examples/duplo/paths.py | dgerod/behavior_tree_learning | 71da80c91ecd48fd5da377f83604b62112ba9629 | [
"Apache-2.0"
] | 2 | 2022-02-03T10:54:41.000Z | 2022-02-15T10:32:03.000Z | examples/duplo/paths.py | dgerod/behavior_tree_learning | 71da80c91ecd48fd5da377f83604b62112ba9629 | [
"Apache-2.0"
] | null | null | null | import os
import sys
_this_file_path = os.path.abspath(__file__)
_PACKAGE_DIRECTORY = os.path.dirname(os.path.dirname(os.path.dirname(_this_file_path)))
_EXAMPLES_DIRECTORY = os.path.dirname(os.path.dirname(_this_file_path))
_CURRENT_EXAMPLE_DIRECTORY = os.path.dirname(_this_file_path)
def add_modules_to_path():
... | 26.346154 | 87 | 0.79854 | 98 | 685 | 5.122449 | 0.265306 | 0.131474 | 0.155378 | 0.131474 | 0.561753 | 0.561753 | 0.404382 | 0.342629 | 0.151394 | 0 | 0 | 0 | 0.093431 | 685 | 25 | 88 | 27.4 | 0.808374 | 0 | 0 | 0 | 0 | 0 | 0.016058 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.133333 | 0.2 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
fc7bb7dc0fa84e8ab9ca3d0fc0ab32a0f401a8a2 | 87 | py | Python | apps/shortener/services/__init__.py | ShAlireza/Yektanet | 9e638395b85346b7536cf422c514ae7762faa9b4 | [
"MIT"
] | null | null | null | apps/shortener/services/__init__.py | ShAlireza/Yektanet | 9e638395b85346b7536cf422c514ae7762faa9b4 | [
"MIT"
] | null | null | null | apps/shortener/services/__init__.py | ShAlireza/Yektanet | 9e638395b85346b7536cf422c514ae7762faa9b4 | [
"MIT"
] | null | null | null | from .short_url_service import ShortenedURLService
__all__ = ('ShortenedURLService',)
| 21.75 | 50 | 0.827586 | 8 | 87 | 8.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 87 | 3 | 51 | 29 | 0.835443 | 0 | 0 | 0 | 0 | 0 | 0.218391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fc85ce2a147eac19d64df138386351c2106bd558 | 12,149 | py | Python | usaspending_api/accounts/migrations/0001_initial.py | g4brielvs/usaspending-api | bae7da2c204937ec1cdf75c052405b13145728d5 | [
"CC0-1.0"
] | 217 | 2016-11-03T17:09:53.000Z | 2022-03-10T04:17:54.000Z | usaspending_api/accounts/migrations/0001_initial.py | g4brielvs/usaspending-api | bae7da2c204937ec1cdf75c052405b13145728d5 | [
"CC0-1.0"
] | 622 | 2016-09-02T19:18:23.000Z | 2022-03-29T17:11:01.000Z | usaspending_api/accounts/migrations/0001_initial.py | g4brielvs/usaspending-api | bae7da2c204937ec1cdf75c052405b13145728d5 | [
"CC0-1.0"
] | 93 | 2016-09-07T20:28:57.000Z | 2022-02-25T00:25:27.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2017-10-11 16:17
from __future__ import unicode_literals
import django.db.models.deletion
from django.db import migrations, models
from usaspending_api.common.helpers.generic_helper import FY_PG_FUNCTION_DEF
class Migration(migrations.Migration):
initial ... | 70.225434 | 240 | 0.656844 | 1,292 | 12,149 | 5.878483 | 0.151703 | 0.058986 | 0.05688 | 0.064911 | 0.79605 | 0.766162 | 0.739171 | 0.691639 | 0.612245 | 0.589072 | 0 | 0.011471 | 0.217878 | 12,149 | 172 | 241 | 70.633721 | 0.787834 | 0.005597 | 0 | 0.533742 | 1 | 0 | 0.291605 | 0.190263 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02454 | 0 | 0.04908 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 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 |
fc9dc3621394219b868a359293cec16d7b2cf071 | 278 | py | Python | hash_dict/__init__.py | Cologler/hash-dict-python | bf483cb2365ae9545c207830e6b726b6712c5de1 | [
"MIT"
] | null | null | null | hash_dict/__init__.py | Cologler/hash-dict-python | bf483cb2365ae9545c207830e6b726b6712c5de1 | [
"MIT"
] | null | null | null | hash_dict/__init__.py | Cologler/hash-dict-python | bf483cb2365ae9545c207830e6b726b6712c5de1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright (c) 2019~2999 - Cologler <skyoflw@gmail.com>
# ----------
#
# ----------
from .hash_dict import HashDict
from .hash_set import HashSet
from .comparer import (
IEqualityComparer,
ObjectComparer, AnyComparer,
StringComparers,
)
| 17.375 | 56 | 0.640288 | 28 | 278 | 6.285714 | 0.821429 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039301 | 0.176259 | 278 | 15 | 57 | 18.533333 | 0.729258 | 0.352518 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5d95f58ecb354c99d577464809c6a84b8fbb5592 | 251 | py | Python | Projetos Python/pythonexercicios/des008.py | Moyses-Nunes/Projetos-Python | 71ae170fb0d7be6afea18608bca630b57b9f0dff | [
"MIT"
] | null | null | null | Projetos Python/pythonexercicios/des008.py | Moyses-Nunes/Projetos-Python | 71ae170fb0d7be6afea18608bca630b57b9f0dff | [
"MIT"
] | null | null | null | Projetos Python/pythonexercicios/des008.py | Moyses-Nunes/Projetos-Python | 71ae170fb0d7be6afea18608bca630b57b9f0dff | [
"MIT"
] | null | null | null | largura = float(input('Digite a largura da parede:'))
altura = float(input('Digite a altura da parede:'))
area = altura * largura
qntd = area / 2
print('A área da parede é:{} m^2'.format(area))
print('São necessários {} litros de tinta'.format(qntd))
| 35.857143 | 56 | 0.697211 | 40 | 251 | 4.375 | 0.525 | 0.137143 | 0.182857 | 0.194286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009302 | 0.143426 | 251 | 6 | 57 | 41.833333 | 0.804651 | 0 | 0 | 0 | 0 | 0 | 0.446215 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.