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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ba758c4b456d956775cd0c254ff4fd8ed71d3cf1 | 326 | py | Python | iris/router/iris_classifier_router.py | hans-kson/iris | 18d90e104e801ae3973d88786d68f49125a4d27b | [
"MIT"
] | null | null | null | iris/router/iris_classifier_router.py | hans-kson/iris | 18d90e104e801ae3973d88786d68f49125a4d27b | [
"MIT"
] | null | null | null | iris/router/iris_classifier_router.py | hans-kson/iris | 18d90e104e801ae3973d88786d68f49125a4d27b | [
"MIT"
] | null | null | null | from fastapi import APIRouter
from iris.iris_classifier import IrisClassifier
from starlette.responses import JSONResponse
router = APIRouter()
@router.post('/classify_iris')
def classify_iris(iris_features: dict):
iris_classifier = IrisClassifier()
return JSONResponse(iris_classifier.classify_iris(iris_feat... | 29.636364 | 69 | 0.822086 | 38 | 326 | 6.842105 | 0.447368 | 0.092308 | 0.123077 | 0.184615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104294 | 326 | 11 | 69 | 29.636364 | 0.890411 | 0 | 0 | 0 | 0 | 0 | 0.042813 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
ba7e78d9c72d0d65bacb3c2ef1c794dd1ea2db49 | 193 | py | Python | machina/apps/forum_member/app.py | tim-schilling/django-machina | c48d31b2313b59d810771ee53909d941e7475679 | [
"BSD-3-Clause"
] | null | null | null | machina/apps/forum_member/app.py | tim-schilling/django-machina | c48d31b2313b59d810771ee53909d941e7475679 | [
"BSD-3-Clause"
] | null | null | null | machina/apps/forum_member/app.py | tim-schilling/django-machina | c48d31b2313b59d810771ee53909d941e7475679 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from machina.core.app import Application
class MemberApp(Application):
name = 'forum_member'
application = MemberApp()
| 14.846154 | 40 | 0.735751 | 22 | 193 | 6.181818 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006173 | 0.160622 | 193 | 12 | 41 | 16.083333 | 0.833333 | 0.108808 | 0 | 0 | 0 | 0 | 0.070588 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
bad135c89c3c37ddf8348f14380496d6da84075e | 257 | py | Python | ratin_cpython/topography/__init__.py | openearth/eo-rivers | 752f90aed92fa862a2c107bb58bcae298c1bf313 | [
"MIT"
] | 2 | 2018-10-19T03:20:08.000Z | 2020-05-06T22:56:20.000Z | ratin_cpython/topography/__init__.py | openearth/eo-river | 752f90aed92fa862a2c107bb58bcae298c1bf313 | [
"MIT"
] | 11 | 2018-06-05T09:41:15.000Z | 2021-11-15T17:47:27.000Z | ratin_cpython/topography/__init__.py | openearth/eo-rivers | 752f90aed92fa862a2c107bb58bcae298c1bf313 | [
"MIT"
] | 2 | 2020-10-15T12:29:36.000Z | 2021-12-13T22:53:58.000Z | from virtualearth import VirtualEarth
try:
from srtm import srtm
except ImportError:
print 'SRTM loading failed'
try:
import gdal_merge #?gdal_merge is in the folder - no chance of ImportError
except ImportError:
print 'GDAL not installed' | 25.7 | 79 | 0.758755 | 35 | 257 | 5.514286 | 0.6 | 0.176166 | 0.227979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198444 | 257 | 10 | 80 | 25.7 | 0.936893 | 0.214008 | 0 | 0.444444 | 0 | 0 | 0.183168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.555556 | null | null | 0.222222 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
2409ea3493c5d1d11d72469f5bf5f6dc01173a5f | 13,062 | py | Python | mayan/apps/document_states/tests/mixins/workflow_template_mixins.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 336 | 2019-05-09T07:05:19.000Z | 2022-03-25T09:50:22.000Z | mayan/apps/document_states/tests/mixins/workflow_template_mixins.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 86 | 2021-09-01T23:53:02.000Z | 2021-09-20T02:25:10.000Z | mayan/apps/document_states/tests/mixins/workflow_template_mixins.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 257 | 2019-05-14T10:26:37.000Z | 2022-03-30T03:37:36.000Z | from django.db.models import Q
from ...models import (
Workflow, WorkflowRuntimeProxy, WorkflowStateRuntimeProxy
)
from ...tasks import (
task_launch_all_workflows, task_launch_all_workflow_for,
task_launch_workflow, task_launch_workflow_for
)
from ..literals import (
TEST_WORKFLOW_INSTANCE_LOG_ENTRY_... | 35.112903 | 96 | 0.654571 | 1,353 | 13,062 | 5.82779 | 0.083518 | 0.26988 | 0.2435 | 0.152188 | 0.82194 | 0.655802 | 0.58922 | 0.522257 | 0.484845 | 0.43513 | 0 | 0.000315 | 0.271245 | 13,062 | 371 | 97 | 35.207547 | 0.828028 | 0 | 0 | 0.343949 | 0 | 0 | 0.123029 | 0.071275 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105096 | false | 0 | 0.012739 | 0.066879 | 0.216561 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 0 | 0 | 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 |
241ac89b98c17195c4c90206d2f8680ce5516f6a | 100 | py | Python | Codechef/Practice/FLOW017.py | IdealisticINTJ/General-competitive-programming-resources | ad76cbf99dfa9e0e0a87a4490d2cffaeb24baf53 | [
"MIT"
] | 1 | 2021-06-04T19:42:13.000Z | 2021-06-04T19:42:13.000Z | Codechef/Practice/FLOW017.py | IdealisticINTJ/General-competitive-programming-resources | ad76cbf99dfa9e0e0a87a4490d2cffaeb24baf53 | [
"MIT"
] | null | null | null | Codechef/Practice/FLOW017.py | IdealisticINTJ/General-competitive-programming-resources | ad76cbf99dfa9e0e0a87a4490d2cffaeb24baf53 | [
"MIT"
] | null | null | null | for i in range(int(input())):
x = list(map(int, input().split()))
x.sort()
print(x[-2])
| 20 | 39 | 0.52 | 17 | 100 | 3.058824 | 0.764706 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.22 | 100 | 4 | 40 | 25 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 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 |
242df2b70d03a15a9d68940ebdfc61c402213fb4 | 843 | py | Python | books_management/all_books.py | muondu/libraryManagementSystem | dd0a74fe775913795d562d7f1d54642a03468bbb | [
"MIT"
] | 1 | 2020-09-26T08:50:42.000Z | 2020-09-26T08:50:42.000Z | books_management/all_books.py | muondu/libraryManagementSystem | dd0a74fe775913795d562d7f1d54642a03468bbb | [
"MIT"
] | 1 | 2020-09-26T12:36:53.000Z | 2020-09-26T12:36:53.000Z | books_management/all_books.py | muondu/libraryManagementSystem | dd0a74fe775913795d562d7f1d54642a03468bbb | [
"MIT"
] | 2 | 2020-09-26T08:50:49.000Z | 2020-09-26T08:50:59.000Z | import sqlite3
conn = sqlite3.connect('all_books.db')
c = conn.cursor()
c.execute('CREATE TABLE IF NOT EXISTS comics (name TEXT)')
c.execute('CREATE TABLE IF NOT EXISTS math (name TEXT)')
c.execute('CREATE TABLE IF NOT EXISTS gaming (name TEXT)')
c.execute('INSERT INTO comics VALUES("Tintin")')
c.execute('INSERT IN... | 31.222222 | 77 | 0.723606 | 128 | 843 | 4.757813 | 0.351563 | 0.183908 | 0.183908 | 0.236453 | 0.574713 | 0.561576 | 0.174056 | 0.124795 | 0.124795 | 0 | 0 | 0.006748 | 0.120996 | 843 | 27 | 78 | 31.222222 | 0.815115 | 0.141163 | 0 | 0 | 0 | 0 | 0.684722 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
244051a18499b610e588cb67c644c624d6212166 | 695 | py | Python | ce_expansion/utility/debug_check_datatypes.py | loevlie/ce_expansion | 17417b9467914dd91ee8e0325cfdc3bd19ad7f1e | [
"MIT"
] | 1 | 2020-11-04T08:01:22.000Z | 2020-11-04T08:01:22.000Z | ce_expansion/utility/debug_check_datatypes.py | loevlie/ce_expansion | 17417b9467914dd91ee8e0325cfdc3bd19ad7f1e | [
"MIT"
] | 2 | 2021-04-19T23:45:54.000Z | 2022-02-21T17:40:41.000Z | ce_expansion/utility/debug_check_datatypes.py | loevlie/ce_expansion | 17417b9467914dd91ee8e0325cfdc3bd19ad7f1e | [
"MIT"
] | 3 | 2021-05-10T14:25:28.000Z | 2022-02-18T01:09:05.000Z | # Use in conjunction with check_datatypes.exe; prints out the datatypes that ctypes is using
import ctypes
def print_types():
print("The size of a short is: " + str(ctypes.sizeof(ctypes.c_short)))
print("The size of an integer is: " + str(ctypes.sizeof(ctypes.c_int)))
print("The size of a long integer i... | 53.461538 | 92 | 0.694964 | 115 | 695 | 4.121739 | 0.286957 | 0.118143 | 0.177215 | 0.206751 | 0.647679 | 0.552743 | 0.339662 | 0.147679 | 0 | 0 | 0 | 0 | 0.17554 | 695 | 12 | 93 | 57.916667 | 0.827225 | 0.129496 | 0 | 0 | 0 | 0 | 0.3267 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.111111 | 0 | 0.222222 | 0.888889 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
2441d93b9565c464a73a398997b0c0c42f77aadf | 2,066 | py | Python | release_watcher/sources/source_manager.py | ExternalRepositories/release-watcher | b282d63d9887f16ab509a2223e3807c0a0b402ee | [
"MIT"
] | null | null | null | release_watcher/sources/source_manager.py | ExternalRepositories/release-watcher | b282d63d9887f16ab509a2223e3807c0a0b402ee | [
"MIT"
] | null | null | null | release_watcher/sources/source_manager.py | ExternalRepositories/release-watcher | b282d63d9887f16ab509a2223e3807c0a0b402ee | [
"MIT"
] | 1 | 2021-02-27T23:32:09.000Z | 2021-02-27T23:32:09.000Z | import logging
import abc
from typing import Dict, Sequence
from release_watcher.base_models import SourceConfig
from release_watcher.config_models import CommonConfig
from release_watcher.watchers.watcher_manager import WatcherConfig
logger = logging.getLogger(__name__)
SOURCE_TYPES = {}
class Source(metaclass=abc... | 28.694444 | 74 | 0.696031 | 253 | 2,066 | 5.478261 | 0.335968 | 0.05772 | 0.069264 | 0.060606 | 0.066378 | 0.066378 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220716 | 2,066 | 71 | 75 | 29.098592 | 0.86087 | 0.217328 | 0 | 0.153846 | 0 | 0 | 0.040385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.205128 | false | 0.076923 | 0.153846 | 0.025641 | 0.538462 | 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 |
24478098160f7d91897fbc637b426262132de029 | 8,510 | py | Python | morango/utils/backends/sqlite.py | ralphiee22/morango | ebe443d35b966919a30a20812c25194cf32ca7cf | [
"MIT"
] | null | null | null | morango/utils/backends/sqlite.py | ralphiee22/morango | ebe443d35b966919a30a20812c25194cf32ca7cf | [
"MIT"
] | 6 | 2020-05-13T07:50:37.000Z | 2020-06-04T18:23:03.000Z | morango/utils/backends/sqlite.py | ralphiee22/morango | ebe443d35b966919a30a20812c25194cf32ca7cf | [
"MIT"
] | null | null | null | from morango.utils.backends.base import BaseSQLWrapper
from morango.models import (Buffer, RecordMaxCounter, RecordMaxCounterBuffer,
Store)
class SQLWrapper(BaseSQLWrapper):
backend = 'sqlite'
def _dequeuing_merge_conflict_rmcb(self, cursor, transfersession_id):
# transfer... | 79.53271 | 159 | 0.485781 | 726 | 8,510 | 5.37741 | 0.12259 | 0.080686 | 0.091445 | 0.05123 | 0.727459 | 0.703637 | 0.685195 | 0.63499 | 0.607838 | 0.607838 | 0 | 0.004327 | 0.456874 | 8,510 | 106 | 160 | 80.283019 | 0.840329 | 0.030435 | 0 | 0.543478 | 0 | 0.032609 | 0.641116 | 0.098848 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054348 | false | 0 | 0.021739 | 0 | 0.097826 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
244e5d32597bd164425289e77b0041805fe24a38 | 192 | py | Python | docs/source/examples/FB2.0/delete_file_system_snapshots.py | Flav-STOR-WL/py-pure-client | 03b889c997d90380ac5d6380ca5d5432792d3e89 | [
"BSD-2-Clause"
] | 14 | 2018-12-07T18:30:27.000Z | 2022-02-22T09:12:33.000Z | docs/source/examples/FB2.0/delete_file_system_snapshots.py | Flav-STOR-WL/py-pure-client | 03b889c997d90380ac5d6380ca5d5432792d3e89 | [
"BSD-2-Clause"
] | 28 | 2019-09-17T21:03:52.000Z | 2022-03-29T22:07:35.000Z | docs/source/examples/FB2.0/delete_file_system_snapshots.py | Flav-STOR-WL/py-pure-client | 03b889c997d90380ac5d6380ca5d5432792d3e89 | [
"BSD-2-Clause"
] | 15 | 2020-06-11T15:50:08.000Z | 2022-03-21T09:27:25.000Z | # eradicate a destroyed file system snapshot named myfs.mysnap
client.delete_file_system_snapshots(names=["myfs.mysnap"])
# Other valid fields: ids
# See section "Common Fields" for examples
| 32 | 62 | 0.796875 | 27 | 192 | 5.555556 | 0.814815 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119792 | 192 | 5 | 63 | 38.4 | 0.887574 | 0.651042 | 0 | 0 | 0 | 0 | 0.174603 | 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 |
79e2707b6207cdafa9d226b469aed98e57e11ca7 | 170 | py | Python | run.py | malanjary-wur/cagecat | b995735c426c4f7c2f503a247a6ffbf16c425c99 | [
"MIT"
] | null | null | null | run.py | malanjary-wur/cagecat | b995735c426c4f7c2f503a247a6ffbf16c425c99 | [
"MIT"
] | null | null | null | run.py | malanjary-wur/cagecat | b995735c426c4f7c2f503a247a6ffbf16c425c99 | [
"MIT"
] | null | null | null | """Runs the CAGECAT web service
Author: Matthias van den Belt
"""
# own project imports
from cagecat import app
### main code
if __name__ == "__main__":
app.run()
| 14.166667 | 31 | 0.688235 | 24 | 170 | 4.541667 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 170 | 11 | 32 | 15.454545 | 0.801471 | 0.529412 | 0 | 0 | 0 | 0 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
79e55e9066c189b1f9312cbd0977e0e8c92b046d | 541 | py | Python | wrappers/odd.py | twhyntie/task-data-management | a3999886d79fcec18ed8173638bf8229a961189c | [
"MIT"
] | null | null | null | wrappers/odd.py | twhyntie/task-data-management | a3999886d79fcec18ed8173638bf8229a961189c | [
"MIT"
] | null | null | null | wrappers/odd.py | twhyntie/task-data-management | a3999886d79fcec18ed8173638bf8229a961189c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#...for the logging.
import logging as lg
# The CSV file wrapper class.
from csvfile import CSVFile
class ODD(CSVFile):
"""
Wrapper class for the oddity information CSV file format.
"""
def __init__(self, path):
""" Constructor. """
super(... | 21.64 | 61 | 0.609982 | 68 | 541 | 4.602941 | 0.602941 | 0.057508 | 0.070288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002525 | 0.268022 | 541 | 24 | 62 | 22.541667 | 0.787879 | 0.390018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.75 | 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 |
0300847923582421da826aab2c40f33b1c944e7a | 1,714 | py | Python | var/spack/repos/builtin/packages/opus/package.py | HaochengLIU/spack | 26e51ff1705a4d6234e2a0cf734f93f7f95df5cb | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 2 | 2018-11-27T03:39:44.000Z | 2021-09-06T15:50:35.000Z | var/spack/repos/builtin/packages/opus/package.py | HaochengLIU/spack | 26e51ff1705a4d6234e2a0cf734f93f7f95df5cb | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 1 | 2019-01-11T20:11:52.000Z | 2019-01-11T20:11:52.000Z | var/spack/repos/builtin/packages/opus/package.py | HaochengLIU/spack | 26e51ff1705a4d6234e2a0cf734f93f7f95df5cb | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 1 | 2020-10-14T14:20:17.000Z | 2020-10-14T14:20:17.000Z | # Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class Opus(AutotoolsPackage):
"""Opus is a totally open, royalty-free, highly versatile audio co... | 46.324324 | 77 | 0.687865 | 166 | 1,714 | 7.096386 | 0.518072 | 0.074703 | 0.084041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.345801 | 0.173279 | 1,714 | 36 | 78 | 47.611111 | 0.485533 | 0.149942 | 0 | 0 | 0 | 0.04 | 0.571823 | 0.441989 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.16 | 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 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
03015940137c09f74dcd91861cf96847bce71bd9 | 195 | py | Python | proso_tasks/json_enrich.py | adaptive-learning/proso-apps | 58c95ebb4da1207de8972237c383489575ce2a20 | [
"MIT"
] | 2 | 2015-11-14T15:02:57.000Z | 2017-04-26T10:42:20.000Z | proso_tasks/json_enrich.py | adaptive-learning/proso-apps | 58c95ebb4da1207de8972237c383489575ce2a20 | [
"MIT"
] | 175 | 2015-01-19T19:02:10.000Z | 2022-03-11T23:17:08.000Z | proso_tasks/json_enrich.py | adaptive-learning/proso-apps | 58c95ebb4da1207de8972237c383489575ce2a20 | [
"MIT"
] | 11 | 2016-03-02T19:49:08.000Z | 2020-06-22T10:01:12.000Z | def answer_type(request, json_list, nested):
for question in json_list:
if question['payload']['object_type'] == 'task_instance':
question['answer_class'] = 'task_answer'
| 39 | 65 | 0.666667 | 24 | 195 | 5.125 | 0.666667 | 0.130081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 195 | 4 | 66 | 48.75 | 0.788462 | 0 | 0 | 0 | 0 | 0 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 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 |
030f25841109e66f853f35d14a39d2304fbd2739 | 190 | py | Python | planguru/core/apps.py | sachiv/planguru | f4697a7d94ee19d59e4b770a08d191d9a062ae76 | [
"MIT"
] | null | null | null | planguru/core/apps.py | sachiv/planguru | f4697a7d94ee19d59e4b770a08d191d9a062ae76 | [
"MIT"
] | null | null | null | planguru/core/apps.py | sachiv/planguru | f4697a7d94ee19d59e4b770a08d191d9a062ae76 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CoreConfig(AppConfig):
name = 'planguru.core'
verbose_name = "Core"
def ready(self):
import planguru.core.signals
pass
| 17.272727 | 36 | 0.663158 | 22 | 190 | 5.681818 | 0.727273 | 0.192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252632 | 190 | 10 | 37 | 19 | 0.880282 | 0 | 0 | 0 | 0 | 0 | 0.089474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.285714 | 0 | 0.857143 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
0327a8d25a550b9eb33dec91a8de583fa910cf2e | 216 | py | Python | final/data2/script_validData.py | sheabrown/faraday_complexity | 49f5ead79d53bc62f41e5e8450316c03d25ccdef | [
"MIT"
] | 4 | 2017-03-10T04:32:41.000Z | 2019-05-24T02:04:24.000Z | final/data2/script_validData.py | sheabrown/faraday_complexity | 49f5ead79d53bc62f41e5e8450316c03d25ccdef | [
"MIT"
] | null | null | null | final/data2/script_validData.py | sheabrown/faraday_complexity | 49f5ead79d53bc62f41e5e8450316c03d25ccdef | [
"MIT"
] | 3 | 2017-03-10T18:59:23.000Z | 2018-03-12T12:55:52.000Z | import sys
sys.path.append('../')
from possum import *
spec = possum()
spec._generateParams(N=30000, fluxMin=0.01, noiseMax=1./3, pcomplex=0.5, seed=3942)
spec._simulateNspec(save=True, dir='./valid/', timeit=True)
| 27 | 83 | 0.717593 | 33 | 216 | 4.636364 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081218 | 0.087963 | 216 | 7 | 84 | 30.857143 | 0.695431 | 0 | 0 | 0 | 1 | 0 | 0.050926 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
03299ec61aa70bf278344d5fbebe89e2550f7f80 | 176 | py | Python | manavsepeti_django/products/urls.py | irembuz/manavsepeti-django-react | 54ec9a2c7a5ea9d15c929265ae5d40a0c7f256ed | [
"MIT"
] | null | null | null | manavsepeti_django/products/urls.py | irembuz/manavsepeti-django-react | 54ec9a2c7a5ea9d15c929265ae5d40a0c7f256ed | [
"MIT"
] | null | null | null | manavsepeti_django/products/urls.py | irembuz/manavsepeti-django-react | 54ec9a2c7a5ea9d15c929265ae5d40a0c7f256ed | [
"MIT"
] | 2 | 2021-09-07T16:17:28.000Z | 2021-09-07T16:17:50.000Z | from django.urls import path
from . import views
urlpatterns = [
path('', views.get_products, name="products"),
path('<str:pk>', views.get_product, name="product"),
]
| 22 | 56 | 0.676136 | 23 | 176 | 5.086957 | 0.565217 | 0.136752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153409 | 176 | 7 | 57 | 25.142857 | 0.785235 | 0 | 0 | 0 | 0 | 0 | 0.130682 | 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 |
032c460ddc623af52210723dd5fc80c7d4e8fd5b | 168 | py | Python | pynamodb_mate/models.py | MacHu-GWU/pynamodb_mate-project | 373ca8b21758b807632393f4a10dc70f57af082e | [
"MIT"
] | 3 | 2019-09-17T23:01:45.000Z | 2021-01-07T08:50:17.000Z | pynamodb_mate/models.py | MacHu-GWU/pynamodb_mate-project | 373ca8b21758b807632393f4a10dc70f57af082e | [
"MIT"
] | 1 | 2020-08-21T02:23:55.000Z | 2020-09-21T15:05:19.000Z | pynamodb_mate/models.py | MacHu-GWU/pynamodb_mate-project | 373ca8b21758b807632393f4a10dc70f57af082e | [
"MIT"
] | 1 | 2021-01-07T00:57:18.000Z | 2021-01-07T00:57:18.000Z | # -*- coding: utf-8 -*-
from pynamodb.models import (
Model as PynamodbModel,
)
class Model(PynamodbModel):
"""
Add more features later
"""
pass
| 12.923077 | 29 | 0.60119 | 18 | 168 | 5.611111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.267857 | 168 | 12 | 30 | 14 | 0.813008 | 0.27381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.2 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0354cba10ffb2f02686af3ec6be6c81e2b80cf7a | 163 | py | Python | src/sql/master/__init__.py | springmaple/yotimes_sql_bridge | 0d1d17c63d867bb2c2ad286851343c1884fdddf8 | [
"Apache-2.0"
] | null | null | null | src/sql/master/__init__.py | springmaple/yotimes_sql_bridge | 0d1d17c63d867bb2c2ad286851343c1884fdddf8 | [
"Apache-2.0"
] | 4 | 2020-06-02T14:29:17.000Z | 2021-05-16T09:13:52.000Z | src/sql/master/__init__.py | springmaple/yotimes_sql_bridge | 0d1d17c63d867bb2c2ad286851343c1884fdddf8 | [
"Apache-2.0"
] | null | null | null | from sql.entity import Entity
class MasterMeta(Entity):
def __init__(self, data):
super().__init__(data)
self.total = self._get_int('Total')
| 20.375 | 43 | 0.662577 | 21 | 163 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214724 | 163 | 7 | 44 | 23.285714 | 0.765625 | 0 | 0 | 0 | 0 | 0 | 0.030675 | 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 |
036109f765363c534433a0c03d93abc6799c3251 | 610 | py | Python | neuralpredictors/training/__init__.py | Shahdsaf/neuralpredictors | 0afc744ccfe7ec733355d0978e0216f49fbc1e98 | [
"MIT"
] | 9 | 2020-11-26T18:22:32.000Z | 2022-01-22T15:51:52.000Z | neuralpredictors/training/__init__.py | Shahdsaf/neuralpredictors | 0afc744ccfe7ec733355d0978e0216f49fbc1e98 | [
"MIT"
] | 60 | 2020-10-21T15:32:28.000Z | 2022-02-25T10:38:16.000Z | neuralpredictors/training/__init__.py | Shahdsaf/neuralpredictors | 0afc744ccfe7ec733355d0978e0216f49fbc1e98 | [
"MIT"
] | 21 | 2020-10-21T09:29:17.000Z | 2022-02-07T10:04:46.000Z | """
This package contains all tools that are useful for training system identification models
as well as things that can be applied to neural network training in general.
This includes:
- context_managers: managing device state and eval state
- cyclers: objects for cycling through the data
- early_stopping: contr... | 43.571429 | 92 | 0.818033 | 82 | 610 | 6 | 0.621951 | 0.079268 | 0.036585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 610 | 13 | 93 | 46.923077 | 0.946154 | 0.709836 | 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 |
03751356fc40fd730c0b783acd9ab90481236e8a | 4,024 | py | Python | archive/test_phage_reference/1_build_reference_transcriptome.py | ajlee21/core-accessory-interactome | e2d8344e8c8abb1d0bda845ce2292b08ae590c51 | [
"BSD-3-Clause"
] | null | null | null | archive/test_phage_reference/1_build_reference_transcriptome.py | ajlee21/core-accessory-interactome | e2d8344e8c8abb1d0bda845ce2292b08ae590c51 | [
"BSD-3-Clause"
] | 33 | 2020-04-24T23:07:49.000Z | 2022-03-10T22:53:09.000Z | archive/test_phage_reference/1_build_reference_transcriptome.py | ajlee21/core-accessory-interactome | e2d8344e8c8abb1d0bda845ce2292b08ae590c51 | [
"BSD-3-Clause"
] | 1 | 2020-04-01T17:09:27.000Z | 2020-04-01T17:09:27.000Z | # ---
# jupyter:
# jupytext:
# formats: ipynb,py
# text_representation:
# extension: .py
# format_name: light
# format_version: '1.5'
# jupytext_version: 1.9.1+dev
# kernelspec:
# display_name: Python [conda env:core_acc] *
# language: python
# name: conda-env-core_acc-py... | 63.873016 | 703 | 0.767147 | 621 | 4,024 | 4.937198 | 0.460548 | 0.050228 | 0.032616 | 0.009785 | 0.014351 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019403 | 0.167495 | 4,024 | 62 | 704 | 64.903226 | 0.895821 | 0.961978 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
037c321ca366c9e385c5dde48b1888d8bc9040cb | 799 | py | Python | exercicio 017.py | rayanesousa31/Python-Curso-em-video | ce0b1b10f03830a0182f4e25d90993f8c8e3e62c | [
"MIT"
] | 1 | 2022-02-18T23:42:27.000Z | 2022-02-18T23:42:27.000Z | exercicio 017.py | rayanesousa31/Python-Curso-em-video-Mundo-1 | ce0b1b10f03830a0182f4e25d90993f8c8e3e62c | [
"MIT"
] | null | null | null | exercicio 017.py | rayanesousa31/Python-Curso-em-video-Mundo-1 | ce0b1b10f03830a0182f4e25d90993f8c8e3e62c | [
"MIT"
] | null | null | null | #Faça um programa que leia o comprimento do cateto oposto e do cateto adjacente de um triângulo retângulo.
#Calcule e mostre o comprimento da hipotenusa.
from math import hypot
catop = float(input('Entre com o valor do cateto oposto: '))
catad = float(input('Entre com o valor do cateto adjacente: '))
print('... | 49.9375 | 151 | 0.694618 | 131 | 799 | 4.236641 | 0.320611 | 0.144144 | 0.115315 | 0.201802 | 0.637838 | 0.637838 | 0.637838 | 0.637838 | 0.637838 | 0.637838 | 0 | 0.009202 | 0.18398 | 799 | 16 | 152 | 49.9375 | 0.842025 | 0.217772 | 0 | 0.5 | 0 | 0.25 | 0.580592 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cef7ae99c0e11130149e47639406b0a073d55bef | 1,341 | py | Python | packages/pyright-internal/src/tests/samples/classes5.py | oyarsa/pyright | b2882fd6be4dded74a2f1be36c2e4c2d18e3348d | [
"MIT"
] | 1 | 2021-03-07T12:54:18.000Z | 2021-03-07T12:54:18.000Z | packages/pyright-internal/src/tests/samples/classes5.py | oyarsa/pyright | b2882fd6be4dded74a2f1be36c2e4c2d18e3348d | [
"MIT"
] | null | null | null | packages/pyright-internal/src/tests/samples/classes5.py | oyarsa/pyright | b2882fd6be4dded74a2f1be36c2e4c2d18e3348d | [
"MIT"
] | null | null | null | # This sample tests the reportIncompatibleVariableOverride
# configuration option.
from typing import Union
from abc import ABC, abstractmethod
class ParentClass(ABC):
var1: int
var2: str
var3: Union[int, str]
var4: int
var5: int
@property
def property1(self) -> int:
return 1
... | 18.887324 | 69 | 0.62267 | 156 | 1,341 | 5.352564 | 0.333333 | 0.105389 | 0.093413 | 0.107784 | 0.373653 | 0.373653 | 0.126946 | 0.126946 | 0.126946 | 0.126946 | 0 | 0.029979 | 0.303505 | 1,341 | 70 | 70 | 19.157143 | 0.864026 | 0.275168 | 0 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.209302 | false | 0 | 0.046512 | 0.186047 | 0.744186 | 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 |
301c523ec5e23e3c6af2d0b4348b16f0d6ea631c | 11,995 | py | Python | daemon/attiny_i2c.py | jbaumann/attiny_daemon | f4e5deb29d0b4e02d4531bedd9312fd8d98cc53b | [
"Apache-2.0"
] | 52 | 2019-08-28T08:04:01.000Z | 2022-02-09T19:55:01.000Z | daemon/attiny_i2c.py | jbaumann/attiny_daemon | f4e5deb29d0b4e02d4531bedd9312fd8d98cc53b | [
"Apache-2.0"
] | 10 | 2019-08-31T03:58:32.000Z | 2021-11-25T07:36:46.000Z | daemon/attiny_i2c.py | jbaumann/attiny_daemon | f4e5deb29d0b4e02d4531bedd9312fd8d98cc53b | [
"Apache-2.0"
] | 7 | 2019-08-28T09:22:22.000Z | 2021-11-04T02:39:52.000Z | import logging
import os
import sys
import time
import smbus
import struct
from typing import Tuple, Any
from configparser import ConfigParser
from argparse import ArgumentParser, Namespace
from collections.abc import Mapping
from pathlib import Path
class ATTiny:
REG_LAST_ACCESS = 0x01
REG_BAT_VOLTAG... | 37.136223 | 106 | 0.642851 | 1,628 | 11,995 | 4.423833 | 0.109951 | 0.067481 | 0.08331 | 0.070814 | 0.671619 | 0.62441 | 0.591364 | 0.539711 | 0.483338 | 0.362538 | 0 | 0.028951 | 0.271446 | 11,995 | 322 | 107 | 37.251553 | 0.795171 | 0.008253 | 0 | 0.180392 | 0 | 0 | 0.059956 | 0 | 0 | 0 | 0.015809 | 0 | 0 | 1 | 0.231373 | false | 0 | 0.043137 | 0.196078 | 0.658824 | 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 |
301d5b6772e06ac6b03799a62fcbecb99ce1f98c | 5,962 | py | Python | octant/tests/test_octant.py | Orange-OpenSource/octant | 3b13b44b6727382de31ab969be0e8d3c80a882b8 | [
"Apache-2.0"
] | 4 | 2018-10-04T04:05:45.000Z | 2021-07-06T02:25:02.000Z | octant/tests/test_octant.py | Orange-OpenSource/octant | 3b13b44b6727382de31ab969be0e8d3c80a882b8 | [
"Apache-2.0"
] | null | null | null | octant/tests/test_octant.py | Orange-OpenSource/octant | 3b13b44b6727382de31ab969be0e8d3c80a882b8 | [
"Apache-2.0"
] | 4 | 2018-04-25T14:09:05.000Z | 2021-06-22T09:48:14.000Z | # -*- coding: utf-8 -*-
# Copyright 2018 Orange
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | 37.496855 | 78 | 0.641731 | 813 | 5,962 | 4.523985 | 0.189422 | 0.073409 | 0.097879 | 0.065253 | 0.745242 | 0.728929 | 0.709081 | 0.689505 | 0.689505 | 0.66721 | 0 | 0.022425 | 0.229621 | 5,962 | 158 | 79 | 37.734177 | 0.778358 | 0.109192 | 0 | 0.669291 | 0 | 0 | 0.192104 | 0.142803 | 0 | 0 | 0 | 0 | 0.110236 | 1 | 0.070866 | false | 0 | 0.031496 | 0 | 0.110236 | 0.055118 | 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 |
303fcbe5f2c5398ba98d68ebf624bccdd1b75769 | 272 | py | Python | nephelae_paparazzi/__init__.py | pnarvor/nephelae_paparazzi | 1c000444c39b342e90f39f432737ef06be762f56 | [
"BSD-3-Clause"
] | null | null | null | nephelae_paparazzi/__init__.py | pnarvor/nephelae_paparazzi | 1c000444c39b342e90f39f432737ef06be762f56 | [
"BSD-3-Clause"
] | null | null | null | nephelae_paparazzi/__init__.py | pnarvor/nephelae_paparazzi | 1c000444c39b342e90f39f432737ef06be762f56 | [
"BSD-3-Clause"
] | null | null | null | from . import common
from . import missions
from . import utils
from . import plugins
# v0.2
from .MessageInterface import MessageInterface
from .AircraftStatus import AircraftStatus
from .AircraftLogger import AircraftLogger
from .Aircraft import Aircraft
| 20.923077 | 46 | 0.783088 | 30 | 272 | 7.1 | 0.4 | 0.187793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008969 | 0.180147 | 272 | 12 | 47 | 22.666667 | 0.946188 | 0.014706 | 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 |
30776a650185c42fab9372d6e3136ce8a9039f57 | 26 | py | Python | utils/pivot.py | SownBanana/DNA-Decoder-Simulator | 65f632d510e81e514604301431164188da567328 | [
"MIT"
] | null | null | null | utils/pivot.py | SownBanana/DNA-Decoder-Simulator | 65f632d510e81e514604301431164188da567328 | [
"MIT"
] | null | null | null | utils/pivot.py | SownBanana/DNA-Decoder-Simulator | 65f632d510e81e514604301431164188da567328 | [
"MIT"
] | null | null | null | start = 'TTG'
stop = 'TAA' | 13 | 13 | 0.576923 | 4 | 26 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 2 | 14 | 13 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 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 |
062ddd04da9ac9ec7476ac8a3b02beec5fbd9ddf | 281 | py | Python | numbers/type conversion.py | paniseven/py-playground | e42ffaaaeadbc0ec014709bbf76faf9d7b28c20b | [
"Unlicense"
] | null | null | null | numbers/type conversion.py | paniseven/py-playground | e42ffaaaeadbc0ec014709bbf76faf9d7b28c20b | [
"Unlicense"
] | null | null | null | numbers/type conversion.py | paniseven/py-playground | e42ffaaaeadbc0ec014709bbf76faf9d7b28c20b | [
"Unlicense"
] | null | null | null | x = 1 # int
y = 2.8 # float
z = 1j # complex
# convert from int to float
a = float(x)
# convert from float to int
b = int(y)
# convert from int to complex
c = complex(x)
print(a)
print(b)
print(c)
print(type(a))
print(type(b))
print(type(c))
| 13.380952 | 30 | 0.558719 | 49 | 281 | 3.204082 | 0.367347 | 0.210191 | 0.178344 | 0.203822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.309609 | 281 | 20 | 31 | 14.05 | 0.78866 | 0.345196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 1 | 0 | 3 |
063272756d6d1cb63dbd3eb300c690e4a486be73 | 955 | py | Python | regexapp/exceptions.py | Geeks-Trident-LLC/regexapp | a9d7576834859bb53b5c7b0e60c5b2089b105183 | [
"BSD-3-Clause"
] | null | null | null | regexapp/exceptions.py | Geeks-Trident-LLC/regexapp | a9d7576834859bb53b5c7b0e60c5b2089b105183 | [
"BSD-3-Clause"
] | null | null | null | regexapp/exceptions.py | Geeks-Trident-LLC/regexapp | a9d7576834859bb53b5c7b0e60c5b2089b105183 | [
"BSD-3-Clause"
] | null | null | null | """Module containing the exception class for regexapp."""
class PatternError(Exception):
"""Use to capture error during pattern conversion."""
class EscapePatternError(PatternError):
"""Use to capture error during performing do_soft_regex_escape"""
class PatternReferenceError(PatternError):
"""Use to ... | 25.131579 | 69 | 0.751832 | 100 | 955 | 7.15 | 0.31 | 0.062937 | 0.151049 | 0.213986 | 0.6 | 0.514685 | 0.465734 | 0.465734 | 0.465734 | 0 | 0 | 0 | 0.148691 | 955 | 37 | 70 | 25.810811 | 0.879459 | 0.518325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
064ee5693263af705efbda2f83a3a76821637ff2 | 3,353 | py | Python | py/g1/third-party/nng/tests/test_protocols.py | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | 3 | 2016-01-04T06:28:52.000Z | 2020-09-20T13:18:40.000Z | py/g1/third-party/nng/tests/test_protocols.py | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | null | null | null | py/g1/third-party/nng/tests/test_protocols.py | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | null | null | null | import unittest
import contextlib
import uuid
try:
from g1.devtools import tests
except ImportError:
tests = None
import nng
from nng import sockets
def _send(sock, data):
tests.spawn(sock.send, data).result()
def _recv(sock):
return tests.spawn(sock.recv).result()
@unittest.skipUnless(tests, '... | 34.56701 | 79 | 0.586042 | 412 | 3,353 | 4.650485 | 0.169903 | 0.06785 | 0.115344 | 0.162839 | 0.76096 | 0.742693 | 0.708768 | 0.672756 | 0.4619 | 0.446764 | 0 | 0.03068 | 0.280644 | 3,353 | 96 | 80 | 34.927083 | 0.763682 | 0 | 0 | 0.425 | 0 | 0 | 0.079928 | 0 | 0 | 0 | 0 | 0 | 0.1375 | 1 | 0.0875 | false | 0 | 0.0875 | 0.0125 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 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 |
065a241dc70c4ac5686a19867649ac21988e25dd | 4,336 | py | Python | api/data_import/queries.py | sykefi/PRTR | b162e0bff8fe5de581097465ec205c322dd24b94 | [
"MIT"
] | 1 | 2021-12-31T11:09:00.000Z | 2021-12-31T11:09:00.000Z | api/data_import/queries.py | sykefi/PRTR | b162e0bff8fe5de581097465ec205c322dd24b94 | [
"MIT"
] | 1 | 2021-10-13T11:38:53.000Z | 2021-10-13T11:38:53.000Z | api/data_import/queries.py | sykefi/PRTR | b162e0bff8fe5de581097465ec205c322dd24b94 | [
"MIT"
] | 1 | 2021-10-19T12:00:46.000Z | 2021-10-19T12:00:46.000Z | from data_import.conf import conf
sql_facilities = (
f'''
SELECT DISTINCT
[2_ProductionFacility].Facility_INSPIRE_ID,
[2_ProductionFacility].parentCompanyName,
[2_ProductionFacility].nameOfFeature,
[2_ProductionFacility].mainActivityCode,
[2_ProductionFacility].mainActivityName,
[2_Pro... | 37.37931 | 80 | 0.749308 | 350 | 4,336 | 8.942857 | 0.222857 | 0.254952 | 0.065176 | 0.065176 | 0.475399 | 0.387859 | 0.351438 | 0.351438 | 0.351438 | 0.351438 | 0 | 0.022271 | 0.161208 | 4,336 | 115 | 81 | 37.704348 | 0.838328 | 0 | 0 | 0.405405 | 0 | 0 | 0.967712 | 0.745849 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009009 | 0 | 0.009009 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
06628ef37c40a33d181b61e7d015587902696dc6 | 677 | py | Python | test_roman_numeral_converter.py | szpone/roman-numeral-converter | 747d3e9a58a13bb4c5c685b49bf304d9278a17ca | [
"MIT"
] | null | null | null | test_roman_numeral_converter.py | szpone/roman-numeral-converter | 747d3e9a58a13bb4c5c685b49bf304d9278a17ca | [
"MIT"
] | null | null | null | test_roman_numeral_converter.py | szpone/roman-numeral-converter | 747d3e9a58a13bb4c5c685b49bf304d9278a17ca | [
"MIT"
] | null | null | null | from unittest import TestCase, main
from roman_numeral_converter import roman_numeral_converter
class TestRomanNumeralConverter(TestCase):
def test_convert_small_digit(self):
value = roman_numeral_converter(3)
self.assertEqual(value, "III")
def test_convert_digit(self):
value = roma... | 22.566667 | 59 | 0.700148 | 80 | 677 | 5.5625 | 0.3875 | 0.161798 | 0.283146 | 0.188764 | 0.292135 | 0.157303 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.211226 | 677 | 29 | 60 | 23.344828 | 0.822097 | 0 | 0 | 0 | 0 | 0 | 0.054653 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 1 | 0.235294 | false | 0 | 0.117647 | 0 | 0.411765 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
06642b26291efb7cb852a09d997a65501b9fe9f1 | 323 | py | Python | identifier.py | henrik645/rpp | bbc8054343de2d05cf9e6b36b0a78ff0e9d9e4a5 | [
"MIT"
] | null | null | null | identifier.py | henrik645/rpp | bbc8054343de2d05cf9e6b36b0a78ff0e9d9e4a5 | [
"MIT"
] | null | null | null | identifier.py | henrik645/rpp | bbc8054343de2d05cf9e6b36b0a78ff0e9d9e4a5 | [
"MIT"
] | null | null | null | class Identifier:
def __init__(self, id):
self.id = id
def eval(self, env):
if self.id in env:
return env[self.id]
else:
error("Referencing " + self.id + " before assignment")
def __repr__(self):
return "Identifier: {0}".format(self.i... | 24.846154 | 66 | 0.520124 | 38 | 323 | 4.210526 | 0.5 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004854 | 0.362229 | 323 | 12 | 67 | 26.916667 | 0.771845 | 0 | 0 | 0 | 0 | 0 | 0.139319 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0.1 | 0.6 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
067cb7ef38d17e130365ae5c5c13a18e7c0dd15e | 109 | py | Python | Soluciones/Python/Entrada_salida/Ejercicio21.py | TheInventorist/Material-Programacion | 5de54671169224c6c6455eeb2918e91c6ee4e250 | [
"MIT"
] | 1 | 2020-06-11T02:20:34.000Z | 2020-06-11T02:20:34.000Z | Soluciones/Python/Entrada_salida/Ejercicio21.py | TheInventorist/Material-Programacion | 5de54671169224c6c6455eeb2918e91c6ee4e250 | [
"MIT"
] | 2 | 2020-06-17T17:14:48.000Z | 2020-06-19T18:38:04.000Z | Soluciones/Python/Entrada_salida/Ejercicio21.py | TheInventorist/Material-Programacion | 5de54671169224c6c6455eeb2918e91c6ee4e250 | [
"MIT"
] | 2 | 2020-01-03T14:28:53.000Z | 2021-07-19T13:30:32.000Z | from math import sqrt
a = float(input("a: "))
print(f"El area del icosaedro es {round(5*sqrt(3)*a**2, 2)}")
| 21.8 | 61 | 0.642202 | 22 | 109 | 3.181818 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043011 | 0.146789 | 109 | 4 | 62 | 27.25 | 0.709677 | 0 | 0 | 0 | 0 | 0 | 0.495413 | 0.201835 | 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 |
068b21161e4a5783ed32dfb7a40bdb6f11849d04 | 33 | py | Python | lps36/header/data.py | JGabrielGruber/lps36 | 6a8894c880ab2d1e3faf7336a2bde2ca627214c3 | [
"MIT"
] | null | null | null | lps36/header/data.py | JGabrielGruber/lps36 | 6a8894c880ab2d1e3faf7336a2bde2ca627214c3 | [
"MIT"
] | null | null | null | lps36/header/data.py | JGabrielGruber/lps36 | 6a8894c880ab2d1e3faf7336a2bde2ca627214c3 | [
"MIT"
] | null | null | null | class Data():
number = None
| 8.25 | 17 | 0.575758 | 4 | 33 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.30303 | 33 | 3 | 18 | 11 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 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 |
0699c80ac8ea97b96f83f12d623cdb56068ec995 | 4,060 | py | Python | gcoperacoes.py | Nurul-GC/GCalculadora | 2422dd5b863d57ffb8285cab77641ef4d9862268 | [
"BSD-3-Clause"
] | 1 | 2021-01-31T23:57:09.000Z | 2021-01-31T23:57:09.000Z | gcoperacoes.py | Nurul-GC/GCalculadora | 2422dd5b863d57ffb8285cab77641ef4d9862268 | [
"BSD-3-Clause"
] | 12 | 2021-08-28T09:00:12.000Z | 2021-08-28T09:07:25.000Z | gcal/gcoperacoes.py | ArtesGC/GCalculadora | ab825024f300b8532fe18a75358a83c88c22dca9 | [
"BSD-3-Clause"
] | 1 | 2021-01-31T23:57:15.000Z | 2021-01-31T23:57:15.000Z | """
(c) 2019-2021 Nurul-GC
"""
from math import *
class Operacoes:
def __init__(self):
self.valor1 = 0
self.valor2 = 0
def soma(self):
if self.valor1 == 0 and self.valor2 == 0:
return None
return self.valor1+self.valor2
def subtracao(self):
if self.val... | 27.248322 | 50 | 0.518227 | 481 | 4,060 | 4.357588 | 0.112266 | 0.209924 | 0.146947 | 0.218989 | 0.73187 | 0.689408 | 0.579676 | 0.431775 | 0.431775 | 0.431775 | 0 | 0.062549 | 0.377833 | 4,060 | 148 | 51 | 27.432432 | 0.767221 | 0.005419 | 0 | 0.519685 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133858 | false | 0 | 0.007874 | 0 | 0.582677 | 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 |
069add9cb340764efa97225aed1f7686386c195b | 1,009 | py | Python | sqlhandler/django/model.py | matthewgdv/sqlhandler | b82fd159195f6bb63175bb8a8d81fc421e7d5835 | [
"MIT"
] | null | null | null | sqlhandler/django/model.py | matthewgdv/sqlhandler | b82fd159195f6bb63175bb8a8d81fc421e7d5835 | [
"MIT"
] | null | null | null | sqlhandler/django/model.py | matthewgdv/sqlhandler | b82fd159195f6bb63175bb8a8d81fc421e7d5835 | [
"MIT"
] | null | null | null | from __future__ import annotations
from typing import Type, TYPE_CHECKING
from django.db.models.manager import Manager
from django.db.models.options import Options
from .config import SqlConfig
if TYPE_CHECKING:
from .sql import DjangoSql
class SqlModel(SqlConfig.Sql.Constructors.ReflectedModel, SqlConfig.set... | 27.27027 | 106 | 0.731417 | 126 | 1,009 | 5.619048 | 0.373016 | 0.067797 | 0.076271 | 0.050847 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001188 | 0.16551 | 1,009 | 36 | 107 | 28.027778 | 0.839667 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.208333 | false | 0 | 0.25 | 0.208333 | 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 |
06a46c62759835e1fc5d86abbdf121ab177a143f | 184 | py | Python | num_random.py | juhyun0/python_turtle2 | 59943c03a07a71aa33ab7124bca56f6b880b6883 | [
"Unlicense"
] | null | null | null | num_random.py | juhyun0/python_turtle2 | 59943c03a07a71aa33ab7124bca56f6b880b6883 | [
"Unlicense"
] | null | null | null | num_random.py | juhyun0/python_turtle2 | 59943c03a07a71aa33ab7124bca56f6b880b6883 | [
"Unlicense"
] | null | null | null | import random
while True:
x=random.randint(1,100)
y=random.randint(1,100)
print(x,"+",y,"=",end="")
answer=int(input())
if answer == x+y:
print("good")
else:
print("next")
| 14.153846 | 26 | 0.61413 | 30 | 184 | 3.766667 | 0.6 | 0.230089 | 0.247788 | 0.300885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050955 | 0.146739 | 184 | 12 | 27 | 15.333333 | 0.66879 | 0 | 0 | 0 | 0 | 0 | 0.054645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0.3 | 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 |
23030b8547177c3e8056c12ab583c9090ece9fae | 17,615 | py | Python | scripts/esrm20_total-repl-cost_vulnerability_postprocess.py | hcrowley/esrm20_vulnerability | 0557ff07d642b17d1ff64dafa8e182650c6dfae7 | [
"CC-BY-4.0"
] | null | null | null | scripts/esrm20_total-repl-cost_vulnerability_postprocess.py | hcrowley/esrm20_vulnerability | 0557ff07d642b17d1ff64dafa8e182650c6dfae7 | [
"CC-BY-4.0"
] | null | null | null | scripts/esrm20_total-repl-cost_vulnerability_postprocess.py | hcrowley/esrm20_vulnerability | 0557ff07d642b17d1ff64dafa8e182650c6dfae7 | [
"CC-BY-4.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sat Jul 17 19:04:01 2021
@author: helencrowley
"""
import glob
import os
import pandas as pd
import numpy as np
from scipy import stats
#%% read list of typologies from capacity curves
current_dir=os.getcwd()
cap_in_files=glob.glob(os.path.join(os.path.j... | 45.634715 | 164 | 0.70088 | 2,597 | 17,615 | 4.500963 | 0.097035 | 0.087262 | 0.112927 | 0.036958 | 0.823509 | 0.783129 | 0.74275 | 0.677218 | 0.531868 | 0.480281 | 0 | 0.051178 | 0.144763 | 17,615 | 386 | 165 | 45.634715 | 0.724726 | 0.157479 | 0 | 0.117391 | 0 | 0 | 0.111247 | 0.057011 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026087 | 0 | 0.026087 | 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 |
231f84f82d92dadfb898eb412c3bd0f9054d9c94 | 447 | py | Python | dataestacion/estacion/admin.py | Joaquin-1204/Api-smartionproject | bb3d8f35e33134a34db418c7deb8c01b81396322 | [
"MIT"
] | null | null | null | dataestacion/estacion/admin.py | Joaquin-1204/Api-smartionproject | bb3d8f35e33134a34db418c7deb8c01b81396322 | [
"MIT"
] | null | null | null | dataestacion/estacion/admin.py | Joaquin-1204/Api-smartionproject | bb3d8f35e33134a34db418c7deb8c01b81396322 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import TipoVehiculo
from .models import Administrador
from .models import Usuario
from .models import Vehiculo
from .models import Estacionamiento
from .models import Reservas
admin.site.register(TipoVehiculo)
admin.site.register(Administrador... | 27.9375 | 36 | 0.836689 | 57 | 447 | 6.561404 | 0.280702 | 0.160428 | 0.256684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089485 | 447 | 16 | 37 | 27.9375 | 0.918919 | 0.058166 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.538462 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
233acb88eb85b21327fbb671779165a17239d2f1 | 31 | py | Python | flask_with_react/config/production.py | mavram/flask-with-react | 5fba9128141b963356607222edbc015ddefcd32a | [
"MIT"
] | 5 | 2018-06-06T09:43:15.000Z | 2022-01-17T05:07:53.000Z | flask_with_react/config/production.py | mavram/flask-with-react | 5fba9128141b963356607222edbc015ddefcd32a | [
"MIT"
] | 1 | 2018-06-14T14:21:54.000Z | 2018-06-14T14:21:54.000Z | flask_with_react/config/production.py | mavram/flask-with-react | 5fba9128141b963356607222edbc015ddefcd32a | [
"MIT"
] | null | null | null |
DEBUG = False
TESTING = False
| 7.75 | 15 | 0.709677 | 4 | 31 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 31 | 3 | 16 | 10.333333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
235b9196e62802a035e48fd40ead2c11d7175d75 | 231 | py | Python | backend/env/bin/django-admin.py | pnitin10/bucket | 14402264830c8d5fef9159232155b1302f97b59b | [
"MIT"
] | null | null | null | backend/env/bin/django-admin.py | pnitin10/bucket | 14402264830c8d5fef9159232155b1302f97b59b | [
"MIT"
] | null | null | null | backend/env/bin/django-admin.py | pnitin10/bucket | 14402264830c8d5fef9159232155b1302f97b59b | [
"MIT"
] | null | null | null | #!/home/pnitin/Documents/.shopbridge_projects_071020_1232_Wednesday/bucket_050121_1736_Tuesday/bucket/backend/env/bin/python
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 38.5 | 124 | 0.839827 | 30 | 231 | 5.866667 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 0.064935 | 231 | 5 | 125 | 46.2 | 0.722222 | 0.532468 | 0 | 0 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
235eff6bc293d310b8ee3d7d5163d2e5c5d7824b | 3,229 | py | Python | example/dj/apps/test_chamber/tests/transaction.py | rubickcz/django-chamber | 0b4c51c66e0f496c6ebdbf4130bab8dd2fc53984 | [
"BSD-3-Clause"
] | null | null | null | example/dj/apps/test_chamber/tests/transaction.py | rubickcz/django-chamber | 0b4c51c66e0f496c6ebdbf4130bab8dd2fc53984 | [
"BSD-3-Clause"
] | null | null | null | example/dj/apps/test_chamber/tests/transaction.py | rubickcz/django-chamber | 0b4c51c66e0f496c6ebdbf4130bab8dd2fc53984 | [
"BSD-3-Clause"
] | null | null | null | from django.test import TestCase
from chamber.utils.transaction import (
on_success, transaction_signals, UniqueOnSuccessCallable
)
from germanium.tools import assert_equal # pylint: disable=E0401
def add_number(numbers_list, number):
numbers_list.append(number)
class TransactionsTestCase(TestCase):
... | 31.048077 | 90 | 0.623413 | 335 | 3,229 | 5.680597 | 0.170149 | 0.213873 | 0.094587 | 0.132422 | 0.797162 | 0.755649 | 0.682606 | 0.630583 | 0.595901 | 0.465055 | 0 | 0.014525 | 0.296377 | 3,229 | 103 | 91 | 31.349515 | 0.823063 | 0.006504 | 0 | 0.619718 | 0 | 0 | 0.009357 | 0 | 0 | 0 | 0 | 0 | 0.225352 | 1 | 0.112676 | false | 0.070423 | 0.042254 | 0 | 0.197183 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
2366ab05d9021fba3d79555c66639db8a0810dde | 188 | py | Python | controller/gatt/regex.py | helena-project/beetle | 6f07d864c38ea6aed962263eca20ecf8436cfb4e | [
"Apache-2.0"
] | 16 | 2016-06-27T08:08:04.000Z | 2020-10-24T21:20:27.000Z | controller/gatt/regex.py | helena-project/beetle | 6f07d864c38ea6aed962263eca20ecf8436cfb4e | [
"Apache-2.0"
] | 1 | 2018-01-23T19:18:06.000Z | 2018-01-23T19:18:06.000Z | controller/gatt/regex.py | helena-project/beetle | 6f07d864c38ea6aed962263eca20ecf8436cfb4e | [
"Apache-2.0"
] | 2 | 2018-03-16T08:49:10.000Z | 2019-02-14T04:30:03.000Z |
from gatt.uuid import UUID_REGEX
def uuid(arg):
"""Returns a regex that matches and and captures a uuid"""
assert isinstance(arg, str)
return (r"(?P<%s>" + UUID_REGEX + ")") % (arg,)
| 23.5 | 59 | 0.664894 | 30 | 188 | 4.1 | 0.666667 | 0.146341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 188 | 7 | 60 | 26.857143 | 0.788462 | 0.276596 | 0 | 0 | 0 | 0 | 0.062016 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
2371d501ffc793524b0048cd1f86b258821c9fa1 | 242 | py | Python | nbserve_config.py | yuvipanda/nbserve | 5d56ebd96e62724199041251a1d917087453e762 | [
"BSD-3-Clause"
] | 1 | 2015-12-29T14:42:56.000Z | 2015-12-29T14:42:56.000Z | nbserve_config.py | yuvipanda/nbserve | 5d56ebd96e62724199041251a1d917087453e762 | [
"BSD-3-Clause"
] | null | null | null | nbserve_config.py | yuvipanda/nbserve | 5d56ebd96e62724199041251a1d917087453e762 | [
"BSD-3-Clause"
] | null | null | null | c.NbServer.base_url = '/paws-public/'
c.NbServer.bind_ip = '0.0.0.0'
c.NbServer.bind_port = 8000
c.NbServer.publisher_class = 'paws.PAWSPublisher'
c.NbServer.register_proxy = False
c.PAWSPublisher.base_path = '/data/project/paws/userhomes'
| 26.888889 | 58 | 0.764463 | 38 | 242 | 4.710526 | 0.552632 | 0.251397 | 0.145251 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 0.082645 | 242 | 8 | 59 | 30.25 | 0.77027 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 0.115702 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2373a866d88c2273349b5de402db9fde56e33545 | 14,611 | py | Python | Model_Training/MOTION_Detector/load_dataset.py | DarkSZChao/Big-Little_NN_Strategies | 5821765c5ed1a2cbdfe7d9586df7bd36e08fa6fd | [
"MIT"
] | null | null | null | Model_Training/MOTION_Detector/load_dataset.py | DarkSZChao/Big-Little_NN_Strategies | 5821765c5ed1a2cbdfe7d9586df7bd36e08fa6fd | [
"MIT"
] | null | null | null | Model_Training/MOTION_Detector/load_dataset.py | DarkSZChao/Big-Little_NN_Strategies | 5821765c5ed1a2cbdfe7d9586df7bd36e08fa6fd | [
"MIT"
] | null | null | null | # -- coding: utf-8 --
import os
import numpy as np
from sklearn.preprocessing import MinMaxScaler
from tensorflow.keras.utils import to_categorical
try: # import for pycharm project directory
from MOTION_Detector import ROOTS
except: # import for Ubuntu non-project directory
import ROOTS
dataset_path = RO... | 52.182143 | 189 | 0.701458 | 2,240 | 14,611 | 4.047768 | 0.052679 | 0.129039 | 0.048528 | 0.059998 | 0.870299 | 0.765413 | 0.709386 | 0.649608 | 0.618727 | 0.577699 | 0 | 0.032253 | 0.187256 | 14,611 | 279 | 190 | 52.369176 | 0.731284 | 0.107385 | 0 | 0.468293 | 0 | 0 | 0.076911 | 0.009691 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0.009756 | 0.029268 | 0 | 0.156098 | 0.180488 | 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 |
2378e828acdc06e96075f80b4d479eb2f9609c90 | 260 | py | Python | psx/_dump_/25/_dump_ida_/overlay_3/set_vars.py | maoa3/scalpel | 2e7381b516cded28996d290438acc618d00b2aa7 | [
"Unlicense"
] | 15 | 2018-06-28T01:11:25.000Z | 2021-09-27T15:57:18.000Z | psx/_dump_/25/_dump_ida_/overlay_3/set_vars.py | maoa3/scalpel | 2e7381b516cded28996d290438acc618d00b2aa7 | [
"Unlicense"
] | 7 | 2018-06-29T04:08:23.000Z | 2019-10-17T13:57:22.000Z | psx/_dump_/25/_dump_ida_/overlay_3/set_vars.py | maoa3/scalpel | 2e7381b516cded28996d290438acc618d00b2aa7 | [
"Unlicense"
] | 7 | 2018-06-28T01:11:34.000Z | 2020-05-23T09:21:48.000Z | del_items(0x800A0E14)
SetType(0x800A0E14, "char StrDate[12]")
del_items(0x800A0E20)
SetType(0x800A0E20, "char StrTime[9]")
del_items(0x800A0E2C)
SetType(0x800A0E2C, "char *Words[118]")
del_items(0x800A1004)
SetType(0x800A1004, "struct MONTH_DAYS MonDays[12]")
| 28.888889 | 52 | 0.792308 | 34 | 260 | 5.911765 | 0.529412 | 0.159204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263374 | 0.065385 | 260 | 8 | 53 | 32.5 | 0.563786 | 0 | 0 | 0 | 0 | 0 | 0.292308 | 0 | 0 | 0 | 0.307692 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
88d5a23ced8d77765aa01bb8e606263895e33c7f | 412 | py | Python | tasmota/Tasmota-8.4.0/pio/http-uploader.py | zorcec/SARAH | c7936ce9467fb11594b6ae4a937d6766060bec05 | [
"MIT"
] | null | null | null | tasmota/Tasmota-8.4.0/pio/http-uploader.py | zorcec/SARAH | c7936ce9467fb11594b6ae4a937d6766060bec05 | [
"MIT"
] | null | null | null | tasmota/Tasmota-8.4.0/pio/http-uploader.py | zorcec/SARAH | c7936ce9467fb11594b6ae4a937d6766060bec05 | [
"MIT"
] | null | null | null | Import("env")
import os
# pio < 4.0.0
# from base64 import b64decode
# env.Replace(UPLOADER="pio\espupload.py")
# env.Replace(UPLOADERFLAGS="")
# env.Replace(UPLOADCMD="$UPLOADER -u " + b64decode(ARGUMENTS.get("UPLOAD_PORT")) + " -f $SOURCES")
# pio >= 4.0.0
env.Replace(UPLOADER=os.path.join("pio", "espupload.py"))
e... | 29.428571 | 99 | 0.701456 | 58 | 412 | 4.948276 | 0.413793 | 0.209059 | 0.034843 | 0.041812 | 0.452962 | 0.452962 | 0.452962 | 0.452962 | 0.452962 | 0.452962 | 0 | 0.032258 | 0.097087 | 412 | 13 | 100 | 31.692308 | 0.739247 | 0.538835 | 0 | 0 | 0 | 0 | 0.300546 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
88e3901e7e577afb5eda550b5f43c117cb642648 | 182 | py | Python | project/project/routers.py | shyouganai/bookmark-url-parser | 8684bcdb217bb250c7f40136ed7f7073507d56ed | [
"MIT"
] | null | null | null | project/project/routers.py | shyouganai/bookmark-url-parser | 8684bcdb217bb250c7f40136ed7f7073507d56ed | [
"MIT"
] | 6 | 2020-02-12T01:10:54.000Z | 2021-06-09T18:23:17.000Z | project/project/routers.py | shyouganai/bookmark-url-parser | 8684bcdb217bb250c7f40136ed7f7073507d56ed | [
"MIT"
] | null | null | null | from rest_framework import routers
from bookmark.viewsets import BookmarkViewSet
router = routers.DefaultRouter()
router.register(r'bookmark', BookmarkViewSet, basename='bookmark') | 30.333333 | 66 | 0.835165 | 20 | 182 | 7.55 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082418 | 182 | 6 | 66 | 30.333333 | 0.904192 | 0 | 0 | 0 | 0 | 0 | 0.087432 | 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 |
88ff83d1690aabbc7cdd845c35233893264926cc | 76 | py | Python | typing_protocol_intersection/__init__.py | klausweiss/typing-protocol-intersection | 6f255261d259388ec9c98dbd9e1251e04e58e6ef | [
"MIT"
] | null | null | null | typing_protocol_intersection/__init__.py | klausweiss/typing-protocol-intersection | 6f255261d259388ec9c98dbd9e1251e04e58e6ef | [
"MIT"
] | null | null | null | typing_protocol_intersection/__init__.py | klausweiss/typing-protocol-intersection | 6f255261d259388ec9c98dbd9e1251e04e58e6ef | [
"MIT"
] | null | null | null | from .types import ProtocolIntersection
__all__ = ["ProtocolIntersection"]
| 19 | 39 | 0.815789 | 6 | 76 | 9.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 76 | 3 | 40 | 25.333333 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 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 |
0003170f3708d7a49a5c8987ce23130854df962d | 174 | py | Python | Gold_Badges/Ayuba_Badge/backend/frontend/urls.py | preciousM494/Voting | 295c34814835ed89ddd6ab88a4d5d64a8c86da53 | [
"Apache-2.0"
] | 5 | 2021-09-15T08:03:05.000Z | 2022-03-31T22:12:35.000Z | Gold_Badges/Ayuba_Badge/backend/frontend/urls.py | preciousM494/Voting | 295c34814835ed89ddd6ab88a4d5d64a8c86da53 | [
"Apache-2.0"
] | null | null | null | Gold_Badges/Ayuba_Badge/backend/frontend/urls.py | preciousM494/Voting | 295c34814835ed89ddd6ab88a4d5d64a8c86da53 | [
"Apache-2.0"
] | 3 | 2021-12-10T01:30:38.000Z | 2021-12-26T17:45:13.000Z | from django.urls import path
from .views import Confirm_vote, index
urlpatterns = [
path('vote/',index,name='index'),
path('confirm/',Confirm_vote,name='confirm')
]
| 21.75 | 48 | 0.706897 | 23 | 174 | 5.26087 | 0.478261 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 174 | 7 | 49 | 24.857143 | 0.806667 | 0 | 0 | 0 | 0 | 0 | 0.143678 | 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 |
000323a3639fbf4e67e6f157e622343ec5198477 | 1,437 | py | Python | services/auth/documents/person.py | amthorn/qutex | 2bc441e63cba38d80aa9438b6278b732d44849a4 | [
"MIT"
] | null | null | null | services/auth/documents/person.py | amthorn/qutex | 2bc441e63cba38d80aa9438b6278b732d44849a4 | [
"MIT"
] | 239 | 2021-05-12T03:54:32.000Z | 2022-03-31T06:15:52.000Z | services/auth/documents/person.py | amthorn/qutex | 2bc441e63cba38d80aa9438b6278b732d44849a4 | [
"MIT"
] | 2 | 2022-02-17T23:13:12.000Z | 2022-03-02T20:28:41.000Z | import hashlib
from app import app
from setup_db import BaseMixin
class PersonDocument(BaseMixin, app.db.Document):
meta = {'collection': 'people', 'strict': False}
# serialize_rules = ('-passwordHash', '-password') # '-api_key_hash')
##########
# FIELDS #
##########
passwordHash = app.db.S... | 34.214286 | 98 | 0.653445 | 178 | 1,437 | 5.146067 | 0.41573 | 0.043668 | 0.056769 | 0.091703 | 0.19869 | 0.144105 | 0.144105 | 0 | 0 | 0 | 0 | 0.014834 | 0.202505 | 1,437 | 41 | 99 | 35.04878 | 0.784468 | 0.26444 | 0 | 0 | 0 | 0 | 0.033301 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0.117647 | 0.176471 | 0.117647 | 0.941176 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 3 |
0008bfa02b24811345d619e5049d0cc1923064a9 | 1,637 | py | Python | src/aspire/denoise/covar2d_ctf.py | janden/ASPIRE-Python | 5bcf831881fd0e42630c3b99671c5ed08de260ea | [
"MIT"
] | null | null | null | src/aspire/denoise/covar2d_ctf.py | janden/ASPIRE-Python | 5bcf831881fd0e42630c3b99671c5ed08de260ea | [
"MIT"
] | null | null | null | src/aspire/denoise/covar2d_ctf.py | janden/ASPIRE-Python | 5bcf831881fd0e42630c3b99671c5ed08de260ea | [
"MIT"
] | null | null | null | from aspire.denoise.covar2d import RotCov2D
import logging
logger = logging.getLogger(__name__)
class Cov2DCTF(RotCov2D):
"""
Define a derived class for denoising 2D images using CTF and Wiener Cov2D method
"""
def get_mean_ctf(self, coeffs, ctf_fb, ctf_idx):
"""
Calculate the mean ... | 34.829787 | 98 | 0.682346 | 216 | 1,637 | 4.986111 | 0.407407 | 0.025998 | 0.036212 | 0.029712 | 0.213556 | 0.178273 | 0.178273 | 0.133705 | 0.133705 | 0.133705 | 0 | 0.004882 | 0.249236 | 1,637 | 46 | 99 | 35.586957 | 0.87144 | 0.546732 | 0 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0.357143 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
001d3987d5867e2b53ddd5cee1431e45199512ef | 87 | py | Python | parquet_dataset/pytorch/__init__.py | rapidrabbit76/parquet-dataset | 64d4cccf76adc2a865521733294ddce1677f5180 | [
"MIT"
] | null | null | null | parquet_dataset/pytorch/__init__.py | rapidrabbit76/parquet-dataset | 64d4cccf76adc2a865521733294ddce1677f5180 | [
"MIT"
] | 3 | 2022-03-14T05:04:24.000Z | 2022-03-31T14:16:36.000Z | parquet_dataset/pytorch/__init__.py | rapidrabbit76/parquet-dataset | 64d4cccf76adc2a865521733294ddce1677f5180 | [
"MIT"
] | null | null | null | from .base_parquet_dataset import BaseParquetDataset
__all__ = ["BaseParquetDataset"]
| 21.75 | 52 | 0.83908 | 8 | 87 | 8.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 87 | 3 | 53 | 29 | 0.848101 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 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 |
0034b4944f23b7f8ae61862e3f922bc065ff1a32 | 265 | py | Python | alibi_cf/utils.py | LeonChou5311/Counterfactual-benchmark | 0185de1c4fcbe4090df4f117b38a9e2e994062ea | [
"MIT"
] | 2 | 2022-01-19T14:51:08.000Z | 2022-03-12T02:11:53.000Z | alibi_cf/utils.py | LeonChou5311/Counterfactual-benchmark | 0185de1c4fcbe4090df4f117b38a9e2e994062ea | [
"MIT"
] | null | null | null | alibi_cf/utils.py | LeonChou5311/Counterfactual-benchmark | 0185de1c4fcbe4090df4f117b38a9e2e994062ea | [
"MIT"
] | 1 | 2021-09-01T13:50:54.000Z | 2021-09-01T13:50:54.000Z | def get_cat_vars_dict(df, categorical_cols, feature_names, target_name):
cat_vars_dict = {}
for col in [ col for col in categorical_cols if col != target_name]:
cat_vars_dict[feature_names.index(col)] = len(df[col].unique())
return cat_vars_dict | 53 | 72 | 0.728302 | 43 | 265 | 4.139535 | 0.465116 | 0.157303 | 0.247191 | 0.191011 | 0.235955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 265 | 5 | 73 | 53 | 0.809091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 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 |
0041a7e613348dec9bab9f1f9cd22eabe8b7d0f7 | 211 | py | Python | backend/src/apps/battle/api/urls.py | LucienLuc/project-sts | 02ad13b515bcefe1c1ef30f0c06104359bff613e | [
"MIT"
] | null | null | null | backend/src/apps/battle/api/urls.py | LucienLuc/project-sts | 02ad13b515bcefe1c1ef30f0c06104359bff613e | [
"MIT"
] | null | null | null | backend/src/apps/battle/api/urls.py | LucienLuc/project-sts | 02ad13b515bcefe1c1ef30f0c06104359bff613e | [
"MIT"
] | null | null | null | from rest_framework import routers
# import views that will be mapped to url paths
from .views import BattleViewSet
router = routers.SimpleRouter()
router.register(r'', BattleViewSet)
urlpatterns = router.urls | 26.375 | 47 | 0.805687 | 28 | 211 | 6.035714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127962 | 211 | 8 | 48 | 26.375 | 0.918478 | 0.21327 | 0 | 0 | 0 | 0 | 0 | 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 |
004236e58f36f464b919dc83e8ecd4093bea642d | 2,095 | py | Python | tests/test_object_marker.py | kbh2o/slash | 532b7e3acdf46103ece5b86f21c29f9b58587289 | [
"BSD-3-Clause"
] | 70 | 2015-12-05T12:33:10.000Z | 2022-03-03T04:56:58.000Z | tests/test_object_marker.py | kbh2o/slash | 532b7e3acdf46103ece5b86f21c29f9b58587289 | [
"BSD-3-Clause"
] | 711 | 2015-10-06T11:01:48.000Z | 2022-02-09T12:40:47.000Z | tests/test_object_marker.py | kbh2o/slash | 532b7e3acdf46103ece5b86f21c29f9b58587289 | [
"BSD-3-Clause"
] | 37 | 2015-10-13T11:00:51.000Z | 2022-02-08T07:28:11.000Z | # pylint: disable=redefined-outer-name
import pytest
from slash.utils.marks import get_marks, mark, try_get_mark
def test_mark(marked_obj, mark_name, mark_value):
assert get_marks(marked_obj) == {mark_name: mark_value}
def test_mark_immutable(marked_obj, mark_name, mark_value):
marks = get_marks(marked_obj)... | 22.771739 | 72 | 0.720764 | 305 | 2,095 | 4.622951 | 0.17377 | 0.113475 | 0.13617 | 0.192908 | 0.443972 | 0.414894 | 0.31844 | 0.20922 | 0.183688 | 0.104255 | 0 | 0.00345 | 0.169928 | 2,095 | 91 | 73 | 23.021978 | 0.807361 | 0.022912 | 0 | 0.285714 | 0 | 0 | 0.041708 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 1 | 0.267857 | false | 0.071429 | 0.035714 | 0.035714 | 0.464286 | 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 |
004dbd1faed9ce22b0677a6342c020dfbef69e8d | 1,119 | py | Python | UCHII/HIIregions.py | xinglunju/CMZclouds | b496bc29fa4e393c79a0c4eb3542bf065aeb4d74 | [
"MIT"
] | null | null | null | UCHII/HIIregions.py | xinglunju/CMZclouds | b496bc29fa4e393c79a0c4eb3542bf065aeb4d74 | [
"MIT"
] | null | null | null | UCHII/HIIregions.py | xinglunju/CMZclouds | b496bc29fa4e393c79a0c4eb3542bf065aeb4d74 | [
"MIT"
] | 1 | 2019-01-24T01:43:15.000Z | 2019-01-24T01:43:15.000Z | import numpy as np
import astropy.units as u
import astropy.constants as const
mp=const.m_p.cgs.value
msol = const.M_sun.cgs.value
pc = const.pc.cgs.value
mp=const.m_p.cgs.value
c = const.pc.cgs.value
e = const.e.esu.value
me = const.m_e.cgs.value
kb=const.k_B.cgs.value
h = const.h.cgs.value
### Table from Davies et... | 27.975 | 120 | 0.625559 | 248 | 1,119 | 2.802419 | 0.471774 | 0.092086 | 0.051799 | 0.025899 | 0.305036 | 0.305036 | 0.256115 | 0.256115 | 0.198561 | 0.198561 | 0 | 0.229442 | 0.11975 | 1,119 | 39 | 121 | 28.692308 | 0.476142 | 0.118856 | 0 | 0.26087 | 0 | 0 | 0.028908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.130435 | null | null | 0.130435 | 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 |
cc5d47d13f5d914875708486f67774ad1b499d1b | 329 | py | Python | app/src/models/link.py | PythonBiellaGroup/FastCash | 7435b0da70ca374a21118bc80b35eaaa10b7a533 | [
"MIT"
] | 5 | 2021-09-13T20:09:54.000Z | 2022-03-12T12:27:31.000Z | app/src/models/link.py | PythonBiellaGroup/FastCash | 7435b0da70ca374a21118bc80b35eaaa10b7a533 | [
"MIT"
] | 1 | 2021-09-16T10:58:45.000Z | 2021-09-16T10:58:45.000Z | app/src/models/link.py | PythonBiellaGroup/FastCash | 7435b0da70ca374a21118bc80b35eaaa10b7a533 | [
"MIT"
] | 2 | 2021-09-16T09:03:12.000Z | 2021-10-08T21:52:14.000Z | from sqlmodel import SQLModel
from sqlmodel import Field
from typing import Optional
class ProductTagLink(SQLModel, table=True):
product_id: Optional[int] = Field(
default=None, foreign_key="product.id", primary_key=True
)
tag_id: Optional[int] = Field(default=None, foreign_key="tag.id", primary_k... | 29.909091 | 87 | 0.744681 | 45 | 329 | 5.311111 | 0.422222 | 0.100418 | 0.150628 | 0.150628 | 0.32636 | 0.32636 | 0.32636 | 0.32636 | 0 | 0 | 0 | 0 | 0.155015 | 329 | 10 | 88 | 32.9 | 0.859712 | 0 | 0 | 0 | 0 | 0 | 0.048632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.75 | 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 |
cc7712d8ac00af594ffb24d1577c84ca6b2be993 | 291 | py | Python | API/__init__.py | ItsLaro/Stuffed | 6be1aa0dc15c658bfab343e7fc1756bb186f05c0 | [
"MIT"
] | null | null | null | API/__init__.py | ItsLaro/Stuffed | 6be1aa0dc15c658bfab343e7fc1756bb186f05c0 | [
"MIT"
] | null | null | null | API/__init__.py | ItsLaro/Stuffed | 6be1aa0dc15c658bfab343e7fc1756bb186f05c0 | [
"MIT"
] | null | null | null | from flask_restful import Api
from Stuffed import app
from API.Vision import Vision_Setup
from API.TaskByID import TaskByID
restServer = Api(app)
restServer.add_resource(Vision_Setup, "/api/vision/<string:image_url>")
restServer.add_resource(TaskByID, "/api/v0.1/task/id/<string:taskID>") | 29.1 | 71 | 0.804124 | 44 | 291 | 5.181818 | 0.477273 | 0.061404 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.085911 | 291 | 10 | 72 | 29.1 | 0.849624 | 0 | 0 | 0 | 0 | 0 | 0.215753 | 0.215753 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
cc9cf7493d863b557d9bfe3f7550f413a6fb39e6 | 208 | py | Python | socketcheck.py | theboshy/ClientConsum | 2ea63310be643dbf46911136dbc61350b90ad99b | [
"MIT"
] | 7 | 2018-04-18T20:30:10.000Z | 2018-04-20T02:46:12.000Z | socketcheck.py | theboshy/client-consum | 2ea63310be643dbf46911136dbc61350b90ad99b | [
"MIT"
] | null | null | null | socketcheck.py | theboshy/client-consum | 2ea63310be643dbf46911136dbc61350b90ad99b | [
"MIT"
] | null | null | null | import socket
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
result = sock.connect_ex(('127.0.0.1',3000))
if result == 0:
print ("Port [3000] is not free")
else:
print ("Port [3000] is free")
| 26 | 56 | 0.682692 | 35 | 208 | 3.971429 | 0.571429 | 0.143885 | 0.18705 | 0.215827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107345 | 0.149038 | 208 | 7 | 57 | 29.714286 | 0.677966 | 0 | 0 | 0 | 0 | 0 | 0.245192 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.285714 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cca19f3f5bb6a8779affd5e02b3433ccdb634160 | 339 | py | Python | toby_dev_blog/models/utility.py | chodar89/toby-dev-blog-api | 88665a0026ef86419533c3867d6f68669c2d9567 | [
"MIT"
] | 1 | 2021-05-30T12:00:27.000Z | 2021-05-30T12:00:27.000Z | toby_dev_blog/models/utility.py | chodar89/toby-dev-blog | 88665a0026ef86419533c3867d6f68669c2d9567 | [
"MIT"
] | null | null | null | toby_dev_blog/models/utility.py | chodar89/toby-dev-blog | 88665a0026ef86419533c3867d6f68669c2d9567 | [
"MIT"
] | null | null | null | """Utility function for SQLAlchemy models"""
from sqlalchemy.dialects.postgresql import UUID
from sqlalchemy.ext.compiler import compiles
@compiles(UUID, "sqlite")
def compile_uuid_sqlite(*args, **kw):
"""
Overrides `UUID` with `String` for `Sqlite` database.
Used for automated test enviroment.
"""
... | 24.214286 | 57 | 0.716814 | 40 | 339 | 6.025 | 0.675 | 0.116183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168142 | 339 | 13 | 58 | 26.076923 | 0.85461 | 0.377581 | 0 | 0 | 0 | 0 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
ccb186e7b6d9e0527573ff0c7bd900b1553c8359 | 1,330 | py | Python | CODES/S28 - Automation Framework - Part 1/7_login_page.py | PacktPublishing/-Selenium-WebDriver-With-Python-3.x---Novice-To-Ninja-v- | 7be863a0a9c8da7e31a413742da92c2fcfd0b38a | [
"MIT"
] | 11 | 2019-05-17T00:54:17.000Z | 2021-11-12T22:12:18.000Z | CODES/S28 - Automation Framework - Part 1/7_login_page.py | PacktPublishing/-Selenium-WebDriver-With-Python-3.x---Novice-To-Ninja-v- | 7be863a0a9c8da7e31a413742da92c2fcfd0b38a | [
"MIT"
] | null | null | null | CODES/S28 - Automation Framework - Part 1/7_login_page.py | PacktPublishing/-Selenium-WebDriver-With-Python-3.x---Novice-To-Ninja-v- | 7be863a0a9c8da7e31a413742da92c2fcfd0b38a | [
"MIT"
] | 12 | 2019-06-17T00:56:01.000Z | 2021-09-29T11:38:53.000Z | from selenium.webdriver.common.by import By
from base.selenium_driver import SeleniumDriver
class LoginPage(SeleniumDriver):
def __init__(self, driver):
super().__init__(driver)
self.driver = driver
# Locators
_login_link = "Login"
_email_field = "user_email"
_password_field = "us... | 30.227273 | 73 | 0.684962 | 149 | 1,330 | 5.845638 | 0.275168 | 0.068886 | 0.064294 | 0.091848 | 0.231917 | 0.165327 | 0.165327 | 0.089552 | 0.089552 | 0 | 0 | 0 | 0.210526 | 1,330 | 44 | 74 | 30.227273 | 0.829524 | 0.278947 | 0 | 0 | 0 | 0 | 0.044351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0.217391 | 0.086957 | 0 | 0.565217 | 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 |
ccd27edb8ab05182da09e4fcefa6ca85018f7e9b | 510 | py | Python | MyApp/models.py | lakshya123/Inventory | d13121b2ac384fcd6919b8e217189a2496a6504d | [
"Apache-2.0"
] | null | null | null | MyApp/models.py | lakshya123/Inventory | d13121b2ac384fcd6919b8e217189a2496a6504d | [
"Apache-2.0"
] | 5 | 2021-03-30T13:54:19.000Z | 2021-09-22T19:25:55.000Z | MyApp/models.py | lakshya123/Inventory | d13121b2ac384fcd6919b8e217189a2496a6504d | [
"Apache-2.0"
] | null | null | null | from django.db import models
class Book(models.Model):
ISBN = models.CharField(max_length = 13,blank = True)
Title = models.CharField(max_length = 100,blank = True)
Subject = models.CharField(max_length = 30,blank = True)
Author = models.CharField(max_length = 20,blank = True)
Language = models.Cha... | 36.428571 | 61 | 0.705882 | 67 | 510 | 5.208955 | 0.507463 | 0.154728 | 0.25788 | 0.34384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02657 | 0.188235 | 510 | 13 | 62 | 39.230769 | 0.816425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.090909 | 0.090909 | 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 |
aeb60f00f239915dab7e47627056d009d555b0fc | 118 | py | Python | recipes/urls.py | evemon/ohsiha | 91d635bf5159b63cbd276b9dccabbf3ec8e4aa92 | [
"MIT"
] | null | null | null | recipes/urls.py | evemon/ohsiha | 91d635bf5159b63cbd276b9dccabbf3ec8e4aa92 | [
"MIT"
] | null | null | null | recipes/urls.py | evemon/ohsiha | 91d635bf5159b63cbd276b9dccabbf3ec8e4aa92 | [
"MIT"
] | null | null | null | from django.conf.urls import include, url
from . import views
urlpatterns = [
url(r'^$', views.recipesView),
]
| 13.111111 | 41 | 0.677966 | 15 | 118 | 5.333333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 118 | 8 | 42 | 14.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 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 |
aeb8adaa265ca72353d21180acb45412aaf1b276 | 1,060 | py | Python | sycs/sycsexceptions.py | n3s7or/symfonycasts | 1264469de24392389209b4432621011abce89118 | [
"WTFPL"
] | 2 | 2020-06-06T13:16:23.000Z | 2020-07-30T23:45:35.000Z | sycs/sycsexceptions.py | n3s7or/symfonycasts | 1264469de24392389209b4432621011abce89118 | [
"WTFPL"
] | 13 | 2020-05-19T13:44:39.000Z | 2021-04-06T22:27:55.000Z | sycs/sycsexceptions.py | n3s7or/symfonycasts | 1264469de24392389209b4432621011abce89118 | [
"WTFPL"
] | null | null | null | class SYCSException(Exception):
pass
class CredentialsException(SYCSException):
def __init__(self):
super(SYCSException, self).__init__('username or password not provided.')
class InvalidCredentialsException(SYCSException):
def __init__(self):
super(SYCSException, self).__init__('wrong u... | 32.121212 | 118 | 0.710377 | 111 | 1,060 | 6.342342 | 0.441441 | 0.136364 | 0.170455 | 0.204545 | 0.426136 | 0.426136 | 0.426136 | 0.426136 | 0 | 0 | 0 | 0.002358 | 0.2 | 1,060 | 33 | 119 | 32.121212 | 0.82783 | 0 | 0 | 0.285714 | 0 | 0 | 0.252592 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0 | 0 | 0.619048 | 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 |
aebb62a21973249cb107be6cd53622faec598e6c | 3,209 | py | Python | tests/MessageTranslator_test.py | mdmiller002/raft-py | db2d1ba5baab8823d81ab7b97cad539449340696 | [
"MIT"
] | null | null | null | tests/MessageTranslator_test.py | mdmiller002/raft-py | db2d1ba5baab8823d81ab7b97cad539449340696 | [
"MIT"
] | null | null | null | tests/MessageTranslator_test.py | mdmiller002/raft-py | db2d1ba5baab8823d81ab7b97cad539449340696 | [
"MIT"
] | null | null | null | from raft.message.MessageTranslator import *
from raft.NodeMetadata import *
import json
import pytest
@pytest.mark.parametrize("msg_type", ["heartbeat", "voteRequest", "voteResponse"])
def test_json_to_msg_success(msg_type: str):
json_obj = {
"type": msg_type,
"electionTerm": 1,
"senderHost": "localhost... | 29.990654 | 149 | 0.704269 | 412 | 3,209 | 5.208738 | 0.116505 | 0.039143 | 0.044734 | 0.089469 | 0.821062 | 0.778658 | 0.712022 | 0.626281 | 0.557782 | 0.472973 | 0 | 0.028665 | 0.141165 | 3,209 | 106 | 150 | 30.273585 | 0.75 | 0 | 0 | 0.536842 | 0 | 0 | 0.169212 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 1 | 0.094737 | false | 0 | 0.042105 | 0 | 0.136842 | 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 |
aec08465e31f1ee3bebb1288b706fc312508a608 | 256 | py | Python | __init__.py | jb-leger/avrxmegastuff | cb4f4be41070c632c29b37065b7b805632056210 | [
"MIT"
] | null | null | null | __init__.py | jb-leger/avrxmegastuff | cb4f4be41070c632c29b37065b7b805632056210 | [
"MIT"
] | null | null | null | __init__.py | jb-leger/avrxmegastuff | cb4f4be41070c632c29b37065b7b805632056210 | [
"MIT"
] | null | null | null |
from ._clock import clock32M
from ._uart import uart
from ._rs485 import rs485
from ._lcd4 import lcd4
from ._ds18b20 import ds18b20
from ._ev import ev
from ._pindesc import PinDesc
from ._buttons import buttons
from ._median_filter import median_filter
| 23.272727 | 41 | 0.820313 | 38 | 256 | 5.236842 | 0.342105 | 0.120603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 0.144531 | 256 | 10 | 42 | 25.6 | 0.826484 | 0 | 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 |
aec17c9e87a24b9ff7c00abc71f18927344b7a30 | 2,377 | pyde | Python | sketches/hero01/hero01.pyde | kantel/processingpy | 74aae222e46f68d1c8f06307aaede3cdae65c8ec | [
"MIT"
] | 4 | 2018-06-03T02:11:46.000Z | 2021-08-18T19:55:15.000Z | sketches/hero01/hero01.pyde | kantel/processingpy | 74aae222e46f68d1c8f06307aaede3cdae65c8ec | [
"MIT"
] | null | null | null | sketches/hero01/hero01.pyde | kantel/processingpy | 74aae222e46f68d1c8f06307aaede3cdae65c8ec | [
"MIT"
] | 3 | 2019-12-23T19:12:51.000Z | 2021-04-30T14:00:31.000Z | # Hero 01
from sprites3 import Hero, Orc, Obstacle
tilesize = 32
terrain = [[0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,7],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,7],
[0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,7],
[0,0,0,0,0,8,8,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,... | 29.345679 | 66 | 0.454775 | 433 | 2,377 | 2.496536 | 0.157044 | 0.288622 | 0.391304 | 0.469935 | 0.396855 | 0.395005 | 0.395005 | 0.349676 | 0.283996 | 0.237743 | 0 | 0.161227 | 0.35549 | 2,377 | 81 | 66 | 29.345679 | 0.544386 | 0.002945 | 0 | 0.162162 | 0 | 0 | 0.004643 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054054 | false | 0 | 0.013514 | 0 | 0.067568 | 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 |
aef780801a68296e9683d85ed0375842e41f5143 | 142 | py | Python | closest.py | shelper/leetcode | 128244a4f3ce039e0d378bb14b025d74a63979ea | [
"MIT"
] | null | null | null | closest.py | shelper/leetcode | 128244a4f3ce039e0d378bb14b025d74a63979ea | [
"MIT"
] | null | null | null | closest.py | shelper/leetcode | 128244a4f3ce039e0d378bb14b025d74a63979ea | [
"MIT"
] | null | null | null | def solution(A, B, s):
A.sort()
B.sort()
i = len(A) - 1
j = len(B) - 1
while 0 <= j <= len(B) - 1 and i:
pass
| 11.833333 | 37 | 0.394366 | 26 | 142 | 2.153846 | 0.538462 | 0.142857 | 0.178571 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0.415493 | 142 | 11 | 38 | 12.909091 | 0.626506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
4e226207b0d2740c37114e0ee394431461699e42 | 374 | py | Python | app/order/meal.py | hoslack/Book-A-Meal | d088b406db1398afb2968c359ac9f95620d1e263 | [
"MIT"
] | 2 | 2018-12-14T11:11:28.000Z | 2019-02-08T10:07:14.000Z | app/order/meal.py | hoslack/Book-A-Meal | d088b406db1398afb2968c359ac9f95620d1e263 | [
"MIT"
] | 1 | 2021-06-01T22:09:43.000Z | 2021-06-01T22:09:43.000Z | app/order/meal.py | hoslack/Book-A-Meal | d088b406db1398afb2968c359ac9f95620d1e263 | [
"MIT"
] | 2 | 2018-04-23T19:56:30.000Z | 2018-05-31T21:29:31.000Z | """Modelling the Meal class"""
import uuid
class Meal(object):
def __init__(self, name, price):
"""Initiating the class properties"""
self.id = uuid.uuid4().int # generate unique id for the meal
self.name = name
self.price = price
def __repr__(self):
"""Represent meal... | 23.375 | 69 | 0.601604 | 46 | 374 | 4.717391 | 0.543478 | 0.110599 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003663 | 0.270053 | 374 | 15 | 70 | 24.933333 | 0.791209 | 0.307487 | 0 | 0 | 1 | 0 | 0.008264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
4e3561a04aa2baec4a3b968b56b21bbf73e5733e | 336 | py | Python | avaliacoes/api/serializers.py | RodrigoMachado9/django-api | 65d61f5cd8e2ca4552af8d5bec9c862ce49b07b8 | [
"MIT"
] | 1 | 2020-06-29T21:14:43.000Z | 2020-06-29T21:14:43.000Z | avaliacoes/api/serializers.py | RodrigoMachado9/django_api | 65d61f5cd8e2ca4552af8d5bec9c862ce49b07b8 | [
"MIT"
] | 1 | 2020-06-22T01:54:45.000Z | 2020-06-22T01:54:45.000Z | avaliacoes/api/serializers.py | RodrigoMachado9/django_api | 65d61f5cd8e2ca4552af8d5bec9c862ce49b07b8 | [
"MIT"
] | null | null | null | from rest_framework.serializers import ModelSerializer
from avaliacoes.models import Avaliacao
class AvaliacaoSerializer(ModelSerializer):
class Meta:
model = Avaliacao
#todo warning cuidado com os espaços ao criar os atributos - Hehe
fields = ('id','user', 'comentario', 'nota',
... | 33.6 | 74 | 0.681548 | 35 | 336 | 6.514286 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241071 | 336 | 9 | 75 | 37.333333 | 0.894118 | 0.193452 | 0 | 0 | 0 | 0 | 0.088889 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9d63bf0cfdfb148c0ed47bf432249afb00e4ae51 | 333 | py | Python | safety/safety/doctype/security_rule/security_rule.py | mboujaha/safety | d8034b7cf6731c4c31b1bd60a70c6383c08ec005 | [
"MIT"
] | null | null | null | safety/safety/doctype/security_rule/security_rule.py | mboujaha/safety | d8034b7cf6731c4c31b1bd60a70c6383c08ec005 | [
"MIT"
] | null | null | null | safety/safety/doctype/security_rule/security_rule.py | mboujaha/safety | d8034b7cf6731c4c31b1bd60a70c6383c08ec005 | [
"MIT"
] | null | null | null | # Copyright (c) 2021, Cosumar Digital Factory and contributors
# For license information, please see license.txt
# import frappe
from frappe.model.document import Document
class SecurityRule(Document):
def db_insert(self):
pass
def load_from_db(self):
pass
def db_update(self):
pass
def get_list(self, a... | 16.65 | 62 | 0.750751 | 48 | 333 | 5.104167 | 0.645833 | 0.097959 | 0.134694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.171171 | 333 | 19 | 63 | 17.526316 | 0.873188 | 0.366366 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0.1 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
9dc319d34eb29277fa1909e0b40ed34c969aa796 | 100 | py | Python | src/tmtccmd/pus/service_8_func_cmd.py | spacefishy/tmtccmd | ffb864dd2731af39cf05c91a49e4f4235ba66fba | [
"Apache-2.0"
] | 2 | 2021-05-16T21:09:39.000Z | 2021-07-22T18:06:48.000Z | src/tmtccmd/pus/service_8_func_cmd.py | robamu-org/tmtccmd | 7b8b936f0d18fdbd375da92d43ecdd37d71ded57 | [
"Apache-2.0"
] | 8 | 2021-09-06T17:23:32.000Z | 2022-03-04T13:41:52.000Z | src/tmtccmd/pus/service_8_func_cmd.py | robamu-org/tmtccmd | 7b8b936f0d18fdbd375da92d43ecdd37d71ded57 | [
"Apache-2.0"
] | null | null | null | import enum
class Srv8Subservices(enum.IntEnum):
FUNCTIONAL_CMD = (128,)
DATA_REPLY = 130
| 14.285714 | 36 | 0.71 | 12 | 100 | 5.75 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0875 | 0.2 | 100 | 6 | 37 | 16.666667 | 0.775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
9de58beb21a73a166f8b93e8ad3502e1ba84bf65 | 155 | py | Python | cat/script.py | oyusec/oyusec.github.io | 9f9e81a953d7d624509bf055296b18da6ae769a9 | [
"MIT"
] | 6 | 2021-01-19T16:01:05.000Z | 2021-04-21T09:41:51.000Z | cat/script.py | ByamB4/oyusec.github.io | 13094c310b926e0922fae0eb95e73d0c2774f574 | [
"MIT"
] | 12 | 2021-05-03T01:44:16.000Z | 2021-07-04T09:36:44.000Z | cat/script.py | oyusec/oyusec.github.io | 9f9e81a953d7d624509bf055296b18da6ae769a9 | [
"MIT"
] | 2 | 2021-12-09T01:25:30.000Z | 2022-01-10T23:37:59.000Z | from apps.academy.models import *
_ = 'Кибер'
Academy.objects.create(name=_, description='b')
ac = Academy.objects.filter(name=_).first()
print(ac.slug)
| 19.375 | 47 | 0.729032 | 21 | 155 | 5.238095 | 0.761905 | 0.254545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 155 | 7 | 48 | 22.142857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.03871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 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 |
9df29f9fc5f76d7edeba6937596d654a125ec7f4 | 108 | py | Python | camp_registration/apps.py | chschenk/qcos | 7eaa5f2a599f000c72e1ea2a17f6e663ddc14318 | [
"MIT"
] | null | null | null | camp_registration/apps.py | chschenk/qcos | 7eaa5f2a599f000c72e1ea2a17f6e663ddc14318 | [
"MIT"
] | null | null | null | camp_registration/apps.py | chschenk/qcos | 7eaa5f2a599f000c72e1ea2a17f6e663ddc14318 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CampRegistrationConfig(AppConfig):
name = 'camp_registration'
| 18 | 40 | 0.796296 | 11 | 108 | 7.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 108 | 5 | 41 | 21.6 | 0.913978 | 0 | 0 | 0 | 0 | 0 | 0.157407 | 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 |
d182a4b4b3354e13cdb74d42e72164639749fcbb | 189 | py | Python | 0-notes/job-search/Cracking_the_Coding_Interview/C05BitManipulation/questions/5.7-question.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | 0-notes/job-search/Cracking_the_Coding_Interview/C05BitManipulation/questions/5.7-question.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | 0-notes/job-search/Cracking_the_Coding_Interview/C05BitManipulation/questions/5.7-question.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | # 5.7 Pairwise Swap
# Write a program to swap odd and even bits in an integer with as few instructions as possible.
# E.G. bit 0 and bit 1 are swapped, bit 2 and bit 3 are swapped, etc.)
| 31.5 | 95 | 0.719577 | 39 | 189 | 3.487179 | 0.769231 | 0.088235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0.222222 | 189 | 5 | 96 | 37.8 | 0.884354 | 0.952381 | 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 |
d1959bfb82c4e891aacbbeef1169188a06d3e890 | 62 | py | Python | vision_datasets/resources/__init__.py | msxingpeng/vision-datasets | 41f40bd891b0814d258acf7fc02a04b7c41e9b06 | [
"MIT"
] | null | null | null | vision_datasets/resources/__init__.py | msxingpeng/vision-datasets | 41f40bd891b0814d258acf7fc02a04b7c41e9b06 | [
"MIT"
] | 3 | 2021-11-24T21:16:29.000Z | 2022-03-07T21:08:39.000Z | vision_datasets/resources/__init__.py | msxingpeng/vision-datasets | 41f40bd891b0814d258acf7fc02a04b7c41e9b06 | [
"MIT"
] | 4 | 2021-08-24T02:49:28.000Z | 2021-11-19T19:42:11.000Z | from .dataset_hub import DatasetHub
__all__ = ['DatasetHub']
| 15.5 | 35 | 0.774194 | 7 | 62 | 6.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 3 | 36 | 20.666667 | 0.796296 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 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 |
d1bf44ba5a0a92cd5a5e0c41c4dd110cc8ce2d24 | 2,471 | py | Python | src/configuration.py | FreddyHurkmans/cmock | 478a9d5a7a21ef0c5908969a4f2b492e0dd076a1 | [
"BSD-3-Clause"
] | 3 | 2015-06-04T12:59:55.000Z | 2018-03-06T20:43:16.000Z | src/configuration.py | FreddyHurkmans/cmock | 478a9d5a7a21ef0c5908969a4f2b492e0dd076a1 | [
"BSD-3-Clause"
] | 1 | 2015-05-31T14:07:25.000Z | 2015-06-06T19:34:19.000Z | src/configuration.py | FreddyHurkmans/cmock | 478a9d5a7a21ef0c5908969a4f2b492e0dd076a1 | [
"BSD-3-Clause"
] | 1 | 2019-07-03T12:34:08.000Z | 2019-07-03T12:34:08.000Z | class Config(object):
DESCRIPTION = 'Mock generator for c code'
VERSION = '0.5'
AUTHOR = 'Freddy Hurkmans'
LICENSE = 'BSD 3-Clause'
# set defaults for parameters
verbose = False
max_nr_function_calls = '25'
charstar_is_input_string = False
UNITY_INCLUDE = '#include "unity.h"'
#... | 45.759259 | 73 | 0.681101 | 304 | 2,471 | 5.065789 | 0.305921 | 0.194805 | 0.292208 | 0.105195 | 0.562338 | 0.305195 | 0.146104 | 0 | 0 | 0 | 0 | 0.030303 | 0.198705 | 2,471 | 53 | 74 | 46.622642 | 0.747475 | 0.122218 | 0 | 0 | 0 | 0 | 0.597409 | 0.429431 | 0 | 0 | 0 | 0 | 0.72093 | 1 | 0 | false | 0 | 0 | 0 | 0.27907 | 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 | 1 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d1c1be7481b52082977cc27ee4e3b9785fba1366 | 86 | py | Python | week_1/script_test.py | Amirgav/coursera_data_structures_and_algorithms | ca322d7b31c2a69042404e82b4be80dfd9a32664 | [
"MIT"
] | null | null | null | week_1/script_test.py | Amirgav/coursera_data_structures_and_algorithms | ca322d7b31c2a69042404e82b4be80dfd9a32664 | [
"MIT"
] | null | null | null | week_1/script_test.py | Amirgav/coursera_data_structures_and_algorithms | ca322d7b31c2a69042404e82b4be80dfd9a32664 | [
"MIT"
] | null | null | null | import sys
n = int(sys.argv[1])
print(n)
print(' '.join([str(i+1) for i in range(n)])) | 21.5 | 45 | 0.616279 | 19 | 86 | 2.789474 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.127907 | 86 | 4 | 45 | 21.5 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 |
d1d67d8708262e2c91adf5940b8ab6d4155ce992 | 232 | py | Python | app-tier/credentials.py | Arindam-Jain/CC-546-Project | d93fe211544061a6966038077200fac846267eaa | [
"MIT"
] | null | null | null | app-tier/credentials.py | Arindam-Jain/CC-546-Project | d93fe211544061a6966038077200fac846267eaa | [
"MIT"
] | null | null | null | app-tier/credentials.py | Arindam-Jain/CC-546-Project | d93fe211544061a6966038077200fac846267eaa | [
"MIT"
] | null | null | null | INPUT_BUCKET = 'input-image-files'
OUTPUT_BUCKET = 'output-image-files'
INPUT_QUEUE = 'https://sqs.us-east-1.amazonaws.com/378107157540/Request-Queue'
OUTPUT_QUEUE = 'https://sqs.us-east-1.amazonaws.com/378107157540/Response-Queue'
| 46.4 | 80 | 0.784483 | 34 | 232 | 5.235294 | 0.470588 | 0.11236 | 0.146067 | 0.168539 | 0.494382 | 0.494382 | 0.494382 | 0.494382 | 0.494382 | 0 | 0 | 0.118182 | 0.051724 | 232 | 4 | 81 | 58 | 0.690909 | 0 | 0 | 0 | 0 | 0 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d1d8aa18465dd269a119149bd5a0ec5db5f8d307 | 811 | py | Python | cv/translation.py | abi83/kromm.info | cbdc91627ba4afb6151109668d8b05fea93f3dc3 | [
"MIT"
] | null | null | null | cv/translation.py | abi83/kromm.info | cbdc91627ba4afb6151109668d8b05fea93f3dc3 | [
"MIT"
] | null | null | null | cv/translation.py | abi83/kromm.info | cbdc91627ba4afb6151109668d8b05fea93f3dc3 | [
"MIT"
] | null | null | null | from modeltranslation.translator import register, TranslationOptions
from .models import Study, Job, Project, ProjectImage, CV, Skill
@register(Study)
class StudyTranslationOptions(TranslationOptions):
fields = ('name', 'degree', 'description',)
@register(Skill)
class JobTranslationOptions(TranslationOptions):
... | 24.575758 | 68 | 0.752158 | 66 | 811 | 9.227273 | 0.439394 | 0.236453 | 0.091954 | 0.164204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120838 | 811 | 32 | 69 | 25.34375 | 0.854137 | 0 | 0 | 0.1 | 0 | 0 | 0.125771 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.7 | 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 |
d1e13e7abeb79cebe304d9a328108fe6c3d8ec66 | 1,755 | py | Python | Back/ecoreleve_server/modules/export/export_view.py | NaturalSolutions/ecoReleve-Data | 535a6165984544902563eca7cb10d07f1686c963 | [
"MIT"
] | 15 | 2015-02-15T18:02:54.000Z | 2021-10-31T00:08:41.000Z | Back/ecoreleve_server/modules/export/export_view.py | NaturalSolutions/ecoReleve-Data | 535a6165984544902563eca7cb10d07f1686c963 | [
"MIT"
] | 505 | 2015-03-24T15:16:55.000Z | 2022-03-21T22:17:11.000Z | Back/ecoreleve_server/modules/export/export_view.py | NaturalSolutions/ecoReleve-Data | 535a6165984544902563eca7cb10d07f1686c963 | [
"MIT"
] | 31 | 2015-04-09T10:48:31.000Z | 2020-12-08T16:32:30.000Z | from pyramid.view import view_config, view_defaults
from ecoreleve_server.core.base_view import RestCollectionView
from .export_resource import ExportQueryResource
@view_defaults(context=ExportQueryResource)
class ExportQueryView(RestCollectionView):
@view_config(name='getFilters', renderer='json', request_m... | 39 | 93 | 0.619373 | 184 | 1,755 | 5.728261 | 0.201087 | 0.075901 | 0.092979 | 0.172676 | 0.378558 | 0.276091 | 0.276091 | 0.128083 | 0 | 0 | 0 | 0 | 0.246724 | 1,755 | 45 | 94 | 39 | 0.797277 | 0.488319 | 0 | 0 | 0 | 0 | 0.067275 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.214286 | 0.214286 | 0.714286 | 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 |
d1e9321cff0abfefc8250cd48f54a67265283a4b | 1,730 | py | Python | erpnextloyaltyapp/config/erpnextloyaltyapp.py | ravindra-lakal/erpnextloyaltyapp | 59d7aaa109e39510672788585c49f33779aa4413 | [
"MIT"
] | 3 | 2016-03-22T08:48:36.000Z | 2021-04-27T20:18:31.000Z | erpnextloyaltyapp/config/erpnextloyaltyapp.py | ravindra-lakal/erpnextloyaltyapp | 59d7aaa109e39510672788585c49f33779aa4413 | [
"MIT"
] | 1 | 2016-03-16T07:35:20.000Z | 2016-03-16T07:35:20.000Z | erpnextloyaltyapp/config/erpnextloyaltyapp.py | ravindra-lakal/erpnextloyaltyapp | 59d7aaa109e39510672788585c49f33779aa4413 | [
"MIT"
] | 4 | 2016-02-22T14:25:40.000Z | 2018-06-27T19:28:45.000Z | from __future__ import unicode_literals
from frappe import _
def get_data():
return [
{
"label": _("Masters"),
"icon": "icon-wrench",
"items": [
{
"type": "doctype",
"name": "Item",
"description":_("Item Database"),
},
{
"type": "doctype",
"name": "Store",
"descript... | 18.020833 | 58 | 0.477457 | 132 | 1,730 | 6.083333 | 0.378788 | 0.178082 | 0.242839 | 0.257783 | 0.26401 | 0.26401 | 0.11457 | 0 | 0 | 0 | 0 | 0 | 0.305202 | 1,730 | 96 | 59 | 18.020833 | 0.668053 | 0 | 0 | 0.25 | 0 | 0 | 0.445985 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011364 | true | 0 | 0.022727 | 0.011364 | 0.045455 | 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 |
d1eda287481d9816cc341f2b41cf0678c089462f | 841 | py | Python | messenger/server.py | exoson/messenger | c7e1642263f819c2828213540cf483443f67abcf | [
"MIT"
] | null | null | null | messenger/server.py | exoson/messenger | c7e1642263f819c2828213540cf483443f67abcf | [
"MIT"
] | null | null | null | messenger/server.py | exoson/messenger | c7e1642263f819c2828213540cf483443f67abcf | [
"MIT"
] | null | null | null | import grpc
from concurrent import futures
import time
import messenger_pb2_grpc
import messenger_pb2 as api
class MessengerServicer(messenger_pb2_grpc.MessengerServiceServicer):
def Send(self, request, context):
pass
def Recieve(self, request, context):
pass
def Login(self, request, c... | 24.028571 | 78 | 0.6956 | 100 | 841 | 5.72 | 0.49 | 0.083916 | 0.125874 | 0.076923 | 0.29021 | 0.101399 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0.200951 | 841 | 34 | 79 | 24.735294 | 0.842262 | 0 | 0 | 0.083333 | 0 | 0 | 0.045238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.208333 | false | 0.083333 | 0.208333 | 0 | 0.541667 | 0.083333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
d1edf14f6e7c9fbbb4ac54b51113021f583c6603 | 314 | py | Python | compose_mode/exceptions.py | MacFarlaneBro/compose-mode | 3f1b3eb0c63f0d13976da2694f1460e11c8f8c6a | [
"MIT"
] | 2 | 2016-09-06T11:56:32.000Z | 2018-02-06T12:01:28.000Z | compose_mode/exceptions.py | MacFarlaneBro/compose-mode | 3f1b3eb0c63f0d13976da2694f1460e11c8f8c6a | [
"MIT"
] | 6 | 2016-03-10T14:24:43.000Z | 2021-06-03T09:15:47.000Z | compose_mode/exceptions.py | MacFarlaneBro/compose-mode | 3f1b3eb0c63f0d13976da2694f1460e11c8f8c6a | [
"MIT"
] | 2 | 2018-02-11T14:21:12.000Z | 2021-06-02T12:38:18.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
class ComposeModeException(Exception):
""" Base exception for compose-mode """
class ComposeModeYmlNotFound(ComposeModeException):
""" Exception raised when no configuration file was found """
def main():
pass
if __name__ == '__main__':
main()
| 16.526316 | 65 | 0.675159 | 33 | 314 | 6.181818 | 0.818182 | 0.284314 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003922 | 0.187898 | 314 | 18 | 66 | 17.444444 | 0.796078 | 0.414013 | 0 | 0 | 0 | 0 | 0.047059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0.166667 | 0 | 0 | 0.5 | 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 |
06097309140f45ac579a6e54c8d50d202d5ce4d5 | 215 | py | Python | blog/blog/apps.py | sachiv/django_blog | c5e722401fc2b3ce11dd69ff6e0f3514e2db0160 | [
"MIT"
] | 1 | 2021-01-21T14:36:30.000Z | 2021-01-21T14:36:30.000Z | blog/blog/apps.py | sachiv/django_blog | c5e722401fc2b3ce11dd69ff6e0f3514e2db0160 | [
"MIT"
] | null | null | null | blog/blog/apps.py | sachiv/django_blog | c5e722401fc2b3ce11dd69ff6e0f3514e2db0160 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class BlogConfig(AppConfig):
name = 'blog.blog'
verbose_name = "Blog"
verbose_name_plural = "Blog"
def ready(self):
import blog.blog.signals
pass
| 17.916667 | 33 | 0.655814 | 26 | 215 | 5.307692 | 0.615385 | 0.115942 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255814 | 215 | 11 | 34 | 19.545455 | 0.8625 | 0 | 0 | 0 | 0 | 0 | 0.07907 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.125 | 0.25 | 0 | 0.875 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
ae22e4f140dc6ef4e437a5decc99f45627f7d8c0 | 184 | py | Python | Model/db.py | xTobu/CapitalAPI | 86ebf68a6ba10a14d93ae4d7f20b66ae63e8816b | [
"MIT"
] | null | null | null | Model/db.py | xTobu/CapitalAPI | 86ebf68a6ba10a14d93ae4d7f20b66ae63e8816b | [
"MIT"
] | null | null | null | Model/db.py | xTobu/CapitalAPI | 86ebf68a6ba10a14d93ae4d7f20b66ae63e8816b | [
"MIT"
] | null | null | null | import mysql.connector
def conn():
conn = mysql.connector.connect(
host = "127.0.0.1",
user = "root",
password = "0000",
database = "future",
)
return conn | 18.4 | 35 | 0.576087 | 22 | 184 | 4.818182 | 0.772727 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 0.271739 | 184 | 10 | 36 | 18.4 | 0.716418 | 0 | 0 | 0 | 0 | 0 | 0.124324 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.111111 | 0.111111 | 0 | 0.333333 | 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 |
ae2693c1d62e4ebc175a8fe1337345afeb75fae2 | 1,051 | py | Python | Types & Operations/Integers-&-Floating-Point-Numbers/Bitwise-Operations.py | PableraShow/python-exercises | e1648fd42f3009ec6fb1e2096852b6d399e91d5b | [
"MIT"
] | 8 | 2018-10-01T17:35:57.000Z | 2022-02-01T08:12:12.000Z | Types & Operations/Integers-&-Floating-Point-Numbers/Bitwise-Operations.py | PableraShow/python-exercises | e1648fd42f3009ec6fb1e2096852b6d399e91d5b | [
"MIT"
] | null | null | null | Types & Operations/Integers-&-Floating-Point-Numbers/Bitwise-Operations.py | PableraShow/python-exercises | e1648fd42f3009ec6fb1e2096852b6d399e91d5b | [
"MIT"
] | 6 | 2018-07-22T19:15:21.000Z | 2022-02-05T07:54:58.000Z | """
These operators all use the underlying twos-complement binary representation of the integral part of the numbers x and y.
Syntax:
~x bitwise not (negation) of x
x & y bitwise and (conjunction) of x and y
x | y bitwise or (disjunction) of x and y
x ^ y bitwise exclusive or of x and... | 32.84375 | 122 | 0.52902 | 149 | 1,051 | 3.731544 | 0.38255 | 0.032374 | 0.035971 | 0.03777 | 0.23741 | 0.18705 | 0.057554 | 0 | 0 | 0 | 0 | 0.204688 | 0.391056 | 1,051 | 31 | 123 | 33.903226 | 0.664063 | 0.369172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
ae2bfe172b2f8c1339007b7784e9b49259ec4025 | 1,148 | py | Python | project/editorial/migrations/0016_auto_20170423_0040.py | cojennin/facet | 230e65316134b3399a35d40034728e61ba63cb2a | [
"MIT"
] | 25 | 2015-07-13T22:16:36.000Z | 2021-11-11T02:45:32.000Z | project/editorial/migrations/0016_auto_20170423_0040.py | cojennin/facet | 230e65316134b3399a35d40034728e61ba63cb2a | [
"MIT"
] | 74 | 2015-12-01T18:57:47.000Z | 2022-03-11T23:25:47.000Z | project/editorial/migrations/0016_auto_20170423_0040.py | cojennin/facet | 230e65316134b3399a35d40034728e61ba63cb2a | [
"MIT"
] | 6 | 2016-01-08T21:12:43.000Z | 2019-05-20T16:07:56.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('editorial', '0015_remove_videoasset_embed'),
]
operations = [
migrations.RemoveField(
model_name='audiofacet',
... | 24.425532 | 54 | 0.536585 | 81 | 1,148 | 7.407407 | 0.407407 | 0.28 | 0.346667 | 0.4 | 0.466667 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0.006748 | 0.35453 | 1,148 | 46 | 55 | 24.956522 | 0.802969 | 0.018293 | 0 | 0.6 | 0 | 0 | 0.178667 | 0.024889 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.125 | 0.05 | 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 |
ae3c7eb2cca918fd10fd806d8782036fea856f94 | 266 | py | Python | learnit/__init__.py | suhara/learnit | 5db6e80d2bd2d1bf1a381f668db40288888236e4 | [
"Apache-2.0"
] | 5 | 2020-02-27T22:16:29.000Z | 2020-07-12T21:50:38.000Z | learnit/__init__.py | suhara/learnit | 5db6e80d2bd2d1bf1a381f668db40288888236e4 | [
"Apache-2.0"
] | 2 | 2020-02-28T04:06:04.000Z | 2020-02-28T04:06:08.000Z | learnit/__init__.py | suhara/learnit | 5db6e80d2bd2d1bf1a381f668db40288888236e4 | [
"Apache-2.0"
] | 1 | 2020-02-27T22:19:17.000Z | 2020-02-27T22:19:17.000Z | from .autoconverter.autoconverter import AutoConverter, check_transformer
from .autolearn.autolearn import AutoLearn
from .autolearn.evaluate import Evaluate
__all__ = ['AutoConverter',
'AutoLearn',
'Evaluate',
'check_transformer']
| 29.555556 | 73 | 0.721805 | 23 | 266 | 8.086957 | 0.347826 | 0.172043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.199248 | 266 | 8 | 74 | 33.25 | 0.873239 | 0 | 0 | 0 | 0 | 0 | 0.176692 | 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 |
ae565e64ea0e2d86295c84ed122b9381f464d24d | 850 | py | Python | office365/directory/servicePrincipal.py | andrewcchoi/Office365-REST-Python-Client | 43db12ae532c804c75a3a34f7b0d7d79e30fdac3 | [
"MIT"
] | null | null | null | office365/directory/servicePrincipal.py | andrewcchoi/Office365-REST-Python-Client | 43db12ae532c804c75a3a34f7b0d7d79e30fdac3 | [
"MIT"
] | null | null | null | office365/directory/servicePrincipal.py | andrewcchoi/Office365-REST-Python-Client | 43db12ae532c804c75a3a34f7b0d7d79e30fdac3 | [
"MIT"
] | null | null | null | from office365.directory.directoryObject import DirectoryObject
from office365.entity_collection import EntityCollection
class ServicePrincipal(DirectoryObject):
"""Represents an instance of an application in a directory."""
@property
def app_display_name(self):
"""The collection of key credentia... | 30.357143 | 98 | 0.735294 | 91 | 850 | 6.659341 | 0.549451 | 0.029703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008633 | 0.182353 | 850 | 27 | 99 | 31.481481 | 0.863309 | 0.161176 | 0 | 0.133333 | 0 | 0 | 0.027417 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.266667 | 0.133333 | 0.066667 | 0.733333 | 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 |
ae61fd10b8986025e2fd16436a70d4e83e1a878f | 1,588 | py | Python | exercises/exercise1/comprehensions.py | 07734willy/Python-Playground | a0021d67de40b5e927026e4fb5ad882e1d7ec984 | [
"MIT"
] | null | null | null | exercises/exercise1/comprehensions.py | 07734willy/Python-Playground | a0021d67de40b5e927026e4fb5ad882e1d7ec984 | [
"MIT"
] | null | null | null | exercises/exercise1/comprehensions.py | 07734willy/Python-Playground | a0021d67de40b5e927026e4fb5ad882e1d7ec984 | [
"MIT"
] | null | null | null | # The goal of this exercise is to get hands-on experience working with
# list comprehensions, and other comprehensions. Write a complementary
# function to each of the below, which accomplishes the same logic in
# a one-liner (using list/set/dict comprehensions).
# Exercise 1
# Adds 5 to each element
def add_five(nu... | 22.366197 | 71 | 0.693325 | 233 | 1,588 | 4.562232 | 0.373391 | 0.052681 | 0.084666 | 0.042333 | 0.38476 | 0.249294 | 0.174976 | 0.14111 | 0 | 0 | 0 | 0.015447 | 0.225441 | 1,588 | 70 | 72 | 22.685714 | 0.84878 | 0.393577 | 0 | 0.394737 | 0 | 0 | 0.008484 | 0 | 0 | 0 | 0 | 0.014286 | 0.078947 | 1 | 0.263158 | false | 0.105263 | 0 | 0 | 0.342105 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
ae62958db9e8a759cabc67dec1cf6c66468704ec | 1,218 | py | Python | django_modals/includes.py | jonesim/django-modals | 57b3f6299b489e05e216cda033728cd6592d9af2 | [
"MIT"
] | 8 | 2021-06-04T14:15:02.000Z | 2022-01-24T07:21:41.000Z | django_modals/includes.py | jonesim/django-modals | 57b3f6299b489e05e216cda033728cd6592d9af2 | [
"MIT"
] | null | null | null | django_modals/includes.py | jonesim/django-modals | 57b3f6299b489e05e216cda033728cd6592d9af2 | [
"MIT"
] | null | null | null | from ajax_helpers.html_include import SourceBase, pip_version
version = pip_version('django-nested-modals')
class DefaultInclude(SourceBase):
static_path = 'ajax_helpers/'
js_filename = 'ajax_helpers.js'
js_path = ''
class Modals(SourceBase):
static_path = 'django_modals/'
filename = 'modals'
... | 22.555556 | 70 | 0.713465 | 144 | 1,218 | 5.805556 | 0.340278 | 0.15311 | 0.191388 | 0.217703 | 0.284689 | 0.093301 | 0.093301 | 0 | 0 | 0 | 0 | 0.016716 | 0.165025 | 1,218 | 53 | 71 | 22.981132 | 0.80531 | 0 | 0 | 0.176471 | 0 | 0 | 0.344007 | 0.189655 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029412 | 0 | 0.882353 | 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 |
ae63e5fef3810fc0b096141f9ec6233602b2105c | 177 | py | Python | median.py | shanbits/statistical_distributions | a690e1bd91646ba22899dcdf361688009a4b58d0 | [
"MIT"
] | null | null | null | median.py | shanbits/statistical_distributions | a690e1bd91646ba22899dcdf361688009a4b58d0 | [
"MIT"
] | 4 | 2021-04-13T06:59:52.000Z | 2021-04-15T06:45:53.000Z | median.py | shanbits/statistical_distributions | a690e1bd91646ba22899dcdf361688009a4b58d0 | [
"MIT"
] | null | null | null | n = len(x)
if n % 2:
median_ = sorted(x)[round(0.5*(n-1))]
else:
x_ord, index = sorted(x), round(0.5 * n)
median_ = 0.5 * (x_ord[index-1] + x_ord[index])
median_ | 22.125 | 52 | 0.553672 | 35 | 177 | 2.628571 | 0.4 | 0.065217 | 0.293478 | 0.282609 | 0.326087 | 0.326087 | 0 | 0 | 0 | 0 | 0 | 0.066176 | 0.231638 | 177 | 8 | 53 | 22.125 | 0.610294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
ae7a3b30ca858e1ae2ff22fcc9a9e242dc0b6070 | 536 | py | Python | lithium/manage/run.py | PressLabs/lithium | a222e4021aabcbec0fd24bcecf904a0ee7ec852d | [
"Apache-2.0"
] | 2 | 2015-03-20T10:57:14.000Z | 2015-03-20T11:03:39.000Z | lithium/manage/run.py | PressLabs/lithium | a222e4021aabcbec0fd24bcecf904a0ee7ec852d | [
"Apache-2.0"
] | null | null | null | lithium/manage/run.py | PressLabs/lithium | a222e4021aabcbec0fd24bcecf904a0ee7ec852d | [
"Apache-2.0"
] | null | null | null | import argh
import argparse
from lithium.manage.commands.services import new
from lithium.manage.commands.clients import generate
from lithium.manage.commands.users import import_data
parser = argh.ArghParser()
parser.add_commands([new], namespace='service', title='Services related commands')
parser.add_commands([gene... | 31.529412 | 85 | 0.787313 | 68 | 536 | 6.014706 | 0.397059 | 0.080685 | 0.124694 | 0.183374 | 0.156479 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091418 | 536 | 16 | 86 | 33.5 | 0.839836 | 0 | 0 | 0 | 1 | 0 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.461538 | 0 | 0.538462 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ae80897e9aa70c452d1b55a84fb8929c45a0abf7 | 818 | py | Python | texture.py | swiftcoder/aurae | 17422db444dcd9fa681ea27678efe5b265a1efbf | [
"MIT"
] | 6 | 2015-05-03T15:00:02.000Z | 2019-01-31T16:52:30.000Z | texture.py | thejasonfisher/aurae | 17422db444dcd9fa681ea27678efe5b265a1efbf | [
"MIT"
] | null | null | null | texture.py | thejasonfisher/aurae | 17422db444dcd9fa681ea27678efe5b265a1efbf | [
"MIT"
] | 4 | 2015-08-19T04:47:32.000Z | 2019-03-08T05:53:19.000Z |
from OpenGL.GL import *
class Texture:
def __init__(self, width, height, depth, data):
self.handle = glGenTextures(1)
glBindTexture(GL_TEXTURE_3D, self.handle)
glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_MIN_FILTER, GL_LINEAR)
glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_MAG_FILTER, GL_... | 37.181818 | 103 | 0.724939 | 112 | 818 | 4.8125 | 0.348214 | 0.233766 | 0.183673 | 0.241187 | 0.554731 | 0.554731 | 0.363636 | 0.356215 | 0.356215 | 0 | 0 | 0.021277 | 0.195599 | 818 | 21 | 104 | 38.952381 | 0.797872 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0.0625 | 0 | 0.375 | 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 |
881e41de72d9b7e1a51087ec5d675093ed7ed916 | 125 | py | Python | galaxy_common/accounts/apps.py | alikins/galaxy-common-deprecated | 8874a4055b66b4faaa3bcbaf3b3cf1e6d84bd097 | [
"Apache-2.0"
] | null | null | null | galaxy_common/accounts/apps.py | alikins/galaxy-common-deprecated | 8874a4055b66b4faaa3bcbaf3b3cf1e6d84bd097 | [
"Apache-2.0"
] | 7 | 2019-12-04T23:42:45.000Z | 2021-06-09T18:05:31.000Z | galaxy_common/accounts/apps.py | alikins/galaxy-common-deprecated | 8874a4055b66b4faaa3bcbaf3b3cf1e6d84bd097 | [
"Apache-2.0"
] | null | null | null | from django import apps
class AppConfig(apps.AppConfig):
name = 'galaxy_common.accounts'
label = 'galaxy_accounts'
| 17.857143 | 35 | 0.736 | 15 | 125 | 6 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176 | 125 | 6 | 36 | 20.833333 | 0.873786 | 0 | 0 | 0 | 0 | 0 | 0.296 | 0.176 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
88239b11136dd617044765c0a56ae9eddb1fdf22 | 77 | py | Python | teraserver/python/services/LoggingService/libloggingservice/db/models/__init__.py | introlab/opentera | bfc4de672c9de40b7c9a659be2138731e7ee4e94 | [
"Apache-2.0"
] | 10 | 2020-03-16T14:46:06.000Z | 2022-02-11T16:07:38.000Z | teraserver/python/services/LoggingService/libloggingservice/db/models/__init__.py | introlab/opentera | bfc4de672c9de40b7c9a659be2138731e7ee4e94 | [
"Apache-2.0"
] | 114 | 2019-09-16T13:02:50.000Z | 2022-03-22T19:17:36.000Z | teraserver/python/services/LoggingService/libloggingservice/db/models/__init__.py | introlab/opentera | bfc4de672c9de40b7c9a659be2138731e7ee4e94 | [
"Apache-2.0"
] | null | null | null | from .LogEntry import LogEntry
# All exported symbols
__all__ = ['LogEntry'] | 19.25 | 30 | 0.766234 | 9 | 77 | 6.111111 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 77 | 4 | 31 | 19.25 | 0.833333 | 0.25974 | 0 | 0 | 0 | 0 | 0.142857 | 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 |
884f2bee74ef4d9414df6ff05630e2d0243ea3c7 | 76 | py | Python | pydantic_ssm_settings/__init__.py | developmentseed/pydantic-ssm-settings | f8f7c5784a97e93d54c7ab056d6c959892429727 | [
"MIT"
] | null | null | null | pydantic_ssm_settings/__init__.py | developmentseed/pydantic-ssm-settings | f8f7c5784a97e93d54c7ab056d6c959892429727 | [
"MIT"
] | null | null | null | pydantic_ssm_settings/__init__.py | developmentseed/pydantic-ssm-settings | f8f7c5784a97e93d54c7ab056d6c959892429727 | [
"MIT"
] | null | null | null | from .settings import AwsSsmSourceConfig
__all__ = ("AwsSsmSourceConfig",)
| 19 | 40 | 0.802632 | 6 | 76 | 9.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 76 | 3 | 41 | 25.333333 | 0.838235 | 0 | 0 | 0 | 0 | 0 | 0.236842 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.