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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d4fd312310d040db2efed628313cc585c4af99ba | 2,814 | py | Python | src/protean/port/provider.py | mpsiva89/protean | 315fa56da3f64178bbbf0edf1995af46d5eb3da7 | [
"BSD-3-Clause"
] | 6 | 2018-09-26T04:54:09.000Z | 2022-03-30T01:01:45.000Z | src/protean/port/provider.py | mpsiva89/protean | 315fa56da3f64178bbbf0edf1995af46d5eb3da7 | [
"BSD-3-Clause"
] | 261 | 2018-09-20T09:53:33.000Z | 2022-03-08T17:43:04.000Z | src/protean/port/provider.py | mpsiva89/protean | 315fa56da3f64178bbbf0edf1995af46d5eb3da7 | [
"BSD-3-Clause"
] | 6 | 2018-07-22T07:09:15.000Z | 2021-02-02T05:17:23.000Z | """Base class for Providers"""
from abc import ABCMeta, abstractmethod
from typing import Any
from protean.utils.query import RegisterLookupMixin
class BaseProvider(RegisterLookupMixin, metaclass=ABCMeta):
"""Provider Implementation for each database that acts as a gateway to configure the database,
retriev... | 39.083333 | 99 | 0.688699 | 371 | 2,814 | 5.153639 | 0.471698 | 0.053347 | 0.031381 | 0.018828 | 0.045502 | 0.028243 | 0 | 0 | 0 | 0 | 0 | 0.00142 | 0.249467 | 2,814 | 71 | 100 | 39.633803 | 0.903883 | 0.584222 | 0 | 0.25 | 0 | 0 | 0.007049 | 0 | 0 | 0 | 0 | 0.014085 | 0 | 1 | 0.333333 | false | 0 | 0.125 | 0 | 0.541667 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
be019c1bfd29a2352ac0367d008d032322c03c28 | 173 | py | Python | Exercicio 025.py | juliosimply/Aulas-Python-Guanabara | fc3d230e4646cf83250404a20dadeef90ab2e676 | [
"MIT"
] | null | null | null | Exercicio 025.py | juliosimply/Aulas-Python-Guanabara | fc3d230e4646cf83250404a20dadeef90ab2e676 | [
"MIT"
] | null | null | null | Exercicio 025.py | juliosimply/Aulas-Python-Guanabara | fc3d230e4646cf83250404a20dadeef90ab2e676 | [
"MIT"
] | null | null | null | #Exercicio 025 procurando uma string dentro de outra
nome = str(input('Digite seu nome completo')).strip()
print('tem silva no seu nome?{}'.format('silva' in nome.lower()))
| 43.25 | 65 | 0.728324 | 27 | 173 | 4.666667 | 0.814815 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019737 | 0.121387 | 173 | 3 | 66 | 57.666667 | 0.809211 | 0.294798 | 0 | 0 | 0 | 0 | 0.438017 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
0779de668525c19a6fbdec15544014e827dc7eda | 1,396 | py | Python | main/models.py | mhartley/popkids | 30add65ebc4d6fd0c3f6a1ce51bef18817d35093 | [
"MIT"
] | null | null | null | main/models.py | mhartley/popkids | 30add65ebc4d6fd0c3f6a1ce51bef18817d35093 | [
"MIT"
] | null | null | null | main/models.py | mhartley/popkids | 30add65ebc4d6fd0c3f6a1ce51bef18817d35093 | [
"MIT"
] | null | null | null | from django.db import models
from jsonfield import JSONField
from django.utils import timezone
class Person(models.Model):
first_name = models.CharField(max_length=30)
last_name = models.CharField(max_length=30, null=True)
twitter_name = models.CharField(max_length=30, null=True)
twitter_handle = models.CharField(... | 38.777778 | 60 | 0.778653 | 194 | 1,396 | 5.463918 | 0.28866 | 0.212264 | 0.254717 | 0.339623 | 0.434906 | 0.434906 | 0.406604 | 0.276415 | 0.084906 | 0 | 0 | 0.028112 | 0.108166 | 1,396 | 35 | 61 | 39.885714 | 0.823293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.096774 | 0 | 1 | 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 |
07867c76f0acde0b764221a27c57ec7e2e11005b | 8,712 | py | Python | wallet_manager/contract_handlers/eth_contract_handler.py | Robin8Put/pmes | 338bec94162098f05b75bad035417317e1252fd2 | [
"Apache-2.0"
] | 5 | 2018-07-31T07:37:09.000Z | 2019-05-27T04:40:38.000Z | wallet_manager/contract_handlers/eth_contract_handler.py | Robin8Put/pmes | 338bec94162098f05b75bad035417317e1252fd2 | [
"Apache-2.0"
] | 4 | 2018-08-01T11:11:54.000Z | 2022-03-11T23:20:53.000Z | wallet_manager/contract_handlers/eth_contract_handler.py | Robin8Put/pmes | 338bec94162098f05b75bad035417317e1252fd2 | [
"Apache-2.0"
] | 5 | 2018-06-09T07:42:04.000Z | 2018-12-28T21:15:52.000Z | from web3 import Web3, IPCProvider, HTTPProvider
from web3.middleware import geth_poa_middleware
import codecs
import time
class EthContractHandler:
send_params = {
'value': 0,
'gasLimit': 250000,
'gasPrice': 49000000000,
'sender': ''
}
def __init__(self, eth_rpc, contract... | 95.736264 | 5,014 | 0.65932 | 903 | 8,712 | 6.246955 | 0.156146 | 0.0702 | 0.069137 | 0.07215 | 0.676653 | 0.603794 | 0.588194 | 0.555221 | 0.523311 | 0.503634 | 0 | 0.05417 | 0.088843 | 8,712 | 90 | 5,015 | 96.8 | 0.656463 | 0.160698 | 0 | 0.137255 | 0 | 0.019608 | 0.706173 | 0.686831 | 0 | 0 | 0.005761 | 0 | 0 | 1 | 0.176471 | false | 0 | 0.078431 | 0.039216 | 0.392157 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07952a79fb59608a2f2fc7694dc8ea682000608b | 175 | py | Python | spells/urls.py | ScoffM/5e-Spellbook | 5dcd335bca0e6aa41549e7cf5adcec50069311ac | [
"MIT"
] | null | null | null | spells/urls.py | ScoffM/5e-Spellbook | 5dcd335bca0e6aa41549e7cf5adcec50069311ac | [
"MIT"
] | null | null | null | spells/urls.py | ScoffM/5e-Spellbook | 5dcd335bca0e6aa41549e7cf5adcec50069311ac | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('', views.all_spells, name='allblogs'),
path('<str:spell_id>/', views.detail, name='detail'),
] | 21.875 | 57 | 0.668571 | 23 | 175 | 5 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154286 | 175 | 8 | 58 | 21.875 | 0.777027 | 0 | 0 | 0 | 0 | 0 | 0.164773 | 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 |
07a1083d0bab0bd885a10bdb15d82029a50ecff7 | 103 | py | Python | homework/h1.py | Elvira521feng/datamining | 1e375926e7dc4a00a5a4c4cd3c73cd2f54126bf6 | [
"MIT"
] | null | null | null | homework/h1.py | Elvira521feng/datamining | 1e375926e7dc4a00a5a4c4cd3c73cd2f54126bf6 | [
"MIT"
] | null | null | null | homework/h1.py | Elvira521feng/datamining | 1e375926e7dc4a00a5a4c4cd3c73cd2f54126bf6 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#-*- coding:utf-8 -*-
# author:Elvira
import numpy as np
A = np.eye(5)
print(A) | 12.875 | 21 | 0.631068 | 19 | 103 | 3.421053 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 0.15534 | 103 | 8 | 22 | 12.875 | 0.724138 | 0.524272 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
07b54bf2fcbad2e62eb81bdcdcd491691edd71b9 | 10,116 | py | Python | projects/ants/tests/EC.py | jjllzhang/CS61A | 57b68c7c06999210d96499f6d84e4ec99085d396 | [
"MIT"
] | 1 | 2022-01-22T11:45:01.000Z | 2022-01-22T11:45:01.000Z | projects/ants/tests/EC.py | jjllzhang/CS61A | 57b68c7c06999210d96499f6d84e4ec99085d396 | [
"MIT"
] | null | null | null | projects/ants/tests/EC.py | jjllzhang/CS61A | 57b68c7c06999210d96499f6d84e4ec99085d396 | [
"MIT"
] | null | null | null | test = {
'name': 'Problem EC',
'points': 2,
'suites': [
{
'cases': [
{
'code': r"""
>>> # Testing status parameters
>>> slow = SlowThrower()
>>> scary = ScaryThrower()
>>> SlowThrower.food_cost
4
>>> ScaryThrower.food_cost
... | 31.126154 | 115 | 0.462633 | 979 | 10,116 | 4.632278 | 0.121553 | 0.087982 | 0.102536 | 0.109372 | 0.786108 | 0.760088 | 0.700772 | 0.634399 | 0.560529 | 0.506725 | 0 | 0.030065 | 0.395018 | 10,116 | 324 | 116 | 31.222222 | 0.710948 | 0 | 0 | 0.638514 | 0 | 0.010135 | 0.902531 | 0.213622 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006757 | 0 | 0.006757 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07b8d53b39dcec9880212b03a686143847825821 | 198 | py | Python | pangea/contrib/metasub/constants.py | LongTailBio/pangea-django | 630551dded7f9e38f95eda8c36039e0de46961e7 | [
"MIT"
] | null | null | null | pangea/contrib/metasub/constants.py | LongTailBio/pangea-django | 630551dded7f9e38f95eda8c36039e0de46961e7 | [
"MIT"
] | 27 | 2020-03-26T02:55:12.000Z | 2022-03-12T00:55:04.000Z | pangea/contrib/metasub/constants.py | LongTailBio/pangea-django | 630551dded7f9e38f95eda8c36039e0de46961e7 | [
"MIT"
] | 1 | 2021-09-14T08:15:54.000Z | 2021-09-14T08:15:54.000Z |
from pangea.core.models import SampleGroup
METASUB_ORG_NAME = 'MetaSUB Consortium'
METASUB_GRP_NAME = 'MetaSUB'
METASUB_LIBRARY_UUID = lambda: SampleGroup.objects.get(name=METASUB_GRP_NAME).uuid
| 24.75 | 82 | 0.828283 | 27 | 198 | 5.777778 | 0.592593 | 0.211538 | 0.179487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 198 | 7 | 83 | 28.285714 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.126904 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07beb92baa01ace13b0b09a0944cf84181828255 | 208 | py | Python | 7/7.5.py | zarina494/fisrt_git_lesson | 169fc205b3a99a84f1041d578c4c120555162a66 | [
"MIT"
] | null | null | null | 7/7.5.py | zarina494/fisrt_git_lesson | 169fc205b3a99a84f1041d578c4c120555162a66 | [
"MIT"
] | null | null | null | 7/7.5.py | zarina494/fisrt_git_lesson | 169fc205b3a99a84f1041d578c4c120555162a66 | [
"MIT"
] | null | null | null | products = ['bread','meat','egg','cheese']
file1 = open('products.txt','w')
for product in products:
file1.write(product+'\n')
file1.close()
file2= open('products.txt')
var = file2.readlines()
print(var)
| 23.111111 | 42 | 0.673077 | 29 | 208 | 4.827586 | 0.655172 | 0.171429 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026882 | 0.105769 | 208 | 8 | 43 | 26 | 0.725806 | 0 | 0 | 0 | 0 | 0 | 0.216346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07dd14ff293d192596d0f5c8f1b3981eef10fa75 | 240 | py | Python | senkuu/structures/layers/base.py | techrc/senkuu | d5651d1891ab55a46c813dd5b09341cb2068b239 | [
"Apache-2.0"
] | 1 | 2020-05-03T09:53:52.000Z | 2020-05-03T09:53:52.000Z | senkuu/structures/layers/base.py | techrc/senkuu | d5651d1891ab55a46c813dd5b09341cb2068b239 | [
"Apache-2.0"
] | null | null | null | senkuu/structures/layers/base.py | techrc/senkuu | d5651d1891ab55a46c813dd5b09341cb2068b239 | [
"Apache-2.0"
] | null | null | null | class Layer(object):
def __init__(self):
self.prevlayer = None
self.nextlayer = None
def forepropagation(self):
pass
def backpropagation(self):
pass
def initialization(self):
pass
| 16 | 30 | 0.591667 | 24 | 240 | 5.75 | 0.541667 | 0.173913 | 0.15942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.329167 | 240 | 14 | 31 | 17.142857 | 0.857143 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.3 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
07e94f9b7f90a158d1f1d7436dc3efc8fc775aa3 | 831 | py | Python | generators/simple/templates/src/platform/extensionRunner/cdf/native_field_service.py | jfallaire/generator-ps-boilerplate-project | 36f544a54442c191430451715425da98ea76a63e | [
"MIT"
] | 2 | 2019-07-24T16:00:51.000Z | 2019-10-03T18:36:20.000Z | generators/simple/templates/src/platform/extensionRunner/cdf/native_field_service.py | jfallaire/generator-ps-boilerplate-project | 36f544a54442c191430451715425da98ea76a63e | [
"MIT"
] | 19 | 2019-06-20T21:58:44.000Z | 2020-11-05T13:48:42.000Z | generators/simple/templates/src/platform/extensionRunner/cdf/native_field_service.py | jfallaire/generator-ps-boilerplate-project | 36f544a54442c191430451715425da98ea76a63e | [
"MIT"
] | 1 | 2019-06-22T17:30:42.000Z | 2019-06-22T17:30:42.000Z | """
- THIS FILE IS GENERATED -
CoveoInterfaces/CoveoInterfaces/NativeFieldService.jid
"""
from attr import attrs
from typing import List
from .root import CoveoInterface, ExceptionBase, api
from .indexer_config import Field
@attrs(kw_only=True, auto_attribs=True)
class ServiceException(ExceptionBase, hint="Cov... | 27.7 | 104 | 0.724428 | 92 | 831 | 6.413043 | 0.576087 | 0.094915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174489 | 831 | 29 | 105 | 28.655172 | 0.860058 | 0.294826 | 0 | 0 | 1 | 0 | 0.208487 | 0.182657 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.363636 | 0 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6af497d5747c1a94f09a2437a9a6fbe992148931 | 1,672 | py | Python | pyson/error.py | ZizhouJia/pyson | ba80336e6ec43456c0d1bf3e71109609b9489181 | [
"MIT"
] | 2 | 2019-10-15T14:05:18.000Z | 2019-12-02T05:58:31.000Z | pyson/error.py | ZizhouJia/pyson | ba80336e6ec43456c0d1bf3e71109609b9489181 | [
"MIT"
] | null | null | null | pyson/error.py | ZizhouJia/pyson | ba80336e6ec43456c0d1bf3e71109609b9489181 | [
"MIT"
] | null | null | null | import antlr4
class CheckWrongError(Exception):
def __init__(self,msg=None,location=None,line=None,column=None):
self.msg=str(msg)+" at "+str(location)+" ("+str(line)+", "+str(column)+")"
def __str__(self):
return self.msg
def set_msg(self,msg):
self.msg=msg
class Transfor... | 29.857143 | 108 | 0.643541 | 201 | 1,672 | 5.159204 | 0.228856 | 0.148505 | 0.096432 | 0.081003 | 0.574735 | 0.467695 | 0.467695 | 0.467695 | 0.467695 | 0.467695 | 0 | 0.001543 | 0.22488 | 1,672 | 56 | 109 | 29.857143 | 0.798611 | 0 | 0 | 0.609756 | 0 | 0 | 0.022116 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.390244 | false | 0.073171 | 0.02439 | 0.097561 | 0.634146 | 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 |
6afb5ce54d63b79961a1dd59b46aa09e861d6e85 | 231 | py | Python | hooks/post_gen_project.py | ngroebner/cookiecutter-ml-template | e7b2bd6c2a82c4e3b59dc9431ae30a686a5f6929 | [
"MIT"
] | null | null | null | hooks/post_gen_project.py | ngroebner/cookiecutter-ml-template | e7b2bd6c2a82c4e3b59dc9431ae30a686a5f6929 | [
"MIT"
] | null | null | null | hooks/post_gen_project.py | ngroebner/cookiecutter-ml-template | e7b2bd6c2a82c4e3b59dc9431ae30a686a5f6929 | [
"MIT"
] | null | null | null | import os
import subprocess
repo_name = "{{ cookiecutter.repo_name }}"
project_name = "{{ cookiecutter.project_name }}"
if "{{ cookiecutter.create_environment }}" == "y":
subprocess.run("make create_environment", shell=True)
| 25.666667 | 57 | 0.722944 | 26 | 231 | 6.192308 | 0.576923 | 0.099379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125541 | 231 | 8 | 58 | 28.875 | 0.79703 | 0 | 0 | 0 | 0 | 0 | 0.519481 | 0.337662 | 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 |
ed0923041f7845c8e6618ef9e4245b06e6b1c11f | 933 | py | Python | tests/unit_test.py | so-rose/glTF-Blender-Exporter | f8b89a50b3a9f6f8264f11de01a6423c301280a4 | [
"Apache-2.0"
] | 902 | 2017-04-21T19:43:32.000Z | 2022-03-06T10:28:28.000Z | tests/unit_test.py | so-rose/glTF-Blender-Exporter | f8b89a50b3a9f6f8264f11de01a6423c301280a4 | [
"Apache-2.0"
] | 343 | 2017-05-08T20:09:11.000Z | 2019-03-21T20:50:45.000Z | tests/unit_test.py | so-rose/glTF-Blender-Exporter | f8b89a50b3a9f6f8264f11de01a6423c301280a4 | [
"Apache-2.0"
] | 228 | 2017-05-18T12:45:29.000Z | 2021-11-27T01:38:36.000Z | # Copyright (c) 2017 The Khronos Group Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | 27.441176 | 112 | 0.760986 | 139 | 933 | 5.007194 | 0.647482 | 0.086207 | 0.037356 | 0.045977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.144695 | 933 | 34 | 113 | 27.441176 | 0.854637 | 0.652733 | 0 | 0 | 0 | 0 | 0.232558 | 0.156146 | 0 | 0 | 0 | 0.029412 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
ed23cd47c83010e10267e723ed962a644b5bb24d | 253 | py | Python | 15_pacotes/calc/__init__.py | smartao/estudos_python | 252a2e592ff929dfc6c06fc09b42cb7063ad0b5a | [
"MIT"
] | null | null | null | 15_pacotes/calc/__init__.py | smartao/estudos_python | 252a2e592ff929dfc6c06fc09b42cb7063ad0b5a | [
"MIT"
] | 9 | 2019-11-15T14:21:43.000Z | 2020-03-15T14:37:13.000Z | 15_pacotes/calc/__init__.py | smartao/estudos_python | 252a2e592ff929dfc6c06fc09b42cb7063ad0b5a | [
"MIT"
] | null | null | null | from pacote1.modulo1 import soma
from pacote2.modulo1 import subtracao
__all__ = ['soma', 'subtracao']
# Fontes:
# Curso Python 3 - Curso Completo do Básico ao Avançado Udemy Aula 137
# https://github.com/cod3rcursos/curso-python/tree/master/pacotes
| 25.3 | 70 | 0.770751 | 35 | 253 | 5.457143 | 0.771429 | 0.136126 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040909 | 0.130435 | 253 | 9 | 71 | 28.111111 | 0.827273 | 0.55336 | 0 | 0 | 0 | 0 | 0.119266 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
ed265669210b7daf0521bc61aa960f6d813f6cfe | 614 | py | Python | tools350/assembler/instruction/InstructionType.py | mdd36/350-tools-mk2 | 7c56b189183e01ccf2f3074318ee58c0f7ab6b92 | [
"MIT"
] | null | null | null | tools350/assembler/instruction/InstructionType.py | mdd36/350-tools-mk2 | 7c56b189183e01ccf2f3074318ee58c0f7ab6b92 | [
"MIT"
] | 3 | 2019-02-06T05:00:51.000Z | 2019-02-21T20:00:53.000Z | tools350/assembler/instruction/InstructionType.py | mdd36/350-tools-mk2 | 7c56b189183e01ccf2f3074318ee58c0f7ab6b92 | [
"MIT"
] | 1 | 2019-10-19T21:14:04.000Z | 2019-10-19T21:14:04.000Z | BASE_JSON_PATH = '/home/mdd36/tools350/tools350/assembler/base_jsn'
BASE_JSON_LOCAL = '/Users/matthew/Documents/SchoolWork/TA/ECE350/2019s/350_tools_mk2/tools350/assembler/base_jsn'
class InstructionType:
def __init__(self, types: dict):
self._instruction_types: dict = types
def get_by_type(self, ty... | 32.315789 | 113 | 0.675896 | 85 | 614 | 4.611765 | 0.6 | 0.114796 | 0.153061 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060904 | 0.17101 | 614 | 18 | 114 | 34.111111 | 0.709234 | 0 | 0 | 0 | 0 | 0.090909 | 0.301794 | 0.230016 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0 | 0.181818 | 0.727273 | 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 |
ed2e3aa2f24566132c8e2c8cb7a864d94e211db4 | 1,106 | py | Python | edcUtils/edcmgmt/migrations/0004_environment.py | darren-wrigley/EDC-Utils-App | 6c2ef80e90d7edbdb7fd670b5386fe71b0919f0e | [
"MIT"
] | 1 | 2021-08-17T21:08:45.000Z | 2021-08-17T21:08:45.000Z | edcUtils/edcmgmt/migrations/0004_environment.py | darren-wrigley/EDC-Utils-App | 6c2ef80e90d7edbdb7fd670b5386fe71b0919f0e | [
"MIT"
] | null | null | null | edcUtils/edcmgmt/migrations/0004_environment.py | darren-wrigley/EDC-Utils-App | 6c2ef80e90d7edbdb7fd670b5386fe71b0919f0e | [
"MIT"
] | null | null | null | # Generated by Django 2.1.4 on 2018-12-27 14:43
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('edcmgmt', '0003_auto_20181227_0525'),
]
operations = [
migrations.CreateModel(
name='Environment',
fields=[
... | 36.866667 | 114 | 0.576854 | 111 | 1,106 | 5.576577 | 0.540541 | 0.169628 | 0.203554 | 0.271405 | 0.424879 | 0.106624 | 0 | 0 | 0 | 0 | 0 | 0.061713 | 0.282098 | 1,106 | 29 | 115 | 38.137931 | 0.717884 | 0.040687 | 0 | 0 | 1 | 0 | 0.135977 | 0.021719 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.043478 | 0.043478 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed41bbe5ecafbaaacba4f38c31e5580953306a59 | 610 | py | Python | tests/testapp/models/__init__.py | MLewiDev/django-binder | 3f55f18169ed5536305f7c0c2e257962346d30f4 | [
"MIT"
] | 14 | 2016-08-15T13:08:55.000Z | 2021-11-17T11:43:20.000Z | tests/testapp/models/__init__.py | MLewiDev/django-binder | 3f55f18169ed5536305f7c0c2e257962346d30f4 | [
"MIT"
] | 141 | 2016-08-14T15:36:35.000Z | 2022-02-17T08:53:52.000Z | tests/testapp/models/__init__.py | MLewiDev/django-binder | 3f55f18169ed5536305f7c0c2e257962346d30f4 | [
"MIT"
] | 18 | 2016-10-01T21:30:22.000Z | 2022-03-28T10:51:41.000Z | # flake8: noqa
import os
# We have it all, from A to Z!
from .animal import Animal
from .caretaker import Caretaker
from .contact_person import ContactPerson
from .costume import Costume
from .gate import Gate
from .nickname import Nickname, NullableNickname
from .lion import Lion
from .picture import Picture
from .zo... | 29.047619 | 51 | 0.798361 | 87 | 610 | 5.54023 | 0.528736 | 0.029046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005714 | 0.139344 | 610 | 20 | 52 | 30.5 | 0.912381 | 0.109836 | 0 | 0 | 0 | 0 | 0.03525 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.9375 | 0 | 0.9375 | 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 |
ed587d801df1331945cde6f12ff6fc6540b999d5 | 1,911 | py | Python | personal_portfolio/vendor/migrations/0008_auto_20210219_1702.py | numbstudent/ghvms | 6d5f93c76498e0fa167b0ce7dfed53764242626f | [
"MIT"
] | null | null | null | personal_portfolio/vendor/migrations/0008_auto_20210219_1702.py | numbstudent/ghvms | 6d5f93c76498e0fa167b0ce7dfed53764242626f | [
"MIT"
] | null | null | null | personal_portfolio/vendor/migrations/0008_auto_20210219_1702.py | numbstudent/ghvms | 6d5f93c76498e0fa167b0ce7dfed53764242626f | [
"MIT"
] | null | null | null | # Generated by Django 3.1.6 on 2021-02-19 10:02
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('vendor', '0007_dokumenvendor'),
]
operations = [
migrations.AlterField(
model_name='dokumenvendor',
name='akte_perub... | 29.859375 | 64 | 0.549974 | 167 | 1,911 | 6.107784 | 0.269461 | 0.196078 | 0.245098 | 0.284314 | 0.72549 | 0.45098 | 0 | 0 | 0 | 0 | 0 | 0.014763 | 0.326531 | 1,911 | 63 | 65 | 30.333333 | 0.777778 | 0.023548 | 0 | 0.526316 | 1 | 0 | 0.165236 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017544 | 0 | 0.070175 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed6f88ba8f35e898958955a3e03009089e236859 | 946 | py | Python | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/ARB/clear_texture.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/ARB/clear_texture.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/ARB/clear_texture.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | '''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C
import... | 45.047619 | 141 | 0.789641 | 151 | 946 | 4.622517 | 0.410596 | 0.071633 | 0.06447 | 0.06447 | 0.325215 | 0.196275 | 0.196275 | 0.166189 | 0.166189 | 0 | 0 | 0.005841 | 0.095137 | 946 | 20 | 142 | 47.3 | 0.809579 | 0.105708 | 0 | 0.125 | 1 | 0 | 0.068376 | 0 | 0 | 0 | 0.007326 | 0 | 0 | 1 | 0.1875 | false | 0.125 | 0.375 | 0.0625 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
ed7020b2e949c6e876dbbae3f8bf352aa79dc436 | 19,861 | py | Python | tests/providers/google/cloud/hooks/test_pubsub.py | robobario/airflow | 702005fe35dc5b996a5c5b8d349ed36036472f00 | [
"Apache-2.0"
] | 1 | 2021-09-16T17:20:00.000Z | 2021-09-16T17:20:00.000Z | tests/providers/google/cloud/hooks/test_pubsub.py | robobario/airflow | 702005fe35dc5b996a5c5b8d349ed36036472f00 | [
"Apache-2.0"
] | 20 | 2017-04-18T19:47:46.000Z | 2020-01-13T04:19:24.000Z | tests/providers/google/cloud/hooks/test_pubsub.py | robobario/airflow | 702005fe35dc5b996a5c5b8d349ed36036472f00 | [
"Apache-2.0"
] | 2 | 2018-09-15T07:13:01.000Z | 2021-03-26T07:27:38.000Z | # -*- coding: utf-8 -*-
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
#... | 42.896328 | 147 | 0.678616 | 2,194 | 19,861 | 5.851413 | 0.122607 | 0.041128 | 0.032715 | 0.040894 | 0.761957 | 0.739523 | 0.706808 | 0.693644 | 0.670354 | 0.630394 | 0 | 0.003976 | 0.227582 | 19,861 | 462 | 148 | 42.989177 | 0.832866 | 0.043251 | 0 | 0.548223 | 0 | 0 | 0.125659 | 0.051791 | 0 | 0 | 0 | 0 | 0.109137 | 1 | 0.076142 | false | 0.002538 | 0.020305 | 0 | 0.098985 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed85fc308f094fdb0d10086fdfc49461acd67d94 | 154 | py | Python | Modulo_4/semana 2/practica 2/plantillas/apprecursos/apps.py | AutodidactaMx/cocid_python | 11628f465ff362807a692c79ede26bf30dd8e26a | [
"MIT"
] | null | null | null | Modulo_4/semana 2/practica 2/plantillas/apprecursos/apps.py | AutodidactaMx/cocid_python | 11628f465ff362807a692c79ede26bf30dd8e26a | [
"MIT"
] | null | null | null | Modulo_4/semana 2/practica 2/plantillas/apprecursos/apps.py | AutodidactaMx/cocid_python | 11628f465ff362807a692c79ede26bf30dd8e26a | [
"MIT"
] | 1 | 2022-03-04T00:57:18.000Z | 2022-03-04T00:57:18.000Z | from django.apps import AppConfig
class ApprecursosConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'apprecursos'
| 22 | 56 | 0.772727 | 17 | 154 | 6.882353 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 154 | 6 | 57 | 25.666667 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0.25974 | 0.188312 | 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 |
71fe28b14a2c370339f7cb03fdf979cca6c91ecd | 183 | py | Python | cashfree_sdk/payouts/cashgram/__get_cashgram_status.py | cashfree/cashfree-sdk-python | f59f706a9ef6bc5d34c5933045b526dc9b0eea57 | [
"MIT"
] | 1 | 2020-06-24T20:53:57.000Z | 2020-06-24T20:53:57.000Z | cashfree_sdk/payouts/cashgram/__get_cashgram_status.py | cashfree/cashfree-sdk-python | f59f706a9ef6bc5d34c5933045b526dc9b0eea57 | [
"MIT"
] | 8 | 2020-01-09T11:22:18.000Z | 2021-05-23T09:39:03.000Z | cashfree_sdk/payouts/cashgram/__get_cashgram_status.py | cashfree/cashfree-sdk-python | f59f706a9ef6bc5d34c5933045b526dc9b0eea57 | [
"MIT"
] | 3 | 2020-05-11T04:47:06.000Z | 2022-03-31T00:56:10.000Z |
class GetCashgramStatus:
end_point = "/payout/v1/getCashgramStatus"
req_type = "GET"
def __init__(self, *args, **kwargs):
self.cashgramId = kwargs["cashgramId"] | 22.875 | 46 | 0.666667 | 19 | 183 | 6.105263 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006849 | 0.202186 | 183 | 8 | 47 | 22.875 | 0.787671 | 0 | 0 | 0 | 0 | 0 | 0.225275 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9c08c6037445f7a897ce2bb5086e8816186ddc79 | 9,516 | py | Python | fhir/resources/STU3/tests/test_media.py | mmabey/fhir.resources | cc73718e9762c04726cd7de240c8f2dd5313cbe1 | [
"BSD-3-Clause"
] | null | null | null | fhir/resources/STU3/tests/test_media.py | mmabey/fhir.resources | cc73718e9762c04726cd7de240c8f2dd5313cbe1 | [
"BSD-3-Clause"
] | null | null | null | fhir/resources/STU3/tests/test_media.py | mmabey/fhir.resources | cc73718e9762c04726cd7de240c8f2dd5313cbe1 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Profile: http://hl7.org/fhir/StructureDefinition/Media
Release: STU3
Version: 3.0.2
Revision: 11917
Last updated: 2019-10-24T11:53:00+11:00
"""
import io
import json
import os
import unittest
import pytest
from .. import media
from ..fhirdate import FHIRDate
from .fixtures import force_by... | 39.485477 | 171 | 0.619693 | 1,104 | 9,516 | 5.23279 | 0.191123 | 0.181755 | 0.180024 | 0.22503 | 0.744158 | 0.715596 | 0.697248 | 0.581617 | 0.493336 | 0.478449 | 0 | 0.060522 | 0.242959 | 9,516 | 240 | 172 | 39.65 | 0.741394 | 0.017024 | 0 | 0.372093 | 0 | 0.023256 | 0.184571 | 0.044725 | 0 | 0 | 0 | 0 | 0.348837 | 1 | 0.04186 | false | 0 | 0.037209 | 0 | 0.088372 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9c16aa344c48aabfd2ed0084b00584c035cea918 | 1,712 | py | Python | LaneATT/lib/config.py | ASGuard-UCI/ld-metric | 87a52ca8cf11d2b8675d7504f9b4ac073addd984 | [
"MIT"
] | null | null | null | LaneATT/lib/config.py | ASGuard-UCI/ld-metric | 87a52ca8cf11d2b8675d7504f9b4ac073addd984 | [
"MIT"
] | null | null | null | LaneATT/lib/config.py | ASGuard-UCI/ld-metric | 87a52ca8cf11d2b8675d7504f9b4ac073addd984 | [
"MIT"
] | null | null | null | import yaml
import torch
import lib.models as models
import lib.datasets as datasets
class Config:
def __init__(self, config_path):
self.config = {}
self.config_str = ""
self.load(config_path)
def load(self, path):
with open(path, 'r') as file:
self.config_str = fi... | 32.301887 | 115 | 0.618575 | 196 | 1,712 | 5.188776 | 0.239796 | 0.196657 | 0.078663 | 0.078663 | 0.088496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254089 | 1,712 | 52 | 116 | 32.923077 | 0.796398 | 0 | 0 | 0 | 0 | 0 | 0.099883 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.128205 | 0.230769 | 0.717949 | 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 |
9c201670ccfdae1b46c357e47311984c1e621673 | 33,522 | py | Python | lib/tool_shed/test/functional/test_0400_repository_component_reviews.py | quacksawbones/galaxy-1 | 65f7259b29d3886e526d9be670c60d9da9fbe038 | [
"CC-BY-3.0"
] | 1,085 | 2015-02-18T16:14:38.000Z | 2022-03-30T23:52:07.000Z | lib/tool_shed/test/functional/test_0400_repository_component_reviews.py | quacksawbones/galaxy-1 | 65f7259b29d3886e526d9be670c60d9da9fbe038 | [
"CC-BY-3.0"
] | 11,253 | 2015-02-18T17:47:32.000Z | 2022-03-31T21:47:03.000Z | lib/tool_shed/test/functional/test_0400_repository_component_reviews.py | quacksawbones/galaxy-1 | 65f7259b29d3886e526d9be670c60d9da9fbe038 | [
"CC-BY-3.0"
] | 1,000 | 2015-02-18T16:18:10.000Z | 2022-03-29T08:22:56.000Z | from ..base.twilltestcase import common, ShedTwillTestCase
repository_name = 'filtering_0400'
repository_description = 'Galaxy filtering tool for test 0400'
repository_long_description = 'Long description of Galaxy filtering tool for test 0400'
"""
1. Create users.
2. Grant reviewer role to test_user_2.
3. Check that... | 57.796552 | 162 | 0.693306 | 4,457 | 33,522 | 4.965223 | 0.0709 | 0.051333 | 0.063263 | 0.036602 | 0.7784 | 0.747176 | 0.711252 | 0.687845 | 0.664844 | 0.64347 | 0 | 0.0165 | 0.238858 | 33,522 | 579 | 163 | 57.896373 | 0.850833 | 0.339926 | 0 | 0.566964 | 0 | 0 | 0.110353 | 0.009058 | 0 | 0 | 0 | 0 | 0.017857 | 1 | 0.120536 | false | 0 | 0.004464 | 0 | 0.129464 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9c385bc97093dc4ad816063c4574c985ebdee7b8 | 2,868 | py | Python | python/__init__.py | claudiok/clsim | e1d3f4a2de21bd1bedd0b8e604b122a784f7151d | [
"ISC",
"BSD-2-Clause"
] | 8 | 2017-09-29T12:01:51.000Z | 2020-06-30T02:16:37.000Z | python/__init__.py | claudiok/clsim | e1d3f4a2de21bd1bedd0b8e604b122a784f7151d | [
"ISC",
"BSD-2-Clause"
] | 5 | 2015-03-17T18:57:04.000Z | 2017-08-08T00:09:02.000Z | python/__init__.py | claudiok/clsim | e1d3f4a2de21bd1bedd0b8e604b122a784f7151d | [
"ISC",
"BSD-2-Clause"
] | 4 | 2017-12-24T19:00:22.000Z | 2021-04-09T22:10:07.000Z | #
# Copyright (c) 2011, 2012
# Claudio Kopper <claudio.kopper@icecube.wisc.edu>
# and the IceCube Collaboration <http://www.icecube.wisc.edu>
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this... | 43.454545 | 152 | 0.849024 | 288 | 2,868 | 8.388889 | 0.493056 | 0.016142 | 0.011589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026213 | 0.108787 | 2,868 | 65 | 153 | 44.123077 | 0.919014 | 0.390865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.846154 | 0 | 0.846154 | 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 |
9c3b3eef0b616df519f3caa16ad71f1a4fffbb4c | 51 | py | Python | com/bdu/chapter/four/Functions.py | engineerpawan/python-examples | 80806f8ab0fd7d96c2074989559ab4843d1e0be3 | [
"MIT"
] | null | null | null | com/bdu/chapter/four/Functions.py | engineerpawan/python-examples | 80806f8ab0fd7d96c2074989559ab4843d1e0be3 | [
"MIT"
] | null | null | null | com/bdu/chapter/four/Functions.py | engineerpawan/python-examples | 80806f8ab0fd7d96c2074989559ab4843d1e0be3 | [
"MIT"
] | null | null | null | def myFunc(x,y):
print(x,y)
myFunc("pawan",26) | 12.75 | 18 | 0.607843 | 10 | 51 | 3.1 | 0.7 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0.156863 | 51 | 4 | 18 | 12.75 | 0.674419 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9c44a4f0d73b03ecb0f92eaf8a1b7a3b9b058901 | 340 | py | Python | alfi/plot/__init__.py | mrandri19/alfi | 3782ab93ab8d77f55914b0795db0f132088c5281 | [
"MIT"
] | 4 | 2022-01-24T11:20:32.000Z | 2022-03-03T11:03:58.000Z | alfi/plot/__init__.py | mossjacob/reggae | 673b483731e6f162f41c3b52dc30f6a0df4684bf | [
"MIT"
] | null | null | null | alfi/plot/__init__.py | mossjacob/reggae | 673b483731e6f162f41c3b52dc30f6a0df4684bf | [
"MIT"
] | 2 | 2022-02-23T01:41:08.000Z | 2022-03-06T19:50:12.000Z | from .plotter1d import Plotter1d
from .plotter2d import Plotter2d
from .misc import plot_spatiotemporal_data, plot_phase
from .colours import Colours
tight_kwargs = dict(bbox_inches='tight', pad_inches=0)
__all__ = [
'Plotter1d',
'Plotter2d',
'plot_spatiotemporal_data',
'plot_phase',
'Colours',
... | 21.25 | 54 | 0.732353 | 40 | 340 | 5.875 | 0.45 | 0.153191 | 0.187234 | 0.221277 | 0.26383 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024735 | 0.167647 | 340 | 15 | 55 | 22.666667 | 0.805654 | 0 | 0 | 0 | 0 | 0 | 0.223529 | 0.070588 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.307692 | 0 | 0.307692 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
9c57195ead4b49194ec77c18ce9f298795fbd4ae | 218 | py | Python | utils/__init__.py | chrisjmyoon/iccsa | e4bb54478162b7aedf109cc87c6b57fff554f07a | [
"BSD-4-Clause-UC"
] | 3 | 2022-01-09T14:21:46.000Z | 2022-02-08T10:50:22.000Z | utils/__init__.py | chrisjmyoon/iccsa | e4bb54478162b7aedf109cc87c6b57fff554f07a | [
"BSD-4-Clause-UC"
] | null | null | null | utils/__init__.py | chrisjmyoon/iccsa | e4bb54478162b7aedf109cc87c6b57fff554f07a | [
"BSD-4-Clause-UC"
] | null | null | null | import pdb
import os
path = os.path.dirname(os.path.abspath(__file__))
for py in [f[:-3] for f in os.listdir(path) if f.endswith('.py') and f != '__init__.py']:
__import__('.'.join([__name__, py]), fromlist=[py]) | 31.142857 | 89 | 0.66055 | 37 | 218 | 3.459459 | 0.540541 | 0.140625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005291 | 0.133028 | 218 | 7 | 90 | 31.142857 | 0.671958 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
9c823e19e525a130322c5018780a7b66a8f90b59 | 1,097 | py | Python | Page-Replacement-OS/Queue.py | shreyanikkam/Page-Replacement-Using-Stack-Implementation | 33fa612976e09a68da3a0539f90e84a46fea3bfe | [
"Apache-2.0"
] | null | null | null | Page-Replacement-OS/Queue.py | shreyanikkam/Page-Replacement-Using-Stack-Implementation | 33fa612976e09a68da3a0539f90e84a46fea3bfe | [
"Apache-2.0"
] | null | null | null | Page-Replacement-OS/Queue.py | shreyanikkam/Page-Replacement-Using-Stack-Implementation | 33fa612976e09a68da3a0539f90e84a46fea3bfe | [
"Apache-2.0"
] | null | null | null | """
Queue.py
Description: This file contains the implementation of the queue data structure
"""
# The queue class is used to implement functionality of a queue using a list
class Queue:
# Default constructor
def __init__(self):
self.items = []
# Function used to tell us if the queue i... | 27.425 | 79 | 0.636281 | 156 | 1,097 | 4.448718 | 0.371795 | 0.069164 | 0.14121 | 0.090778 | 0.283862 | 0.118156 | 0.118156 | 0.118156 | 0.118156 | 0.118156 | 0 | 0.001289 | 0.292616 | 1,097 | 39 | 80 | 28.128205 | 0.893041 | 0.47949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.470588 | false | 0 | 0 | 0.294118 | 0.823529 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
92c7027242ebf9324a62175b31a61da6feb80eb2 | 33,201 | py | Python | datasets/census_bureau_acs/state_2019_1yr/state_2019_1yr_dag.py | renovate-bot/public-datasets-pipelines | d2b5e527d9d2dcc8e01f5209e7b9409dfe2b62a8 | [
"Apache-2.0"
] | 90 | 2021-04-09T19:20:19.000Z | 2022-03-31T16:03:14.000Z | datasets/census_bureau_acs/state_2019_1yr/state_2019_1yr_dag.py | renovate-bot/public-datasets-pipelines | d2b5e527d9d2dcc8e01f5209e7b9409dfe2b62a8 | [
"Apache-2.0"
] | 125 | 2021-04-19T20:33:26.000Z | 2022-03-30T21:45:49.000Z | datasets/census_bureau_acs/state_2019_1yr/state_2019_1yr_dag.py | renovate-bot/public-datasets-pipelines | d2b5e527d9d2dcc8e01f5209e7b9409dfe2b62a8 | [
"Apache-2.0"
] | 54 | 2021-04-29T23:17:36.000Z | 2022-03-31T05:15:23.000Z | # Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 61.369686 | 5,932 | 0.559381 | 3,511 | 33,201 | 4.853888 | 0.131586 | 0.172515 | 0.229081 | 0.300669 | 0.692231 | 0.600575 | 0.373137 | 0.241345 | 0.09635 | 0.055275 | 0 | 0.047774 | 0.257944 | 33,201 | 540 | 5,933 | 61.483333 | 0.64395 | 0.018975 | 0 | 0.197292 | 0 | 0.003868 | 0.561112 | 0.286254 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003868 | 0 | 0.003868 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
92d9e1338d17ca085393bdca2b68e63500ee5a01 | 91 | py | Python | com/LimePencil/Q21300/Main.py | LimePencil/baekjoonProblems | 61eeeeb875585d165d9e39ecdb3d905b4ba6aa87 | [
"MIT"
] | 2 | 2021-07-17T13:05:42.000Z | 2021-09-12T09:14:24.000Z | com/LimePencil/Q21300/Main.py | LimePencil/baekjoonProblems | 61eeeeb875585d165d9e39ecdb3d905b4ba6aa87 | [
"MIT"
] | null | null | null | com/LimePencil/Q21300/Main.py | LimePencil/baekjoonProblems | 61eeeeb875585d165d9e39ecdb3d905b4ba6aa87 | [
"MIT"
] | null | null | null | import sys
l = list(map(int,sys.stdin.readline().rstrip("\n").split(" ")))
print(sum(l)*5) | 22.75 | 63 | 0.637363 | 16 | 91 | 3.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0.076923 | 91 | 4 | 64 | 22.75 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0.032609 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
92ebe7e19ae5ce07140b91cfb50c168f3eb124c7 | 2,205 | py | Python | hello.py | chengjunyi55/web-app-intro | 23cd8d1dd3d536a5c012a72d12c2652bdc5bb04c | [
"MIT"
] | null | null | null | hello.py | chengjunyi55/web-app-intro | 23cd8d1dd3d536a5c012a72d12c2652bdc5bb04c | [
"MIT"
] | null | null | null | hello.py | chengjunyi55/web-app-intro | 23cd8d1dd3d536a5c012a72d12c2652bdc5bb04c | [
"MIT"
] | null | null | null | import os
from flask import Flask, url_for, render_template, request
from flask import redirect
from flask import session
app = Flask(__name__)
app.secret_key='w98fw9ef8hwe98fhwef'
@app.route("/")
def render_main():
return render_template("home.html")
@app.route("/clear")
def clear():
session.clear()
ret... | 26.566265 | 90 | 0.695238 | 286 | 2,205 | 5.157343 | 0.230769 | 0.104407 | 0.135593 | 0.044746 | 0.114576 | 0.114576 | 0.114576 | 0.114576 | 0.08 | 0.08 | 0 | 0.020979 | 0.156916 | 2,205 | 82 | 91 | 26.890244 | 0.772458 | 0 | 0 | 0.136364 | 0 | 0 | 0.183673 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.212121 | false | 0 | 0.060606 | 0.121212 | 0.530303 | 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 |
92f05b5973958d0bb430eca8a646482a0c7485ca | 24 | py | Python | business_logic/constants.py | phibrainDK/DDD | 80d83593bee142b2e453152ef866ab74c397f34b | [
"MIT"
] | null | null | null | business_logic/constants.py | phibrainDK/DDD | 80d83593bee142b2e453152ef866ab74c397f34b | [
"MIT"
] | null | null | null | business_logic/constants.py | phibrainDK/DDD | 80d83593bee142b2e453152ef866ab74c397f34b | [
"MIT"
] | null | null | null | LIMIT_SIMILARITY = 0.12
| 12 | 23 | 0.791667 | 4 | 24 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.125 | 24 | 1 | 24 | 24 | 0.714286 | 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 |
92f2028e77b6d2b3f51cc23c25f1d442bcbb12de | 1,549 | py | Python | quantum/tests/unit/extensions/v2attributes.py | aristanetworks/arista-ovs-quantum | 8e7fe17cafa70c3346e2a5d70da2d6e2637c338e | [
"Apache-2.0"
] | 1 | 2019-04-11T10:27:47.000Z | 2019-04-11T10:27:47.000Z | quantum/tests/unit/extensions/v2attributes.py | cuiwow/quantum | ce11b62046a0501e9fcd8442524d3c151d315dfb | [
"Apache-2.0"
] | null | null | null | quantum/tests/unit/extensions/v2attributes.py | cuiwow/quantum | ce11b62046a0501e9fcd8442524d3c151d315dfb | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2012 OpenStack, LLC.
#
# Licensed under the Apache License, Version 2.0 (the 'License');
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wr... | 31.612245 | 77 | 0.629438 | 193 | 1,549 | 4.948187 | 0.528497 | 0.062827 | 0.018848 | 0.033508 | 0.046073 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03664 | 0.277598 | 1,549 | 48 | 78 | 32.270833 | 0.816801 | 0.358296 | 0 | 0.076923 | 0 | 0 | 0.28907 | 0.048008 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0 | 0.192308 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
1308c2c6c65a1c6a7366e7c00a3fb114f38c3a21 | 12,079 | py | Python | stubs.min/System/Windows/Media/__init___parts/HostVisual.py | denfromufa/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2017-07-07T11:15:45.000Z | 2017-07-07T11:15:45.000Z | stubs.min/System/Windows/Media/__init___parts/HostVisual.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs.min/System/Windows/Media/__init___parts/HostVisual.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | class HostVisual(ContainerVisual,IResource):
"""
Represents a System.Windows.Media.Visual object that can be connected anywhere to a parent visual tree.
HostVisual()
"""
def AddVisualChild(self,*args):
"""
AddVisualChild(self: Visual,child: Visual)
Defines the parent-child relationship between... | 52.290043 | 745 | 0.766703 | 1,440 | 12,079 | 6.359722 | 0.158333 | 0.062241 | 0.094344 | 0.068792 | 0.492247 | 0.429133 | 0.301594 | 0.275934 | 0.225923 | 0.201682 | 0 | 0.024653 | 0.140326 | 12,079 | 230 | 746 | 52.517391 | 0.85728 | 0.621989 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
130f94ac72517e706d9c0d84133eacbb1b7e9d3e | 7,858 | py | Python | KWP/downed_wildlife_monitoring/migrations/0022_auto_20170310_1034.py | arcticczar/DownedWildlifeMonitoring | 55c2b2bd1d537163735f9c371493365215b5ea7d | [
"Unlicense",
"MIT"
] | null | null | null | KWP/downed_wildlife_monitoring/migrations/0022_auto_20170310_1034.py | arcticczar/DownedWildlifeMonitoring | 55c2b2bd1d537163735f9c371493365215b5ea7d | [
"Unlicense",
"MIT"
] | null | null | null | KWP/downed_wildlife_monitoring/migrations/0022_auto_20170310_1034.py | arcticczar/DownedWildlifeMonitoring | 55c2b2bd1d537163735f9c371493365215b5ea7d | [
"Unlicense",
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-03-10 20:34
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('downed_wildlife_monitoring', '0021_auto_20170221_0910'),
... | 42.02139 | 171 | 0.616951 | 777 | 7,858 | 6.083655 | 0.213642 | 0.143854 | 0.179818 | 0.208589 | 0.754178 | 0.752274 | 0.552993 | 0.5348 | 0.469431 | 0.38883 | 0 | 0.007185 | 0.273861 | 7,858 | 186 | 172 | 42.247312 | 0.821241 | 0.008654 | 0 | 0.670391 | 1 | 0 | 0.247335 | 0.066264 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.01676 | 0 | 0.03352 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
133716dbe814ef23a57de7aae448bf456646be66 | 126 | py | Python | OOP/MyClass.py | crobert7/Py-Basics | c1d1a1441de6cbee409c59ddda2b11bc7ee16df1 | [
"MIT"
] | null | null | null | OOP/MyClass.py | crobert7/Py-Basics | c1d1a1441de6cbee409c59ddda2b11bc7ee16df1 | [
"MIT"
] | null | null | null | OOP/MyClass.py | crobert7/Py-Basics | c1d1a1441de6cbee409c59ddda2b11bc7ee16df1 | [
"MIT"
] | null | null | null | class MyClass:
print('MyClass created')
# instansiate a class
my_var = MyClass()
print(type(my_var))
print(dir(my_var)) | 15.75 | 28 | 0.714286 | 19 | 126 | 4.578947 | 0.526316 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150794 | 126 | 8 | 29 | 15.75 | 0.813084 | 0.150794 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.2 | 0.6 | 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 |
13421deeadf4778ffe28e0685d3b3f035b6a38f8 | 262 | py | Python | E031/main.py | alperkonuralp/AlperIlePython | 64e4940648a74306951dbfd97b593cfbcd94b7f6 | [
"Apache-2.0"
] | 1 | 2021-01-30T16:50:40.000Z | 2021-01-30T16:50:40.000Z | E031/main.py | alperkonuralp/AlperIlePython | 64e4940648a74306951dbfd97b593cfbcd94b7f6 | [
"Apache-2.0"
] | null | null | null | E031/main.py | alperkonuralp/AlperIlePython | 64e4940648a74306951dbfd97b593cfbcd94b7f6 | [
"Apache-2.0"
] | null | null | null | # from ortalama import liste, ortalamaHesapla
from hesapla import ortalamaHesapla, standartSapmaHesapla
liste = [24, 12, 3, 5, 99, 17]
print(liste)
print("Ortalama =", ortalamaHesapla(liste))
print("Standart Sapma =", standartSapmaHesapla(liste))
| 23.818182 | 58 | 0.729008 | 28 | 262 | 6.821429 | 0.571429 | 0.26178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.160305 | 262 | 10 | 59 | 26.2 | 0.822727 | 0.164122 | 0 | 0 | 0 | 0 | 0.131068 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.6 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
1346226cc8325d75d989ac1c1b6a744b076a2959 | 10,059 | py | Python | venv/lib/python3.9/site-packages/EventKit/_metadata.py | ipriyam26/RedditTTS | 8528bdc3adcea1197c7159e6eb4c302487e32406 | [
"MIT"
] | null | null | null | venv/lib/python3.9/site-packages/EventKit/_metadata.py | ipriyam26/RedditTTS | 8528bdc3adcea1197c7159e6eb4c302487e32406 | [
"MIT"
] | null | null | null | venv/lib/python3.9/site-packages/EventKit/_metadata.py | ipriyam26/RedditTTS | 8528bdc3adcea1197c7159e6eb4c302487e32406 | [
"MIT"
] | null | null | null | # This file is generated by objective.metadata
#
# Last update: Sun Jul 11 21:37:11 2021
#
# flake8: noqa
import objc, sys
if sys.maxsize > 2 ** 32:
def sel32or64(a, b):
return b
else:
def sel32or64(a, b):
return a
if objc.arch == "arm64":
def selAorI(a, b):
return a
else:
... | 44.90625 | 3,667 | 0.600756 | 832 | 10,059 | 7.233173 | 0.323317 | 0.042373 | 0.032901 | 0.047856 | 0.252409 | 0.229644 | 0.217182 | 0.2112 | 0.142406 | 0.142406 | 0 | 0.028639 | 0.246744 | 10,059 | 223 | 3,668 | 45.107623 | 0.765606 | 0.010637 | 0 | 0.416667 | 1 | 0.004902 | 0.583308 | 0.432981 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019608 | false | 0 | 0.004902 | 0.019608 | 0.044118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1349a211de14942c76479631d3cf7057d1d0e1cd | 6,570 | py | Python | tests/core/store_test.py | ddrightnow/blurr | a8745101d4a8a85ccf1efc608dba8486d3cebb49 | [
"Apache-2.0"
] | null | null | null | tests/core/store_test.py | ddrightnow/blurr | a8745101d4a8a85ccf1efc608dba8486d3cebb49 | [
"Apache-2.0"
] | 7 | 2019-12-16T20:58:29.000Z | 2022-02-09T23:57:32.000Z | tests/core/store_test.py | ddrightnow/blurr | a8745101d4a8a85ccf1efc608dba8486d3cebb49 | [
"Apache-2.0"
] | null | null | null | from datetime import datetime, timezone
from pytest import fixture, mark
from blurr.core.schema_loader import SchemaLoader
from blurr.core.store_key import Key, KeyType
from blurr.core.type import Type
from blurr.store.memory_store import MemoryStore
@fixture
def memory_store(schema_loader_with_mem_store, stream_bt... | 45.625 | 100 | 0.623896 | 880 | 6,570 | 4.426136 | 0.128409 | 0.079076 | 0.060077 | 0.064698 | 0.795122 | 0.765083 | 0.731964 | 0.683954 | 0.664955 | 0.645186 | 0 | 0.058003 | 0.24688 | 6,570 | 143 | 101 | 45.944056 | 0.729184 | 0.070624 | 0 | 0.549451 | 0 | 0 | 0.079022 | 0 | 0 | 0 | 0 | 0 | 0.208791 | 1 | 0.153846 | false | 0 | 0.065934 | 0.010989 | 0.241758 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
135a9b37499a7210656ee9e248da1b10859205e0 | 268 | py | Python | src/varnishapp/urls.py | vdmann/cse-360-image-hosting-website | ad71c082353af4c10dcafd7381415d932cbfabc9 | [
"MIT"
] | null | null | null | src/varnishapp/urls.py | vdmann/cse-360-image-hosting-website | ad71c082353af4c10dcafd7381415d932cbfabc9 | [
"MIT"
] | null | null | null | src/varnishapp/urls.py | vdmann/cse-360-image-hosting-website | ad71c082353af4c10dcafd7381415d932cbfabc9 | [
"MIT"
] | 2 | 2015-02-25T23:05:21.000Z | 2021-11-07T13:15:08.000Z | # this does not work in Django 1.6
#from django.conf.urls.defaults import *
from django.conf.urls import patterns, url, include
from django.conf import settings
from manager import VarnishManager
urlpatterns = patterns('varnishapp.views',
(r'', 'management'),
)
| 24.363636 | 51 | 0.757463 | 37 | 268 | 5.486486 | 0.648649 | 0.147783 | 0.206897 | 0.17734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.141791 | 268 | 10 | 52 | 26.8 | 0.873913 | 0.264925 | 0 | 0 | 0 | 0 | 0.134021 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
135bbf54a40402204199f56c99031093bf8a937a | 3,231 | py | Python | tests/parsers/products/test_FeeDetail.py | Tberdy/python-amazon-mws-tools | 2925118ce113851a2d8db98ad7f99163154f4151 | [
"Unlicense"
] | 9 | 2017-03-28T12:58:36.000Z | 2020-03-02T14:42:32.000Z | tests/parsers/products/test_FeeDetail.py | Tberdy/python-amazon-mws-tools | 2925118ce113851a2d8db98ad7f99163154f4151 | [
"Unlicense"
] | 5 | 2017-01-05T19:36:18.000Z | 2021-12-13T19:43:42.000Z | tests/parsers/products/test_FeeDetail.py | Tberdy/python-amazon-mws-tools | 2925118ce113851a2d8db98ad7f99163154f4151 | [
"Unlicense"
] | 5 | 2017-02-15T17:29:02.000Z | 2019-03-06T07:30:55.000Z | from unittest import TestCase
from unittest import TestSuite
from unittest import main
from unittest import makeSuite
from mwstools.parsers.products.get_my_fees_estimate import FeeDetail
class TestFeeDetail(TestCase):
body = """
<FeeDetail xmlns="http://mws.amazonservices.com/schema/Products/2011-10-01">
... | 29.372727 | 80 | 0.524605 | 269 | 3,231 | 6.159851 | 0.267658 | 0.10863 | 0.195534 | 0.238986 | 0.572118 | 0.549185 | 0.491249 | 0.395293 | 0.292094 | 0.210018 | 0 | 0.026341 | 0.365522 | 3,231 | 109 | 81 | 29.642202 | 0.781951 | 0 | 0 | 0.597826 | 0 | 0.01087 | 0.706411 | 0.251781 | 0 | 0 | 0 | 0 | 0.054348 | 1 | 0.076087 | false | 0 | 0.054348 | 0 | 0.163043 | 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 |
138caffc5c50c27551e1f0efc20f500e046f500d | 770 | py | Python | 2-resources/BLOG/ciriculumn/week-17/python/my-intro-BG/2/models.py | impastasyndrome/Lambda-Resource-Static-Assets | 7070672038620d29844991250f2476d0f1a60b0a | [
"MIT"
] | null | null | null | 2-resources/BLOG/ciriculumn/week-17/python/my-intro-BG/2/models.py | impastasyndrome/Lambda-Resource-Static-Assets | 7070672038620d29844991250f2476d0f1a60b0a | [
"MIT"
] | null | null | null | 2-resources/BLOG/ciriculumn/week-17/python/my-intro-BG/2/models.py | impastasyndrome/Lambda-Resource-Static-Assets | 7070672038620d29844991250f2476d0f1a60b0a | [
"MIT"
] | 1 | 2021-11-05T07:48:26.000Z | 2021-11-05T07:48:26.000Z | from flask_login import UserMixin
from flask_sqlalchemy import SQLAlchemy
from werkzeug.security import generate_password_hash, check_password_hash
from sqlalchemy.schema import Column
from sqlalchemy.types import Integer, String
db = SQLAlchemy()
# print(db.Model)
class Employee(db.Model, UserMixin):
__tablename_... | 26.551724 | 73 | 0.783117 | 97 | 770 | 6.010309 | 0.391753 | 0.082333 | 0.068611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.135065 | 770 | 28 | 74 | 27.5 | 0.866366 | 0.019481 | 0 | 0 | 1 | 0 | 0.011952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15 | false | 0.45 | 0.25 | 0.1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
138da5e554a54cdc0d044ca4921fbc0cb2016f8b | 913 | py | Python | ex_08_sqlalchemy_rest_geo__calls.py | albertgreinoecker/python-flask-examples | 86cd4dd214241910c20fcd21550aaea2fd9eb0b5 | [
"Apache-2.0"
] | null | null | null | ex_08_sqlalchemy_rest_geo__calls.py | albertgreinoecker/python-flask-examples | 86cd4dd214241910c20fcd21550aaea2fd9eb0b5 | [
"Apache-2.0"
] | null | null | null | ex_08_sqlalchemy_rest_geo__calls.py | albertgreinoecker/python-flask-examples | 86cd4dd214241910c20fcd21550aaea2fd9eb0b5 | [
"Apache-2.0"
] | null | null | null | import json
import requests
j = {'name' : 'albert', 'long' : 11.400375, 'lat' : 47.259659, 'message' : 'test'}
print(j)
#response = requests.put('https://os-beyond.at/htl/geo/geoinfo/0' , json={'info' : j})
#response = requests.put('http://localhost:5000/geoinfo/0' , json={'info' : j})
#print(response)
#print(respons... | 30.433333 | 86 | 0.685652 | 122 | 913 | 5.131148 | 0.344262 | 0.207668 | 0.135783 | 0.207668 | 0.541534 | 0.453674 | 0.271566 | 0.124601 | 0 | 0 | 0 | 0.049818 | 0.098576 | 913 | 30 | 87 | 30.433333 | 0.710814 | 0.719606 | 0 | 0 | 0 | 0 | 0.244813 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0.428571 | 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 |
1396616240bbc8aa41db508392a2297bc581d5fa | 295 | py | Python | venv/Lib/site-packages/pandas/core/groupby/__init__.py | OliviaNabbosa89/Disaster_Responses | 1e66d77c303cec685dfc2ca94f4fca4cc9400570 | [
"MIT"
] | 1 | 2021-02-06T21:00:00.000Z | 2021-02-06T21:00:00.000Z | venv/Lib/site-packages/pandas/core/groupby/__init__.py | OliviaNabbosa89/Disaster_Responses | 1e66d77c303cec685dfc2ca94f4fca4cc9400570 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/pandas/core/groupby/__init__.py | OliviaNabbosa89/Disaster_Responses | 1e66d77c303cec685dfc2ca94f4fca4cc9400570 | [
"MIT"
] | 1 | 2021-04-26T22:41:56.000Z | 2021-04-26T22:41:56.000Z | from pandas.core.groupby.generic import DataFrameGroupBy, NamedAgg, SeriesGroupBy
from pandas.core.groupby.groupby import GroupBy
from pandas.core.groupby.grouper import Grouper
__all__ = [
"DataFrameGroupBy",
"NamedAgg",
"SeriesGroupBy",
"GroupBy",
"Grouper",
]
| 24.583333 | 82 | 0.715254 | 29 | 295 | 7.137931 | 0.37931 | 0.144928 | 0.202899 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 295 | 11 | 83 | 26.818182 | 0.8625 | 0 | 0 | 0 | 0 | 0 | 0.179577 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.3 | 0 | 0.3 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
13a48cb980b938997a7876a9b7a863c77099af54 | 60 | py | Python | src/apps/dictionaries/__init__.py | mitrofun/kids2 | 6059422c911966e4799e5947d0fc243328bb5787 | [
"MIT"
] | null | null | null | src/apps/dictionaries/__init__.py | mitrofun/kids2 | 6059422c911966e4799e5947d0fc243328bb5787 | [
"MIT"
] | null | null | null | src/apps/dictionaries/__init__.py | mitrofun/kids2 | 6059422c911966e4799e5947d0fc243328bb5787 | [
"MIT"
] | null | null | null | default_app_config = 'dictionaries.apps.DictionariesConfig'
| 30 | 59 | 0.866667 | 6 | 60 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 60 | 1 | 60 | 60 | 0.877193 | 0 | 0 | 0 | 0 | 0 | 0.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
13abf2229780f7af293e3eb7e763d87ae452affe | 1,917 | py | Python | python/spdm/geometry/BSplineCurve.py | simpla-fusion/spdb | be6667eb6c7d464f68b0fd51ca2a8f021581eb84 | [
"MIT"
] | null | null | null | python/spdm/geometry/BSplineCurve.py | simpla-fusion/spdb | be6667eb6c7d464f68b0fd51ca2a8f021581eb84 | [
"MIT"
] | null | null | null | python/spdm/geometry/BSplineCurve.py | simpla-fusion/spdb | be6667eb6c7d464f68b0fd51ca2a8f021581eb84 | [
"MIT"
] | null | null | null |
from functools import cached_property
from operator import is_
from fytok.numlib import interpolate, np
from ..data.Function import Function
from ..common.logger import logger
from .Curve import Curve
class BSplineCurve(Curve):
def __init__(self, u, p, *args, is_closed=None, cycle=None, **kwargs) -> None:
... | 29.953125 | 104 | 0.593114 | 259 | 1,917 | 4.223938 | 0.281853 | 0.054845 | 0.02925 | 0.032907 | 0.191042 | 0.191042 | 0.150823 | 0.109689 | 0.058501 | 0 | 0 | 0.007067 | 0.261868 | 1,917 | 63 | 105 | 30.428571 | 0.766078 | 0.062076 | 0 | 0.093023 | 0 | 0 | 0.004525 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.209302 | false | 0 | 0.139535 | 0.116279 | 0.604651 | 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 |
13ae8608d20bb5c47a83a6b8ec236b82f77fd3e7 | 80 | py | Python | newsresearch/db_models/tables/__init__.py | fernandosoto138/news-research | 73ffc0d260a87fac12727a062ff235b7001449f1 | [
"MIT"
] | null | null | null | newsresearch/db_models/tables/__init__.py | fernandosoto138/news-research | 73ffc0d260a87fac12727a062ff235b7001449f1 | [
"MIT"
] | null | null | null | newsresearch/db_models/tables/__init__.py | fernandosoto138/news-research | 73ffc0d260a87fac12727a062ff235b7001449f1 | [
"MIT"
] | null | null | null | from .postgre import *
from .base_model import BaseModel
__all__=["BaseModel"]
| 16 | 33 | 0.775 | 10 | 80 | 5.7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 80 | 4 | 34 | 20 | 0.814286 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
13bb0d2a2d504bbe48d40cd8daf53fe7a5304f00 | 3,890 | py | Python | test/test_parse_release.py | jwodder/ghutil | f0b903a76177cd49f5d48ac9890609f4da9071d9 | [
"MIT"
] | 6 | 2017-05-29T19:29:44.000Z | 2020-04-05T00:01:02.000Z | test/test_parse_release.py | jwodder/ghutil | f0b903a76177cd49f5d48ac9890609f4da9071d9 | [
"MIT"
] | 2 | 2017-06-29T09:39:32.000Z | 2020-01-07T22:48:02.000Z | test/test_parse_release.py | jwodder/ghutil | f0b903a76177cd49f5d48ac9890609f4da9071d9 | [
"MIT"
] | 1 | 2017-06-11T16:43:47.000Z | 2017-06-11T16:43:47.000Z | import pytest
from ghutil.types import Release
RELEASE_URLS = [
(
'https://api.github.com/repos/jwodder/headerparser/releases/1',
{"owner": "jwodder", "repo": "headerparser", "id": 1, "tag_name": None},
),
(
'https://api.github.com/repos/jwodder/headerparser/releases/latest',
... | 35.045045 | 87 | 0.587918 | 438 | 3,890 | 5.121005 | 0.098174 | 0.194828 | 0.028533 | 0.174766 | 0.790905 | 0.77218 | 0.700401 | 0.575123 | 0.437807 | 0.351761 | 0 | 0.018578 | 0.197429 | 3,890 | 110 | 88 | 35.363636 | 0.699872 | 0.011568 | 0 | 0.27451 | 0 | 0.019608 | 0.488681 | 0.030965 | 0 | 0 | 0 | 0.009091 | 0.019608 | 1 | 0.039216 | false | 0 | 0.019608 | 0 | 0.058824 | 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 |
13c760b16b5f6aacbb772cc44f79601b0b0781d7 | 224 | py | Python | ch06/06_04.py | leeseedong/book-cryptocurrency | 58c0bb3f5a80f8cc73ba47c4839be3bd33c9d67c | [
"Apache-2.0"
] | 121 | 2019-03-23T13:53:06.000Z | 2022-03-28T15:15:03.000Z | ch06/06_04.py | leeseedong/book-cryptocurrency | 58c0bb3f5a80f8cc73ba47c4839be3bd33c9d67c | [
"Apache-2.0"
] | 3 | 2021-04-14T14:31:26.000Z | 2021-05-09T13:46:14.000Z | ch06/06_04.py | leeseedong/book-cryptocurrency | 58c0bb3f5a80f8cc73ba47c4839be3bd33c9d67c | [
"Apache-2.0"
] | 114 | 2019-03-21T13:43:03.000Z | 2022-03-31T18:42:11.000Z | import pybithumb
con_key = "81dd5f25e5daa70b2fff603901d2c09c"
sec_key = "82333efegeg9eg3e77c573weg34af17a"
bithumb = pybithumb.Bithumb(con_key, sec_key)
order = bithumb.buy_limit_order("BTC", 3900000, 0.001)
print(order)
| 22.4 | 54 | 0.808036 | 26 | 224 | 6.730769 | 0.615385 | 0.068571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221675 | 0.09375 | 224 | 9 | 55 | 24.888889 | 0.640394 | 0 | 0 | 0 | 0 | 0 | 0.299107 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
13c83f552a9e6f389d90d11db6e79816ca96d740 | 15 | py | Python | insteon_frontend/version.py | teharris1/insteon-panel | cea232207e8c3aab045737cc2b8ffacfdb1f0167 | [
"MIT"
] | 2 | 2021-12-06T00:16:08.000Z | 2022-01-31T17:17:53.000Z | insteon_frontend/version.py | teharris1/insteon-panel | cea232207e8c3aab045737cc2b8ffacfdb1f0167 | [
"MIT"
] | 5 | 2021-11-30T00:43:01.000Z | 2022-03-01T06:27:55.000Z | insteon_frontend/version.py | teharris1/insteon-panel | cea232207e8c3aab045737cc2b8ffacfdb1f0167 | [
"MIT"
] | null | null | null | VERSION="main"
| 7.5 | 14 | 0.733333 | 2 | 15 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 15 | 1 | 15 | 15 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 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 |
13cd1e515ddfbdcc0b5b9cada45dcf735468623d | 1,140 | py | Python | testfixtures/tests/sample1.py | bnavigator/testfixtures | 2900388a40c284c034f9714ee8fe58256d411453 | [
"MIT"
] | 184 | 2015-03-18T09:43:35.000Z | 2021-08-20T08:22:07.000Z | testfixtures/tests/sample1.py | bnavigator/testfixtures | 2900388a40c284c034f9714ee8fe58256d411453 | [
"MIT"
] | 131 | 2015-09-15T15:06:51.000Z | 2021-08-24T06:54:01.000Z | env/lib/python3.9/site-packages/testfixtures/tests/sample1.py | simotwo/AbileneParadox-ddd | c85961efb37aba43c0d99ed1c36d083507e2b2d3 | [
"MIT"
] | 62 | 2015-06-11T20:42:36.000Z | 2021-08-21T01:01:28.000Z | # NB: This file is used in the documentation, if you make changes, ensure
# you update the line numbers in popen.txt!
"""
A sample module containing the kind of code that
testfixtures helps with testing
"""
from datetime import datetime, date
def str_now_1():
return str(datetime.now())
now = datetime.now
... | 14.25 | 73 | 0.626316 | 158 | 1,140 | 4.373418 | 0.43038 | 0.043415 | 0.026049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013018 | 0.258772 | 1,140 | 79 | 74 | 14.43038 | 0.804734 | 0.174561 | 0 | 0 | 0 | 0 | 0.02897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.292683 | false | 0.02439 | 0.04878 | 0.243902 | 0.707317 | 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 |
13d1b4d4be8d1b061072cd232fff1ea411491368 | 21,242 | py | Python | python/codac.py | bambang/coda | 8c9b61e8cd38fd3d95aae4ff71d8e23b4dcfb65d | [
"MIT",
"BSD-3-Clause"
] | 1 | 2021-03-12T12:37:38.000Z | 2021-03-12T12:37:38.000Z | python/codac.py | bambang/coda | 8c9b61e8cd38fd3d95aae4ff71d8e23b4dcfb65d | [
"MIT",
"BSD-3-Clause"
] | null | null | null | python/codac.py | bambang/coda | 8c9b61e8cd38fd3d95aae4ff71d8e23b4dcfb65d | [
"MIT",
"BSD-3-Clause"
] | null | null | null | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.2
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info < (2, 7, 0):
raise Runtime... | 32.730354 | 118 | 0.812212 | 3,119 | 21,242 | 5.012504 | 0.08849 | 0.119611 | 0.08699 | 0.083856 | 0.691378 | 0.5 | 0.341052 | 0.243636 | 0.111744 | 0.04503 | 0 | 0.006968 | 0.114961 | 21,242 | 648 | 119 | 32.780864 | 0.824628 | 0.028623 | 0 | 0.038462 | 1 | 0 | 0.007617 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.402715 | false | 0.00905 | 0.013575 | 0.384615 | 0.825792 | 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 | 1 | 0 | 0 | 0 | 3 |
13e3d41212376737db1f2bc90807c8cf5cb99f96 | 38 | py | Python | python_lessons/freecodecamp_python/009_fruit_banana.py | 1986MMartin/coding-sections-markus | e13be32e5d83e69250ecfb3c76a04ee48a320607 | [
"Apache-2.0"
] | null | null | null | python_lessons/freecodecamp_python/009_fruit_banana.py | 1986MMartin/coding-sections-markus | e13be32e5d83e69250ecfb3c76a04ee48a320607 | [
"Apache-2.0"
] | null | null | null | python_lessons/freecodecamp_python/009_fruit_banana.py | 1986MMartin/coding-sections-markus | e13be32e5d83e69250ecfb3c76a04ee48a320607 | [
"Apache-2.0"
] | null | null | null | fruit = "banana"
x = fruit[1]
print(x) | 12.666667 | 16 | 0.631579 | 7 | 38 | 3.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.157895 | 38 | 3 | 17 | 12.666667 | 0.71875 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 |
13f0b000433f570c9e05d353c3791118249555f0 | 2,515 | py | Python | python/pandas/clm/workflow.py | JoseIbanez/testing | 4d6ff310cd63a8b2f8e1abcfbea0f17b23220021 | [
"MIT"
] | 1 | 2016-09-15T03:58:30.000Z | 2016-09-15T03:58:30.000Z | python/pandas/clm/workflow.py | JoseIbanez/testing | 4d6ff310cd63a8b2f8e1abcfbea0f17b23220021 | [
"MIT"
] | 1 | 2020-09-13T08:44:50.000Z | 2020-09-13T08:44:50.000Z | python/pandas/clm/workflow.py | JoseIbanez/testing | 4d6ff310cd63a8b2f8e1abcfbea0f17b23220021 | [
"MIT"
] | null | null | null | #!/usr/bin/python3.7
import luigi
import json
from time import strftime
import datetime
import getNotasDay
import getText
import bqInsert
BQ_TABLE_CLM = "cases_CLM"
class DownloadLastPages(luigi.Task):
today = strftime("%Y-%m-%d")
def output(self):
return luigi.LocalTarget(f"./data/task-{self.to... | 20.447154 | 89 | 0.6167 | 305 | 2,515 | 5.032787 | 0.265574 | 0.052117 | 0.042345 | 0.061889 | 0.528339 | 0.478176 | 0.456026 | 0.456026 | 0.456026 | 0.330945 | 0 | 0.002644 | 0.248111 | 2,515 | 122 | 90 | 20.614754 | 0.809096 | 0.018688 | 0 | 0.352941 | 0 | 0 | 0.087997 | 0.07056 | 0 | 0 | 0 | 0 | 0 | 1 | 0.220588 | false | 0 | 0.102941 | 0.132353 | 0.632353 | 0.014706 | 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 |
b9249ca4ced9ac73dad0aa8a6e0d563081958b02 | 500 | py | Python | Zh3r0/2021/crypto/1n_jection/challenge.py | ruhan-islam/ctf-archives | 8c2bf6a608c821314d1a1cfaa05a6cccef8e3103 | [
"MIT"
] | 1 | 2021-11-02T20:53:58.000Z | 2021-11-02T20:53:58.000Z | Zh3r0/2021/crypto/1n_jection/challenge.py | ruhan-islam/ctf-archives | 8c2bf6a608c821314d1a1cfaa05a6cccef8e3103 | [
"MIT"
] | null | null | null | Zh3r0/2021/crypto/1n_jection/challenge.py | ruhan-islam/ctf-archives | 8c2bf6a608c821314d1a1cfaa05a6cccef8e3103 | [
"MIT"
] | null | null | null | from secret import flag
def nk2n(nk):
l = len(nk)
if l==1:
return nk[0]
elif l==2:
i,j = nk
return ((i+j)*(i+j+1))//2 +j
return nk2n([nk2n(nk[:l-l//2]), nk2n(nk[l-l//2:])])
print(nk2n(flag))
#25977495199845200181935389149727440287807670673732106338434418929108307497492776311825... | 35.714286 | 266 | 0.754 | 46 | 500 | 8.195652 | 0.413043 | 0.047745 | 0.055703 | 0.04244 | 0.047745 | 0 | 0 | 0 | 0 | 0 | 0 | 0.641204 | 0.136 | 500 | 13 | 267 | 38.461538 | 0.231481 | 0.53 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.5 | 0.1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b94fec030a9171872158aa21c3d9e53264470695 | 372 | py | Python | Poker/Checking_poker_hands/Using_Classes/main.py | Nobregaigor/learning-python-introduction-to-programming-sample-codes | ef32681cc8a9e338d829a3b646fb75a807f26ac9 | [
"MIT"
] | null | null | null | Poker/Checking_poker_hands/Using_Classes/main.py | Nobregaigor/learning-python-introduction-to-programming-sample-codes | ef32681cc8a9e338d829a3b646fb75a807f26ac9 | [
"MIT"
] | null | null | null | Poker/Checking_poker_hands/Using_Classes/main.py | Nobregaigor/learning-python-introduction-to-programming-sample-codes | ef32681cc8a9e338d829a3b646fb75a807f26ac9 | [
"MIT"
] | null | null | null | from classes.deck import Deck
from classes.cards import Card
from classes.player import Player
from classes.dealer import Dealer
from classes.table import Table
from classes.game import Game
if __name__ == '__main__':
game = Game()
game.build(5)
game.dealer.distribute_cards(game.deck,game.players,game.tab... | 26.571429 | 67 | 0.766129 | 55 | 372 | 5 | 0.363636 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00625 | 0.139785 | 372 | 13 | 68 | 28.615385 | 0.853125 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.545455 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b95f706f5868e82f1f705eddd96ecc3f6f74ac4d | 1,381 | py | Python | tests/_testtools.py | shalevy1/tmtoolk | 42fdd388e606d6d1c45d80d2364dfa42b8408111 | [
"Apache-2.0"
] | null | null | null | tests/_testtools.py | shalevy1/tmtoolk | 42fdd388e606d6d1c45d80d2364dfa42b8408111 | [
"Apache-2.0"
] | 7 | 2021-02-02T23:09:42.000Z | 2022-03-12T01:03:47.000Z | tests/_testtools.py | shalevy1/tmtoolkit | 42fdd388e606d6d1c45d80d2364dfa42b8408111 | [
"Apache-2.0"
] | null | null | null | import string
import numpy as np
from hypothesis import strategies as st
from hypothesis.extra.numpy import arrays, array_shapes
def _strategy_2d_array(dtype, minval=0, maxval=None, **kwargs):
if 'min_side' in kwargs:
min_side = kwargs.pop('min_side')
else:
min_side = 1
if 'max_side' in ... | 26.056604 | 84 | 0.689356 | 204 | 1,381 | 4.465686 | 0.303922 | 0.084523 | 0.065862 | 0.069155 | 0.28101 | 0.255763 | 0.212953 | 0.08562 | 0.08562 | 0 | 0 | 0.020646 | 0.193338 | 1,381 | 52 | 85 | 26.557692 | 0.797127 | 0 | 0 | 0.088235 | 0 | 0 | 0.044895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.205882 | false | 0 | 0.117647 | 0.176471 | 0.529412 | 0.058824 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b96a5753bf49e46a6df72e0cc6f084a304a1bdf8 | 158 | py | Python | blackpill/current/src/grbl_link/__init__.py | fedor2018/my_upython | f334d78959e30ee41de784121edd4276d5980a60 | [
"Unlicense"
] | null | null | null | blackpill/current/src/grbl_link/__init__.py | fedor2018/my_upython | f334d78959e30ee41de784121edd4276d5980a60 | [
"Unlicense"
] | null | null | null | blackpill/current/src/grbl_link/__init__.py | fedor2018/my_upython | f334d78959e30ee41de784121edd4276d5980a60 | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
"""Top-level package for Grbl Link."""
__author__ = """Darius Montez"""
__email__ = 'darius.montez@gmail.com'
__version__ = '0.1.4'
| 19.75 | 38 | 0.639241 | 21 | 158 | 4.238095 | 0.904762 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.139241 | 158 | 7 | 39 | 22.571429 | 0.625 | 0.348101 | 0 | 0 | 0 | 0 | 0.42268 | 0.237113 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b98130bc1bbecf4162c01a70cfbc362a804d7994 | 779 | py | Python | application/model.py | Veronikabrin/TrueTeam101 | ea4319fed06038df0717a0a0c38eaa6758e7d91f | [
"Apache-2.0"
] | 1 | 2020-02-05T02:34:55.000Z | 2020-02-05T02:34:55.000Z | application/model.py | Veronikabrin/TrueTeam101 | ea4319fed06038df0717a0a0c38eaa6758e7d91f | [
"Apache-2.0"
] | null | null | null | application/model.py | Veronikabrin/TrueTeam101 | ea4319fed06038df0717a0a0c38eaa6758e7d91f | [
"Apache-2.0"
] | 3 | 2020-01-29T08:39:16.000Z | 2020-02-05T02:35:21.000Z | class MetaSingleton(type):
_instances = {}
def __call__(cls, *args, **kwargs):
if cls not in cls._instances:
cls._instances[cls] = super(MetaSingleton, cls).__call__(*args, **kwargs)
return cls._instances[cls]
class Processing(metaclass=MetaSingleton):
def __init__(self):
... | 25.129032 | 85 | 0.652118 | 88 | 779 | 5.522727 | 0.431818 | 0.082305 | 0.092593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237484 | 779 | 30 | 86 | 25.966667 | 0.818182 | 0.082157 | 0 | 0.095238 | 0 | 0 | 0.023876 | 0 | 0 | 0 | 0 | 0.033333 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.095238 | 0.619048 | 0.047619 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b98216b3e365192fbbb2c2cb233534164a716fae | 15,353 | py | Python | test_files/uctable_No.py | garrettluu/js-adler32 | b40011c6f76bb2a0b78126fc8412ff380c905dcd | [
"Apache-2.0"
] | 224 | 2015-01-07T06:06:33.000Z | 2022-03-29T08:52:49.000Z | test_files/uctable_No.py | stof/js-adler32 | b7700fd5fa4c1ecfb4e67d20ed0248154940fcdb | [
"Apache-2.0"
] | 18 | 2015-05-06T22:30:17.000Z | 2022-03-30T18:15:51.000Z | test_files/uctable_No.py | stof/js-adler32 | b7700fd5fa4c1ecfb4e67d20ed0248154940fcdb | [
"Apache-2.0"
] | 38 | 2015-01-28T03:34:17.000Z | 2022-02-10T03:28:14.000Z | uctable = [ [ 194, 178 ],
[ 194, 179 ],
[ 194, 185 ],
[ 194, 188 ],
[ 194, 189 ],
[ 194, 190 ],
[ 224, 167, 180 ],
[ 224, 167, 181 ],
[ 224, 167, 182 ],
[ 224, 167, 183 ],
[ 224, 167, 184 ],
[ 224, 167, 185 ],
[ 224, 173, 178 ],
[ 224, 173, 179 ],
[ 224, 173, 180 ],
[ 224, 173, 181 ],
[ ... | 23.692901 | 26 | 0.448316 | 2,293 | 15,353 | 3.001744 | 0.0314 | 0.225774 | 0.081069 | 0.003487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.656671 | 0.317983 | 15,353 | 647 | 27 | 23.729521 | 0.000669 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b982422007b0fcf8a099d41b73955718ffd4a352 | 185 | py | Python | 05/a_greeting.py | koshin117/python-learning | 68dd99e2f72fff7507a874c11511415fef3c9354 | [
"MIT"
] | 1 | 2021-03-29T08:30:19.000Z | 2021-03-29T08:30:19.000Z | 05/a_greeting.py | koshin117/python-learning | 68dd99e2f72fff7507a874c11511415fef3c9354 | [
"MIT"
] | null | null | null | 05/a_greeting.py | koshin117/python-learning | 68dd99e2f72fff7507a874c11511415fef3c9354 | [
"MIT"
] | null | null | null | #A
def greeting(x :str) -> str:
return "hello, "+ x
def main():
# input
s = input()
# compute
# output
print(greeting(s))
if __name__ == '__main__':
main()
| 14.230769 | 28 | 0.52973 | 23 | 185 | 3.913043 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.302703 | 185 | 12 | 29 | 15.416667 | 0.697674 | 0.118919 | 0 | 0 | 0 | 0 | 0.09434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.428571 | 0.142857 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
b982a556b602db2a6b260b7f5f27da5dcd04a097 | 224 | py | Python | calculadora_de_desconto/calculadora_de_desconto.py | DaviAlencarFernandes/Python-3 | 7ab2ac4a0834f093ca20e0bee6846e1117d72dab | [
"MIT"
] | null | null | null | calculadora_de_desconto/calculadora_de_desconto.py | DaviAlencarFernandes/Python-3 | 7ab2ac4a0834f093ca20e0bee6846e1117d72dab | [
"MIT"
] | null | null | null | calculadora_de_desconto/calculadora_de_desconto.py | DaviAlencarFernandes/Python-3 | 7ab2ac4a0834f093ca20e0bee6846e1117d72dab | [
"MIT"
] | null | null | null | # Calculadora de desconto
valor_prod = float(input('Valor do produto: '))
desc = float(input('Valor do desconto: '))
valor_final = valor_prod * (desc / 100)
print(f'O valor final do produto com desconto é {valor_final:.2f}') | 44.8 | 67 | 0.727679 | 35 | 224 | 4.542857 | 0.514286 | 0.188679 | 0.188679 | 0.213836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020725 | 0.138393 | 224 | 5 | 67 | 44.8 | 0.803109 | 0.102679 | 0 | 0 | 0 | 0 | 0.47 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 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 |
b98c24f8ec94304c8fc741df0c8d0b6ca77df38b | 3,585 | py | Python | python/tests/numpy_test.py | g5t/scipp | d819c930a5e438fd65e42e2e4e737743b8d39d37 | [
"BSD-3-Clause"
] | null | null | null | python/tests/numpy_test.py | g5t/scipp | d819c930a5e438fd65e42e2e4e737743b8d39d37 | [
"BSD-3-Clause"
] | null | null | null | python/tests/numpy_test.py | g5t/scipp | d819c930a5e438fd65e42e2e4e737743b8d39d37 | [
"BSD-3-Clause"
] | null | null | null | # SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) 2021 Scipp contributors (https://github.com/scipp)
# @author Simon Heybrock
import pytest
import numpy as np
import scipp as sc
def test_numpy_self_assign_shift():
var = sc.Variable(dims=['x'], values=np.arange(8))
expected = sc.Variable(dims=['x'], valu... | 39.395604 | 79 | 0.606416 | 562 | 3,585 | 3.772242 | 0.190391 | 0.083019 | 0.112264 | 0.084906 | 0.75566 | 0.754245 | 0.706132 | 0.688208 | 0.639151 | 0.629717 | 0 | 0.041081 | 0.205579 | 3,585 | 90 | 80 | 39.833333 | 0.703301 | 0.09484 | 0 | 0.375 | 0 | 0 | 0.044163 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.140625 | false | 0 | 0.046875 | 0 | 0.1875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b9935cd24f05502137459c55d8c7452f0362609d | 484 | py | Python | flopy/modflow/mfaddoutsidefile.py | hansonmcoombs/flopy | 49398983c36d381992621d5bf698ea7f78fc0014 | [
"CC0-1.0",
"BSD-3-Clause"
] | null | null | null | flopy/modflow/mfaddoutsidefile.py | hansonmcoombs/flopy | 49398983c36d381992621d5bf698ea7f78fc0014 | [
"CC0-1.0",
"BSD-3-Clause"
] | null | null | null | flopy/modflow/mfaddoutsidefile.py | hansonmcoombs/flopy | 49398983c36d381992621d5bf698ea7f78fc0014 | [
"CC0-1.0",
"BSD-3-Clause"
] | null | null | null | from ..pakbase import Package
class mfaddoutsidefile(Package):
"""
Add a file for which you have a MODFLOW input file
"""
def __init__(self, model, name, extension, unitnumber):
# call base package constructor
super().__init__(
model, extension, name, unitnumber, allowDupl... | 23.047619 | 68 | 0.634298 | 54 | 484 | 5.425926 | 0.62963 | 0.081911 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280992 | 484 | 20 | 69 | 24.2 | 0.841954 | 0.167355 | 0 | 0 | 0 | 0 | 0.054264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.090909 | 0.090909 | 0.090909 | 0.545455 | 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 |
b9a9d341c0f0fa9d70a892d92e6aa2abac578e39 | 2,841 | py | Python | contrib/go/src/python/pants/contrib/go/subsystems/go_import_meta_tag_reader.py | revl/pants | 8ad83e4ca80c095d44efceafd8b41e575da39c65 | [
"Apache-2.0"
] | 1 | 2020-06-13T22:01:39.000Z | 2020-06-13T22:01:39.000Z | contrib/go/src/python/pants/contrib/go/subsystems/go_import_meta_tag_reader.py | revl/pants | 8ad83e4ca80c095d44efceafd8b41e575da39c65 | [
"Apache-2.0"
] | null | null | null | contrib/go/src/python/pants/contrib/go/subsystems/go_import_meta_tag_reader.py | revl/pants | 8ad83e4ca80c095d44efceafd8b41e575da39c65 | [
"Apache-2.0"
] | 3 | 2020-06-30T08:28:13.000Z | 2021-07-28T09:35:57.000Z | # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
import re
import requests
from pants.subsystem.subsystem import Subsystem
from pants.util.memo import memoized_method
from pants.contrib.go.subsystems.imported_repo import ImportedRepo
... | 34.228916 | 109 | 0.608589 | 356 | 2,841 | 4.761236 | 0.452247 | 0.028319 | 0.021239 | 0.017699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005979 | 0.293559 | 2,841 | 82 | 110 | 34.646341 | 0.838565 | 0.329813 | 0 | 0.116279 | 0 | 0 | 0.070866 | 0.014537 | 0 | 0 | 0 | 0.012195 | 0 | 1 | 0.069767 | false | 0 | 0.348837 | 0 | 0.627907 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b9d62d2bdc992688ae3587623b56847af8026d25 | 451 | py | Python | tap_s3_csv/test/test_merge.py | fixdauto/tap-s3-csv | f2d6b234f4bdba9af890b437f8c4ffec91b3865a | [
"Apache-2.0"
] | 9 | 2017-05-12T16:30:08.000Z | 2021-01-28T16:18:34.000Z | tap_s3_csv/test/test_merge.py | fixdauto/tap-s3-csv | f2d6b234f4bdba9af890b437f8c4ffec91b3865a | [
"Apache-2.0"
] | 3 | 2021-12-21T22:15:01.000Z | 2022-01-27T16:27:42.000Z | tap_s3_csv/test/test_merge.py | boggdan95/tap-s3-csv | 6be06fe3d1627984c298670df7f74f6a994ca33b | [
"Apache-2.0"
] | 10 | 2017-09-07T20:29:30.000Z | 2021-03-29T23:45:21.000Z | import unittest
from tap_s3_csv import merge_dicts
class TestDictionaryMerge(unittest.TestCase):
def test_merge_dicts(self):
self.assertEqual(
merge_dicts({'a': 1}, {'a': 2}),
{'a': 2})
self.assertEqual(
merge_dicts({'a': 1}, {'b': 2}),
{'a': 1, '... | 22.55 | 58 | 0.467849 | 55 | 451 | 3.690909 | 0.4 | 0.246305 | 0.295567 | 0.369458 | 0.403941 | 0.403941 | 0 | 0 | 0 | 0 | 0 | 0.039088 | 0.31929 | 451 | 19 | 59 | 23.736842 | 0.62215 | 0 | 0 | 0.230769 | 0 | 0 | 0.031042 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 1 | 0.076923 | false | 0 | 0.153846 | 0 | 0.307692 | 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 |
b9fa0af36a0cc11843baba9691309fdd1cf823f0 | 2,494 | py | Python | hack_plot/migrations/0011_auto_20150705_2105.py | hellsgate1001/graphs | b781cc044670919e2d68048378ab1414d9523a2f | [
"MIT"
] | null | null | null | hack_plot/migrations/0011_auto_20150705_2105.py | hellsgate1001/graphs | b781cc044670919e2d68048378ab1414d9523a2f | [
"MIT"
] | null | null | null | hack_plot/migrations/0011_auto_20150705_2105.py | hellsgate1001/graphs | b781cc044670919e2d68048378ab1414d9523a2f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('hack_plot', '0010_auto_20150705_2020'),
]
operations = [
migrations.RemoveField(
model_name='sshhackip',
... | 29.341176 | 63 | 0.548115 | 213 | 2,494 | 6.187793 | 0.220657 | 0.095599 | 0.138088 | 0.159332 | 0.85129 | 0.830046 | 0.65478 | 0.459788 | 0.459788 | 0.459788 | 0 | 0.020196 | 0.344828 | 2,494 | 84 | 64 | 29.690476 | 0.786414 | 0.00842 | 0 | 0.858974 | 0 | 0 | 0.135168 | 0.009308 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025641 | 0 | 0.064103 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b9fd4b796990481a37151c0f67570151fa89b76a | 1,165 | py | Python | game/apps/core/models/system/models.py | alviproject/birdstorm | 439ff97ee40c3dd93b8fa8bfca557bdee9c036e1 | [
"MIT"
] | null | null | null | game/apps/core/models/system/models.py | alviproject/birdstorm | 439ff97ee40c3dd93b8fa8bfca557bdee9c036e1 | [
"MIT"
] | null | null | null | game/apps/core/models/system/models.py | alviproject/birdstorm | 439ff97ee40c3dd93b8fa8bfca557bdee9c036e1 | [
"MIT"
] | null | null | null | from concurrency.fields import IntegerVersionField
from django.db import models
from game.utils.polymorph import PolymorphicBase
class System(PolymorphicBase):
x = models.FloatField()
y = models.FloatField()
version = IntegerVersionField()
class Meta:
app_label = 'core'
def ... | 17.132353 | 51 | 0.653219 | 133 | 1,165 | 5.699248 | 0.345865 | 0.166227 | 0.257256 | 0.343008 | 0.490765 | 0.459103 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264378 | 1,165 | 67 | 52 | 17.38806 | 0.884481 | 0 | 0 | 0.351351 | 0 | 0 | 0.005464 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0 | 0.081081 | 0.027027 | 0.972973 | 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 |
b9fd5c70edd43d6c98660cb0e6ceac0d956e39b5 | 38 | py | Python | msticpy/_version.py | JennySnyk/msticpy | 44b1a390510f9be2772ec62cb95d0fc67dfc234b | [
"MIT"
] | 1 | 2021-07-29T16:04:08.000Z | 2021-07-29T16:04:08.000Z | msticpy/_version.py | RiskIQ/msticpy | 44b1a390510f9be2772ec62cb95d0fc67dfc234b | [
"MIT"
] | null | null | null | msticpy/_version.py | RiskIQ/msticpy | 44b1a390510f9be2772ec62cb95d0fc67dfc234b | [
"MIT"
] | null | null | null | """Version file."""
VERSION = "1.2.1"
| 12.666667 | 19 | 0.552632 | 6 | 38 | 3.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.131579 | 38 | 2 | 20 | 19 | 0.545455 | 0.342105 | 0 | 0 | 0 | 0 | 0.263158 | 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 |
6a24dc59f1048ee196e8757b3c34655b649dc84e | 346 | py | Python | apps/some_parser.py | jonasjonker/gadod | 7db01ed9f7d2c2630031d8ff66d43ef620639343 | [
"MIT"
] | null | null | null | apps/some_parser.py | jonasjonker/gadod | 7db01ed9f7d2c2630031d8ff66d43ef620639343 | [
"MIT"
] | null | null | null | apps/some_parser.py | jonasjonker/gadod | 7db01ed9f7d2c2630031d8ff66d43ef620639343 | [
"MIT"
] | null | null | null | from pyspark.sql import SparkSession
import pyspark.sql.functions as F
def setGlobalSparkSession(appName):
global spark
spark = SparkSession.builder.appName(appName).getOrCreate()
def readDataFrameFromText(file):
return spark.read.text(file)
def verwerkDataFrame(df):
return df.withColumn("value",... | 26.615385 | 63 | 0.754335 | 42 | 346 | 6.214286 | 0.619048 | 0.076628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135838 | 346 | 12 | 64 | 28.833333 | 0.87291 | 0 | 0 | 0 | 0 | 0 | 0.028902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.222222 | 0.222222 | 0.777778 | 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 |
6a27ac256a6e4d29f36ed2830025330f0a61c696 | 723 | py | Python | fullstack/migrations/0006_auto_20200331_1654.py | arondasamuel123/TurfAPI | 747dec3d1bbd052d7b9e8327d407059838c495f3 | [
"MIT"
] | null | null | null | fullstack/migrations/0006_auto_20200331_1654.py | arondasamuel123/TurfAPI | 747dec3d1bbd052d7b9e8327d407059838c495f3 | [
"MIT"
] | 3 | 2021-03-19T01:27:34.000Z | 2021-06-10T18:49:14.000Z | fullstack/migrations/0006_auto_20200331_1654.py | arondasamuel123/TurfAPI | 747dec3d1bbd052d7b9e8327d407059838c495f3 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.4 on 2020-03-31 13:54
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('fullstack', '0005_auto_20200331_1541'),
]
operations = [
migrations.AlterField(
model_name='schedule',
name='time_sl... | 24.931034 | 50 | 0.578147 | 74 | 723 | 5.445946 | 0.540541 | 0.148883 | 0.186104 | 0.215881 | 0.595534 | 0.595534 | 0.51861 | 0.51861 | 0.397022 | 0.397022 | 0 | 0.074297 | 0.311203 | 723 | 28 | 51 | 25.821429 | 0.73494 | 0.062241 | 0 | 0.545455 | 1 | 0 | 0.143491 | 0.034024 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6a2b89a17dcebc4748d6291b22819beb9095908f | 233 | py | Python | py/kubeflow/kubeflow/cd/notebook_servers/notebook_server_codeserver_runner.py | zhyon404/kubeflow | e0daf0f2eee705e5ffd78d78b5b34290c7e423ff | [
"Apache-2.0"
] | 9,272 | 2018-01-29T14:14:06.000Z | 2022-03-31T14:01:45.000Z | py/kubeflow/kubeflow/cd/notebook_servers/notebook_server_codeserver_runner.py | zhou762/kubeflow | 5bf005f21647c2238b8f863e9e51e9c81872b2f5 | [
"Apache-2.0"
] | 6,321 | 2018-01-29T14:00:15.000Z | 2022-03-31T21:21:07.000Z | py/kubeflow/kubeflow/cd/notebook_servers/notebook_server_codeserver_runner.py | zhou762/kubeflow | 5bf005f21647c2238b8f863e9e51e9c81872b2f5 | [
"Apache-2.0"
] | 1,909 | 2018-01-30T01:31:58.000Z | 2022-03-30T07:43:48.000Z | # This file is only intended for development purposes
from kubeflow.kubeflow.cd import base_runner
base_runner.main(component_name="notebook_servers.notebook_server_codeserver",
workflow_name="nb-codeserver-build")
| 38.833333 | 78 | 0.7897 | 30 | 233 | 5.9 | 0.8 | 0.112994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141631 | 233 | 5 | 79 | 46.6 | 0.885 | 0.218884 | 0 | 0 | 0 | 0 | 0.344444 | 0.238889 | 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 |
6a323cabfd5e7524c5f5c8e05cd81e03ca8aa3d7 | 97 | py | Python | calligraphy_scripting/__init__.py | jfcarter2358/calligraphy | efd3cfd9759d8dd4ffec771e32c4d22f7c5e0af8 | [
"MIT"
] | null | null | null | calligraphy_scripting/__init__.py | jfcarter2358/calligraphy | efd3cfd9759d8dd4ffec771e32c4d22f7c5e0af8 | [
"MIT"
] | null | null | null | calligraphy_scripting/__init__.py | jfcarter2358/calligraphy | efd3cfd9759d8dd4ffec771e32c4d22f7c5e0af8 | [
"MIT"
] | null | null | null | """Calligraphy script runner"""
from calligraphy_scripting import runner
__version__ = "1.1.2"
| 16.166667 | 40 | 0.762887 | 12 | 97 | 5.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0.123711 | 97 | 5 | 41 | 19.4 | 0.776471 | 0.257732 | 0 | 0 | 0 | 0 | 0.075758 | 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 |
dbfa2d615cb1308a5e1c25f246ab2a5caf36060f | 320 | py | Python | multiuploader/urls.py | SharmaVinayKumar/django-multiuploader | 58e545307014830b00101129a297b6d465b87583 | [
"MIT"
] | 5 | 2017-02-25T21:12:37.000Z | 2017-03-12T15:05:55.000Z | multiuploader/urls.py | SharmaVinayKumar/django-multiuploader | 58e545307014830b00101129a297b6d465b87583 | [
"MIT"
] | 4 | 2017-02-25T19:08:23.000Z | 2017-03-12T15:53:54.000Z | multiuploader/urls.py | vinaypost/multiuploader | 58e545307014830b00101129a297b6d465b87583 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.conf.urls import url
from multiuploader.views import MultiuploaderView
urlpatterns = [
url(r'^multiuploader/(?P<pk>[0-9]+)/$', MultiuploaderView.as_view(), name='multiuploader'),
url(r'^multiuploader/$', MultiuploaderView.as_view(), name='multiuploader'),
]
| 32 | 95 | 0.75 | 37 | 320 | 6.297297 | 0.567568 | 0.034335 | 0.145923 | 0.23176 | 0.343348 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006944 | 0.1 | 320 | 9 | 96 | 35.555556 | 0.802083 | 0 | 0 | 0 | 0 | 0 | 0.228125 | 0.096875 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e00a5e81aa8a728a735a6129e7f76e1fac45e609 | 31 | py | Python | test/login.py | DrDrBoom/test007 | 693c492925870fafc2aa0f64d6182f15bc2de11e | [
"MIT"
] | null | null | null | test/login.py | DrDrBoom/test007 | 693c492925870fafc2aa0f64d6182f15bc2de11e | [
"MIT"
] | null | null | null | test/login.py | DrDrBoom/test007 | 693c492925870fafc2aa0f64d6182f15bc2de11e | [
"MIT"
] | null | null | null | name = 'tom'
name = 'zhangsan'
| 10.333333 | 17 | 0.612903 | 4 | 31 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 31 | 2 | 18 | 15.5 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0.354839 | 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 |
e0182f5f8fcf3e310d05787821adbcdb7e24458f | 6,101 | py | Python | tests/report/test_context.py | haowen-xu/mlsnippet | 94f0b419340e763747a008b8c93feca06140adc5 | [
"MIT"
] | 1 | 2018-05-25T07:57:13.000Z | 2018-05-25T07:57:13.000Z | tests/report/test_context.py | haowen-xu/mlsnippet | 94f0b419340e763747a008b8c93feca06140adc5 | [
"MIT"
] | 2 | 2018-06-02T04:03:36.000Z | 2018-07-18T03:57:46.000Z | tests/report/test_context.py | haowen-xu/mltoolkit | 94f0b419340e763747a008b8c93feca06140adc5 | [
"MIT"
] | null | null | null | import unittest
import pytest
from mlsnippet.report import *
class UniqueNamesTestCase(unittest.TestCase):
def test_uniquify(self):
names = UniqueNames()
# test no object
self.assertEqual(names.uniquify('a'), 'a')
self.assertEqual(names.uniquify('a'), 'a_1')
self.assert... | 46.219697 | 79 | 0.557614 | 683 | 6,101 | 4.830161 | 0.163982 | 0.254623 | 0.180055 | 0.143983 | 0.745681 | 0.670809 | 0.614125 | 0.537739 | 0.367384 | 0.343134 | 0 | 0.026416 | 0.31126 | 6,101 | 131 | 80 | 46.572519 | 0.758686 | 0.020816 | 0 | 0.495327 | 0 | 0 | 0.065695 | 0 | 0 | 0 | 0 | 0 | 0.579439 | 1 | 0.028037 | false | 0.018692 | 0.028037 | 0 | 0.074766 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e021fc5a921cd187de1c8f9ae5d9d6ea8908a63d | 1,592 | py | Python | fparser/__init__.py | svalqui/sysad | 248da7166a81d5af9ccdaa704387f1f5de1f7639 | [
"MIT"
] | null | null | null | fparser/__init__.py | svalqui/sysad | 248da7166a81d5af9ccdaa704387f1f5de1f7639 | [
"MIT"
] | null | null | null | fparser/__init__.py | svalqui/sysad | 248da7166a81d5af9ccdaa704387f1f5de1f7639 | [
"MIT"
] | null | null | null | # Copyright 2019 by Sergio Valqui. All rights reserved.
## ConfigParser used as reference
from collections.abc import MutableMapping
from collections import OrderedDict as _default_dict, ChainMap as _ChainMap
import functools
import io
import itertools
import re
import sys
import warnings
from Bio import SeqIO
clas... | 27.929825 | 85 | 0.71608 | 202 | 1,592 | 5.60396 | 0.554455 | 0.021201 | 0.031802 | 0.030035 | 0.090106 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003195 | 0.213568 | 1,592 | 56 | 86 | 28.428571 | 0.900958 | 0.71294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.9 | 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 |
e06f11ca1916f782eb2f60c46b07096e866bf715 | 225 | py | Python | Code only/7- Classes/Inheritance.py | AhmedRaja1/Python-Beginner-s-Starter-Kit | 285cfbeb7207e6531954f21cae3a062f977ee5a0 | [
"MIT"
] | 1 | 2021-09-27T16:47:25.000Z | 2021-09-27T16:47:25.000Z | Code only/7- Classes/Inheritance.py | AhmedRaja1/Python-Beginner-s-Starter-Kit | 285cfbeb7207e6531954f21cae3a062f977ee5a0 | [
"MIT"
] | null | null | null | Code only/7- Classes/Inheritance.py | AhmedRaja1/Python-Beginner-s-Starter-Kit | 285cfbeb7207e6531954f21cae3a062f977ee5a0 | [
"MIT"
] | 1 | 2021-09-27T16:47:33.000Z | 2021-09-27T16:47:33.000Z | class animal:
def eat(self):
print("eat")
class mammal(animal):
def walk(self):
print("walk")
class fish(animal):
def swim(self):
print("swim")
moka = mammal()
moka.eat()
moka.walk()
| 11.842105 | 21 | 0.56 | 29 | 225 | 4.344828 | 0.37931 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275556 | 225 | 18 | 22 | 12.5 | 0.773006 | 0 | 0 | 0 | 0 | 0 | 0.048889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0ebf245548eb31cac87cef718f16a49e7e7c77a9 | 1,637 | py | Python | exporter.py | quickbeam123/deepire3.1 | f723e7be7cc6ee5f78ddd70a6169416858899350 | [
"MIT"
] | null | null | null | exporter.py | quickbeam123/deepire3.1 | f723e7be7cc6ee5f78ddd70a6169416858899350 | [
"MIT"
] | null | null | null | exporter.py | quickbeam123/deepire3.1 | f723e7be7cc6ee5f78ddd70a6169416858899350 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import torch
from torch import Tensor
import time
from typing import Dict, List, Tuple, Optional
from collections import defaultdict
from collections import ChainMap
import sys,random,itertools
import inf_common as IC
import hyperparams as HP
if __name__ == "__main__":
# Experiments wit... | 30.314815 | 180 | 0.75504 | 274 | 1,637 | 4.321168 | 0.521898 | 0.041385 | 0.030405 | 0.040541 | 0.037162 | 0.037162 | 0 | 0 | 0 | 0 | 0 | 0.077147 | 0.16066 | 1,637 | 53 | 181 | 30.886792 | 0.784571 | 0.492975 | 0 | 0 | 0 | 0 | 0.070025 | 0 | 0 | 0 | 0 | 0.018868 | 0 | 1 | 0 | true | 0 | 0.454545 | 0 | 0.454545 | 0.136364 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0ec86b0367f30d3ddd6805696810a55c7828cf64 | 1,280 | py | Python | upt/exceptions.py | bish0polis/upt | 6f3acbc9961481863f9ead36a09f0417b4e88d64 | [
"BSD-3-Clause"
] | null | null | null | upt/exceptions.py | bish0polis/upt | 6f3acbc9961481863f9ead36a09f0417b4e88d64 | [
"BSD-3-Clause"
] | null | null | null | upt/exceptions.py | bish0polis/upt | 6f3acbc9961481863f9ead36a09f0417b4e88d64 | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2018 Cyril Roelandt
#
# Licensed under the 3-clause BSD license. See the LICENSE file.
class InvalidPackageNameError(Exception):
"""Invalid package name or non-existing package."""
def __init__(self, frontend, pkg_name):
self.frontend = frontend
self.pkg_name = pkg_name
d... | 32.820513 | 78 | 0.652344 | 156 | 1,280 | 5.147436 | 0.333333 | 0.119552 | 0.099626 | 0.059776 | 0.310087 | 0.288917 | 0.176837 | 0.094645 | 0 | 0 | 0 | 0.005225 | 0.252344 | 1,280 | 38 | 79 | 33.684211 | 0.833856 | 0.179688 | 0 | 0.347826 | 0 | 0 | 0.28876 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0 | 0 | 0.130435 | 0.521739 | 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 |
0ece79a46ef4895741d3da14e86d2fd916320e9d | 1,671 | py | Python | examples/UPDATED_ge_example_mit/great_expectations/run_example_checkpoint.py | samsonq/datadrift | c4298d588b5df27992f332c1df5b092c54823b4e | [
"MIT"
] | null | null | null | examples/UPDATED_ge_example_mit/great_expectations/run_example_checkpoint.py | samsonq/datadrift | c4298d588b5df27992f332c1df5b092c54823b4e | [
"MIT"
] | null | null | null | examples/UPDATED_ge_example_mit/great_expectations/run_example_checkpoint.py | samsonq/datadrift | c4298d588b5df27992f332c1df5b092c54823b4e | [
"MIT"
] | null | null | null | """
This is a basic generated Great Expectations script that runs a Checkpoint.
Checkpoints are the primary method for validating batches of data in production and triggering any followup actions.
A Checkpoint facilitates running a validation as well as configurable Actions such as updating Data Docs, sending a
notif... | 42.846154 | 265 | 0.809695 | 243 | 1,671 | 5.436214 | 0.530864 | 0.077214 | 0.012112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001373 | 0.128067 | 1,671 | 38 | 266 | 43.973684 | 0.905285 | 0.657092 | 0 | 0 | 1 | 0 | 0.113274 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.3125 | 0 | 0.3125 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0ecf0216ff05f6282acc9c54c4e57320448f85d3 | 204 | py | Python | core/taming/utils/diffusion_utils.py | ollietb/VQGAN-CLIP-Docker | f3c6bd44bd1948dd9a5a4fd75d8d43910c9267ce | [
"MIT"
] | 57 | 2021-08-06T19:23:06.000Z | 2022-03-30T04:20:11.000Z | core/taming/utils/diffusion_utils.py | ollietb/VQGAN-CLIP-Docker | f3c6bd44bd1948dd9a5a4fd75d8d43910c9267ce | [
"MIT"
] | 3 | 2021-09-01T00:31:10.000Z | 2021-11-13T11:27:42.000Z | core/taming/utils/diffusion_utils.py | ollietb/VQGAN-CLIP-Docker | f3c6bd44bd1948dd9a5a4fd75d8d43910c9267ce | [
"MIT"
] | 12 | 2021-08-08T05:18:38.000Z | 2022-03-24T20:12:56.000Z | import torch
def nonlinearity(x):
# swish
return x * torch.sigmoid(x)
def Normalize(in_channels):
return torch.nn.GroupNorm(num_groups=32, num_channels=in_channels, eps=1e-6, affine=True)
| 18.545455 | 93 | 0.72549 | 31 | 204 | 4.645161 | 0.677419 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023392 | 0.161765 | 204 | 10 | 94 | 20.4 | 0.818713 | 0.02451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0ecf6c8302eab76e177332fd6f929bf479755a4e | 567 | py | Python | server/hu-bmap-ontology-api-client/hu_bmap_ontology_api_client/models/__init__.py | hubmapconsortium/ontology-api | f7fadf31de028acdd9cabbb5e9d6e48b9863ffac | [
"MIT"
] | 2 | 2021-10-03T15:31:55.000Z | 2021-10-04T08:55:23.000Z | server/hu-bmap-ontology-api-client/hu_bmap_ontology_api_client/models/__init__.py | hubmapconsortium/ontology-api | f7fadf31de028acdd9cabbb5e9d6e48b9863ffac | [
"MIT"
] | 105 | 2020-12-11T13:03:31.000Z | 2022-03-31T17:08:03.000Z | server/hu-bmap-ontology-api-client/hu_bmap_ontology_api_client/models/__init__.py | hubmapconsortium/ontology-api | f7fadf31de028acdd9cabbb5e9d6e48b9863ffac | [
"MIT"
] | 2 | 2021-07-08T14:49:25.000Z | 2022-02-14T20:12:20.000Z | """ Contains all the data models used in inputs/outputs """
from .codes_codes_obj import CodesCodesObj
from .concept_detail import ConceptDetail
from .concept_term import ConceptTerm
from .full_capacity_term import FullCapacityTerm
from .qqst import QQST
from .sab_code_term import SabCodeTerm
from .sab_definition impo... | 37.8 | 77 | 0.862434 | 75 | 567 | 6.28 | 0.546667 | 0.063694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104056 | 567 | 14 | 78 | 40.5 | 0.927165 | 0.089947 | 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 |
0ed0b67dccd9457d1a0e86473f0f7fd6dc25b07d | 288 | py | Python | speech/dataset/plot_speech.py | Speech-VINO/Speech-Analysis | e95083c4709f3ba7bcc89006ff4623d73475dacd | [
"MIT"
] | 1 | 2020-03-12T16:57:32.000Z | 2020-03-12T16:57:32.000Z | speech/dataset/plot_speech.py | Speech-VINO/Speech-Analysis | e95083c4709f3ba7bcc89006ff4623d73475dacd | [
"MIT"
] | null | null | null | speech/dataset/plot_speech.py | Speech-VINO/Speech-Analysis | e95083c4709f3ba7bcc89006ff4623d73475dacd | [
"MIT"
] | 3 | 2020-02-26T13:14:42.000Z | 2020-05-25T03:52:45.000Z | import matplotlib.pyplot as plt
import numpy as np
def plot_ica_points(feat_actors, ica_mixing_array, idx):
data = np.concatenate([feat_actors['01'][idx] for actor in feat_actors],axis=1)
scatter = np.dot(data.T, ica_mixing_array[idx])
plt.scatter(scatter[:,0], scatter[:,1]) | 41.142857 | 83 | 0.732639 | 48 | 288 | 4.208333 | 0.583333 | 0.148515 | 0.138614 | 0.168317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01992 | 0.128472 | 288 | 7 | 84 | 41.142857 | 0.784861 | 0 | 0 | 0 | 0 | 0 | 0.00692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0ed5464486995570944cbb5c1ecdbfc8818842e5 | 64 | py | Python | core/test.py | younghanstark/kpmg_pinkcowlab | c80292756d3de191354c6285093d5f0a0ede643c | [
"MIT"
] | null | null | null | core/test.py | younghanstark/kpmg_pinkcowlab | c80292756d3de191354c6285093d5f0a0ede643c | [
"MIT"
] | 2 | 2021-02-18T12:54:52.000Z | 2021-02-20T15:57:42.000Z | core/test.py | younghanstark/kpmg_pinkcowlab | c80292756d3de191354c6285093d5f0a0ede643c | [
"MIT"
] | 4 | 2021-02-04T06:41:54.000Z | 2021-02-14T12:38:36.000Z | import sys
for line in sys.stdin:
print(line)
print("low") | 10.666667 | 22 | 0.671875 | 11 | 64 | 3.909091 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203125 | 64 | 6 | 23 | 10.666667 | 0.843137 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 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 |
0ee2318c36f34fa5d9c09d18d022178d9e856130 | 55 | py | Python | EmptySeries.py | poojadhoble32/python-projects | 4c094dd0072d4213344e26476e4e99a4a12246e7 | [
"bzip2-1.0.6"
] | null | null | null | EmptySeries.py | poojadhoble32/python-projects | 4c094dd0072d4213344e26476e4e99a4a12246e7 | [
"bzip2-1.0.6"
] | null | null | null | EmptySeries.py | poojadhoble32/python-projects | 4c094dd0072d4213344e26476e4e99a4a12246e7 | [
"bzip2-1.0.6"
] | null | null | null | import pandas as pd
x = pd.Series()
print (x)
| 13.75 | 22 | 0.563636 | 9 | 55 | 3.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.327273 | 55 | 3 | 23 | 18.333333 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1606020416b077e11c7919e23d6d3b295227124c | 463 | py | Python | LeetCode/Python/7. Reverse Integer/reverse_integer_test.py | accidentalgenius09/competitive-programming-solution | 210746a7928dcd601ad9a735de52cf7135851070 | [
"MIT"
] | 8 | 2020-08-03T01:53:13.000Z | 2022-01-09T14:47:58.000Z | LeetCode/Python/7. Reverse Integer/reverse_integer_test.py | accidentalgenius09/competitive-programming-solution | 210746a7928dcd601ad9a735de52cf7135851070 | [
"MIT"
] | null | null | null | LeetCode/Python/7. Reverse Integer/reverse_integer_test.py | accidentalgenius09/competitive-programming-solution | 210746a7928dcd601ad9a735de52cf7135851070 | [
"MIT"
] | 4 | 2020-09-29T11:28:53.000Z | 2021-06-02T15:34:55.000Z | import unittest
from reverse_integer import Solution
obj = Solution()
class ReverseIntegerTest(unittest.TestCase):
def test_one(self):
self.assertEqual(obj.reverse(123), 321)
def test_two(self):
self.assertEqual(obj.reverse(1534236469), 0)
def test_three(self):
self.assertEq... | 22.047619 | 52 | 0.678186 | 58 | 463 | 5.189655 | 0.465517 | 0.093023 | 0.252492 | 0.292359 | 0.385382 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065041 | 0.203024 | 463 | 21 | 53 | 22.047619 | 0.750678 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.5 | 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 |
16184db51571ab5092a795c5eccd6ba1d4935134 | 185 | py | Python | adapterPattern/Phone.py | manondidi/python-designPattern | 0779be858d0afc96acff604243c84a4155398a5a | [
"Apache-2.0"
] | 4 | 2019-12-10T13:32:56.000Z | 2022-03-04T11:12:45.000Z | adapterPattern/Phone.py | manondidi/python-designPattern | 0779be858d0afc96acff604243c84a4155398a5a | [
"Apache-2.0"
] | null | null | null | adapterPattern/Phone.py | manondidi/python-designPattern | 0779be858d0afc96acff604243c84a4155398a5a | [
"Apache-2.0"
] | null | null | null | from adapterPattern.Adapter import Adapter
class Phone:
def __init__(self):
self.adapter = None
def charge(self):
print('手机充电')
self.adapter.adapt()
| 15.416667 | 42 | 0.627027 | 21 | 185 | 5.333333 | 0.666667 | 0.196429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275676 | 185 | 11 | 43 | 16.818182 | 0.835821 | 0 | 0 | 0 | 0 | 0 | 0.021622 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.571429 | 0.142857 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
161db2ae9495d949021d8d543ea6f303bca55000 | 212 | py | Python | tests/utils.py | michaelbrewer/url-shortener | d6c7f9b0ca6aa6b14139bc37807085288054e0a5 | [
"MIT"
] | 4 | 2021-05-25T21:30:13.000Z | 2022-02-23T05:22:58.000Z | tests/utils.py | michaelbrewer/url-shortener | d6c7f9b0ca6aa6b14139bc37807085288054e0a5 | [
"MIT"
] | 169 | 2021-05-31T04:59:49.000Z | 2022-03-29T05:48:41.000Z | tests/utils.py | michaelbrewer/url-shortener | d6c7f9b0ca6aa6b14139bc37807085288054e0a5 | [
"MIT"
] | null | null | null | import json
from pathlib import Path
from typing import Any
def load_event(file_name: str) -> Any:
path = Path(str(Path(__file__).parent) + "/fixtures/" + file_name)
return json.loads(path.read_text())
| 23.555556 | 70 | 0.716981 | 32 | 212 | 4.5 | 0.59375 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160377 | 212 | 8 | 71 | 26.5 | 0.808989 | 0 | 0 | 0 | 0 | 0 | 0.04717 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
1622c9107e3bb58932ecb3e04e1e2203a9ac92b7 | 40,909 | py | Python | code_python/1.2/edge-extract.py | pinxau1000/Computer-Vision | c1d8da241dfe39467aaa65777c725fdebffe35cf | [
"MIT"
] | null | null | null | code_python/1.2/edge-extract.py | pinxau1000/Computer-Vision | c1d8da241dfe39467aaa65777c725fdebffe35cf | [
"MIT"
] | null | null | null | code_python/1.2/edge-extract.py | pinxau1000/Computer-Vision | c1d8da241dfe39467aaa65777c725fdebffe35cf | [
"MIT"
] | null | null | null | # ------------------------------------------------------------------------------
# IMPORTS
# ------------------------------------------------------------------------------
from sys import version_info
from sys import path as syspath
from os import path
import json
_CURRENT_DIRECTORY =... | 39.260077 | 110 | 0.50583 | 4,424 | 40,909 | 4.524186 | 0.074819 | 0.086335 | 0.023382 | 0.018886 | 0.766725 | 0.730502 | 0.689383 | 0.663752 | 0.649313 | 0.643467 | 0 | 0.024916 | 0.345621 | 40,909 | 1,041 | 111 | 39.297791 | 0.722749 | 0.112274 | 0 | 0.703337 | 0 | 0 | 0.226555 | 0.023915 | 0 | 0 | 0 | 0 | 0.00618 | 1 | 0.012361 | false | 0.001236 | 0.021014 | 0 | 0.033375 | 0.025958 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1625c1df3581f26ed2d0204c8721bc264e647617 | 189 | py | Python | main.py | sfchronicle/top100-2017 | ad0e1b94d6c62b0b63b72e240473da48d5eb8025 | [
"Unlicense",
"MIT"
] | 1 | 2019-09-26T19:11:52.000Z | 2019-09-26T19:11:52.000Z | main.py | sfchronicle/top100-2017 | ad0e1b94d6c62b0b63b72e240473da48d5eb8025 | [
"Unlicense",
"MIT"
] | null | null | null | main.py | sfchronicle/top100-2017 | ad0e1b94d6c62b0b63b72e240473da48d5eb8025 | [
"Unlicense",
"MIT"
] | null | null | null | import os
import json
from app import app
from project import *
if __name__ == '__main__':
# freezer.run(debug=True)
# Start app
app.config['DEBUG'] = True
app.run(host='0.0.0.0')
| 13.5 | 27 | 0.677249 | 31 | 189 | 3.870968 | 0.548387 | 0.05 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025806 | 0.179894 | 189 | 13 | 28 | 14.538462 | 0.748387 | 0.174603 | 0 | 0 | 0 | 0 | 0.130719 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
16278c5f2ad2d4677c35bb4e70d0fa876de819c2 | 954 | py | Python | ego4d/cli/s3path_test.py | soCzech/Ego4d | c38b099ce384b13684977fd7b275d304176e4b61 | [
"MIT"
] | 38 | 2022-02-17T22:32:37.000Z | 2022-03-31T11:29:14.000Z | ego4d/cli/s3path_test.py | soCzech/Ego4d | c38b099ce384b13684977fd7b275d304176e4b61 | [
"MIT"
] | 38 | 2022-02-18T02:02:20.000Z | 2022-03-30T14:48:10.000Z | ego4d/cli/s3path_test.py | soCzech/Ego4d | c38b099ce384b13684977fd7b275d304176e4b61 | [
"MIT"
] | 4 | 2022-02-21T21:23:58.000Z | 2022-02-27T18:43:27.000Z | # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
from .s3path import bucket_and_key_from_path
def test_key_without_slashes():
b, k = bucket_and_key_from_path("s3://bucket/key")
assert b == "bucket"
assert k == "key"
def test_key_with_slashes():
b, k = bucket_and_key_from_path... | 28.058824 | 85 | 0.688679 | 150 | 954 | 4.1 | 0.22 | 0.087805 | 0.117073 | 0.156098 | 0.770732 | 0.609756 | 0.471545 | 0.471545 | 0.471545 | 0.35122 | 0 | 0.007519 | 0.163522 | 954 | 33 | 86 | 28.909091 | 0.763158 | 0.072327 | 0 | 0.285714 | 0 | 0 | 0.301246 | 0.183465 | 0 | 0 | 0 | 0 | 0.47619 | 1 | 0.238095 | true | 0 | 0.047619 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
162b8ecd4f6723aabf5d71bbfa5665021ffe2280 | 582 | py | Python | NaiveNeurals/utils.py | stovorov/NaiveNeurals | 88d91f3d4d39859eef372285f093643a447571a4 | [
"MIT"
] | 1 | 2019-01-16T13:45:47.000Z | 2019-01-16T13:45:47.000Z | NaiveNeurals/utils.py | stovorov/NaiveNeurals | 88d91f3d4d39859eef372285f093643a447571a4 | [
"MIT"
] | 2 | 2020-03-24T16:17:06.000Z | 2020-03-30T23:53:16.000Z | NaiveNeurals/utils.py | stovorov/NaiveNeurals | 88d91f3d4d39859eef372285f093643a447571a4 | [
"MIT"
] | null | null | null | """Contains definitions of util functions and classes"""
from enum import Enum
class DataSeries(Enum):
"""Enum storing definitions of possible data series being generated"""
SINE = 'sine'
SINE_GAUSS = 'sine_gauss'
SINE_MULTIPLE = 'sine_multiple'
class ErrorAlgorithm(Enum):
"""Enum storing defini... | 22.384615 | 74 | 0.713058 | 63 | 582 | 6.492063 | 0.587302 | 0.06357 | 0.07335 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189003 | 582 | 25 | 75 | 23.28 | 0.866525 | 0.393471 | 0 | 0.166667 | 1 | 0 | 0.155963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.083333 | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
162ff3a0d22aceb1e293177a7e38be0f116089a7 | 331 | py | Python | qtdesigner-plugins/FLTableDB.py | deavid/pineboo | acc96ab6d5b8bb182990af6dea4bf0986af15549 | [
"MIT"
] | 2 | 2015-09-19T16:54:49.000Z | 2016-09-12T08:06:29.000Z | qtdesigner-plugins/FLTableDB.py | deavid/pineboo | acc96ab6d5b8bb182990af6dea4bf0986af15549 | [
"MIT"
] | 1 | 2017-08-14T17:07:14.000Z | 2017-08-15T00:22:47.000Z | qtdesigner-plugins/FLTableDB.py | deavid/pineboo | acc96ab6d5b8bb182990af6dea4bf0986af15549 | [
"MIT"
] | 9 | 2015-01-15T18:15:42.000Z | 2019-05-05T18:53:00.000Z | # -*- coding: utf-8 -*-
# pytype: skip-file
# type: ignore
from typing import Tuple
pluginType = MODULE # noqa # La constante MODULE es parte de cómo PyQt carga los plugins. Es insertada por el loader en el namespace local
def moduleInformation() -> Tuple[str, str]:
return "pineboolib.fllegacy.fltabledb", ("F... | 27.583333 | 140 | 0.716012 | 45 | 331 | 5.266667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003676 | 0.178248 | 331 | 11 | 141 | 30.090909 | 0.867647 | 0.510574 | 0 | 0 | 0 | 0 | 0.24359 | 0.185897 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 |
163d92d76f9e10bebea839060bfe2137283e160b | 43 | py | Python | restful/__init__.py | tartley/restful-categories-exercise | 6d63484a718f8af6c8d5f8a97b4951994d5e089e | [
"BSD-3-Clause"
] | null | null | null | restful/__init__.py | tartley/restful-categories-exercise | 6d63484a718f8af6c8d5f8a97b4951994d5e089e | [
"BSD-3-Clause"
] | null | null | null | restful/__init__.py | tartley/restful-categories-exercise | 6d63484a718f8af6c8d5f8a97b4951994d5e089e | [
"BSD-3-Clause"
] | null | null | null |
VERSION = '0.1'
RELEASE = VERSION + 'dev'
| 10.75 | 25 | 0.604651 | 6 | 43 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.209302 | 43 | 3 | 26 | 14.333333 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 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 |
1644622bd52d030f717b46ed8c6d540a9dd350e3 | 94 | py | Python | landing/apps.py | debajyotiroyc/SocialMedia_App | 6a4d27b1ca116df7e7b0acbb97b61affc8940b9d | [
"MIT"
] | null | null | null | landing/apps.py | debajyotiroyc/SocialMedia_App | 6a4d27b1ca116df7e7b0acbb97b61affc8940b9d | [
"MIT"
] | 6 | 2020-06-05T18:35:05.000Z | 2022-03-11T23:26:37.000Z | landing/apps.py | debajyotiroyc/SocialMedia_App | 6a4d27b1ca116df7e7b0acbb97b61affc8940b9d | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class LandingConfig(AppConfig):
name = 'landing'
| 15.666667 | 34 | 0.712766 | 10 | 94 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 94 | 5 | 35 | 18.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 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 |
164fe9ce0878fe43a5c579317fb7a665132d26c4 | 214 | py | Python | clientes/models.py | lauraziebarth/vendas-backend | 026a86f1995af63f02738dd6166ebb3e145878a3 | [
"MIT"
] | null | null | null | clientes/models.py | lauraziebarth/vendas-backend | 026a86f1995af63f02738dd6166ebb3e145878a3 | [
"MIT"
] | null | null | null | clientes/models.py | lauraziebarth/vendas-backend | 026a86f1995af63f02738dd6166ebb3e145878a3 | [
"MIT"
] | null | null | null | from django.db import models
class Cliente(models.Model):
nome = models.CharField(max_length=200)
excluido = models.BooleanField(default=False)
ultima_alteracao = models.DateTimeField(auto_now=True)
| 23.777778 | 58 | 0.766355 | 27 | 214 | 5.962963 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016304 | 0.140187 | 214 | 8 | 59 | 26.75 | 0.858696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.