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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8ec23c3a9e3c52ff1bcf08e33f1a9c1fcf6ee883 | 417 | py | Python | test_func.py | indofanat/inliner | 1dc0cb3da313fc694cf0f09150c488b51d991bd6 | [
"MIT"
] | 72 | 2015-01-10T14:35:24.000Z | 2022-03-22T14:00:51.000Z | test_func.py | indofanat/inliner | 1dc0cb3da313fc694cf0f09150c488b51d991bd6 | [
"MIT"
] | 2 | 2015-06-16T20:05:21.000Z | 2021-06-16T22:47:26.000Z | test_func.py | indofanat/inliner | 1dc0cb3da313fc694cf0f09150c488b51d991bd6 | [
"MIT"
] | 13 | 2015-06-08T01:25:50.000Z | 2021-11-25T16:02:15.000Z | from inliner import inline
class SillyGetterSetter(object):
def __init__(self, stuff):
self.stuff = stuff
@inline
def setStuff(self, obj):
self.stuff = obj
@inline
def getStuff(self):
return self.stuff
@inline
def add_stuff(x, y):
return x + y
def add_lots_of_number... | 16.68 | 32 | 0.640288 | 61 | 417 | 4.180328 | 0.459016 | 0.141176 | 0.109804 | 0.12549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009772 | 0.263789 | 417 | 25 | 33 | 16.68 | 0.820847 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8ec7a763353c8546423b17b99e8982534029f416 | 861 | py | Python | encrypt.py | mtlynch/simple-encrypt | f22efacf0215dd79b2f3de0550460ef98cb44995 | [
"MIT"
] | null | null | null | encrypt.py | mtlynch/simple-encrypt | f22efacf0215dd79b2f3de0550460ef98cb44995 | [
"MIT"
] | null | null | null | encrypt.py | mtlynch/simple-encrypt | f22efacf0215dd79b2f3de0550460ef98cb44995 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import argparse
import base64
from cryptography import fernet
from cryptography.hazmat import backends
from cryptography.hazmat.primitives import hashes
from cryptography.hazmat.primitives.kdf import pbkdf2
import getpass
import secrets
import sys
def _derive_key(password: bytes) -> bytes:
kdf... | 27.774194 | 66 | 0.746806 | 104 | 861 | 6.028846 | 0.490385 | 0.102073 | 0.105263 | 0.102073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024457 | 0.14518 | 861 | 30 | 67 | 28.7 | 0.827446 | 0.019744 | 0 | 0 | 0 | 0 | 0.00949 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0.318182 | 0.409091 | 0 | 0.590909 | 0.045455 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
d907bd26982f2f0c607670322653cbde97921fee | 370 | py | Python | pystratis/api/voting/requestmodels/schedulevotewhitelisthashrequest.py | TjadenFroyda/pyStratis | 9cc7620d7506637f8a2b84003d931eceb36ac5f2 | [
"MIT"
] | 8 | 2021-06-30T20:44:22.000Z | 2021-12-07T14:42:22.000Z | pystratis/api/voting/requestmodels/schedulevotewhitelisthashrequest.py | TjadenFroyda/pyStratis | 9cc7620d7506637f8a2b84003d931eceb36ac5f2 | [
"MIT"
] | 2 | 2021-07-01T11:50:18.000Z | 2022-01-25T18:39:49.000Z | pystratis/api/voting/requestmodels/schedulevotewhitelisthashrequest.py | TjadenFroyda/pyStratis | 9cc7620d7506637f8a2b84003d931eceb36ac5f2 | [
"MIT"
] | 4 | 2021-07-01T04:36:42.000Z | 2021-09-17T10:54:19.000Z | from pydantic import Field
from pystratis.api import Model
from pystratis.core.types import uint256
# noinspection PyUnresolvedReferences
class ScheduleVoteWhitelistHashRequest(Model):
"""A request model for the voting/schedulevote-whitelist endpoint.
Args:
hash_id (uint256): The hash to whitelist.
... | 26.428571 | 70 | 0.754054 | 43 | 370 | 6.44186 | 0.627907 | 0.093863 | 0.093863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029316 | 0.17027 | 370 | 13 | 71 | 28.461538 | 0.872964 | 0.413514 | 0 | 0 | 0 | 0 | 0.020202 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 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 |
d911d284c2c65abab19624640b4b1617c8de9f73 | 225 | py | Python | problem0171.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0171.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0171.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | ###########################
#
# #171 Finding numbers for which the sum of the squares of the digits is a square - Project Euler
# https://projecteuler.net/problem=171
#
# Code by Kevin Marciniak
#
###########################
| 25 | 97 | 0.555556 | 27 | 225 | 4.62963 | 0.851852 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031088 | 0.142222 | 225 | 8 | 98 | 28.125 | 0.61658 | 0.688889 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d9218f78cebdd85b76c7f48a2f25369d9d4e7b11 | 1,161 | py | Python | test/test_diaphite_creator.py | graceday/DiaphiteCreator | 1a07db1890f1b8ab2ab0b78266ded3c3d023fbe8 | [
"MIT"
] | null | null | null | test/test_diaphite_creator.py | graceday/DiaphiteCreator | 1a07db1890f1b8ab2ab0b78266ded3c3d023fbe8 | [
"MIT"
] | null | null | null | test/test_diaphite_creator.py | graceday/DiaphiteCreator | 1a07db1890f1b8ab2ab0b78266ded3c3d023fbe8 | [
"MIT"
] | 1 | 2021-01-08T12:07:01.000Z | 2021-01-08T12:07:01.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jan 6 13:17:19 2021
@author: matthew-bailey
"""
from layer_utils import verify_layer_sequence
import pytest
class TestSequenceVerifier:
def test_all_same_type(self):
"""
Test two simple valid sequences.
"""
seq = ... | 24.702128 | 62 | 0.589147 | 167 | 1,161 | 3.916168 | 0.377246 | 0.039755 | 0.232416 | 0.235474 | 0.422018 | 0.382263 | 0.293578 | 0.17737 | 0.119266 | 0 | 0 | 0.067237 | 0.295435 | 1,161 | 46 | 63 | 25.23913 | 0.732274 | 0.165375 | 0 | 0.291667 | 0 | 0 | 0.001094 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 1 | 0.25 | false | 0 | 0.083333 | 0 | 0.375 | 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 |
d948c452c85779664e4a5dbf95cd9a8458d4f86d | 478 | py | Python | mezzanine_live_tile/__init__.py | mush42/mezzanine-live-tile | 28dd6cb1af43f25c50e724f141b5dd00f4f166e7 | [
"MIT"
] | 1 | 2019-08-12T23:38:40.000Z | 2019-08-12T23:38:40.000Z | mezzanine_live_tile/__init__.py | mush42/mezzanine-live-tile | 28dd6cb1af43f25c50e724f141b5dd00f4f166e7 | [
"MIT"
] | null | null | null | mezzanine_live_tile/__init__.py | mush42/mezzanine-live-tile | 28dd6cb1af43f25c50e724f141b5dd00f4f166e7 | [
"MIT"
] | 1 | 2019-08-12T23:38:43.000Z | 2019-08-12T23:38:43.000Z | """
Check that we have a valid class to work upon in our live tile notifications
"""
from django.core.exceptions import ImproperlyConfigured
from mezzanine.utils.importing import import_dotted_path
from mezzanine.conf import settings
model_class_path, fields = settings.WINDOWS_TILE_MODEL
try:
import_dotted_path(mode... | 34.142857 | 123 | 0.83682 | 69 | 478 | 5.594203 | 0.652174 | 0.07772 | 0.108808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112971 | 478 | 13 | 124 | 36.769231 | 0.910377 | 0.158996 | 0 | 0 | 0 | 0 | 0.187817 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d9539fb40b1fbcd00d59d600edb3753c72e45338 | 2,798 | py | Python | lime/scripts/graph_boltzmann_generator/test/test_f.py | choderalab/gin | 9082431d8b664699a898c1e2fa490a18737d6e2d | [
"MIT"
] | 24 | 2019-07-20T22:37:09.000Z | 2021-07-07T07:13:56.000Z | lime/scripts/graph_boltzmann_generator/test/test_f.py | choderalab/gin | 9082431d8b664699a898c1e2fa490a18737d6e2d | [
"MIT"
] | 3 | 2021-05-10T05:29:59.000Z | 2022-02-10T00:15:05.000Z | lime/scripts/graph_boltzmann_generator/test/test_f.py | kuano-ai/gimlet | 9082431d8b664699a898c1e2fa490a18737d6e2d | [
"MIT"
] | 8 | 2019-08-09T17:30:20.000Z | 2021-12-01T13:27:46.000Z | import flow
import tensorflow as tf
import gin
import numpy as np
import numpy.testing as npt
def test_f():
mol = gin.i_o.from_smiles.to_mol('CC')
mol = gin.deterministic.hydrogen.add_hydrogen(mol)
atoms, adjacency_map = mol
chinese_postman_routes = tf.constant(
[
[0, 1, 4, 1, 5, ... | 37.306667 | 89 | 0.401716 | 587 | 2,798 | 1.821124 | 0.098808 | 0.067353 | 0.067353 | 0.044902 | 0.669785 | 0.646399 | 0.646399 | 0.646399 | 0.646399 | 0.595884 | 0 | 0.251285 | 0.374196 | 2,798 | 74 | 90 | 37.810811 | 0.359223 | 0.102931 | 0 | 0 | 0 | 0 | 0.000799 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 1 | 0.018182 | false | 0 | 0.090909 | 0 | 0.109091 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d953c2e4063ac11b890c1e9193a951bcbcffcd89 | 217 | py | Python | api/factories/region.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | 11 | 2018-06-11T06:05:12.000Z | 2022-03-25T09:31:44.000Z | api/factories/region.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | 498 | 2017-11-07T21:20:13.000Z | 2022-03-31T14:37:18.000Z | api/factories/region.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | 6 | 2018-04-11T13:29:50.000Z | 2020-07-16T16:52:11.000Z | import factory
from factory import fuzzy
from .. import models
class RegionFactory(factory.django.DjangoModelFactory):
class Meta:
model = models.Region
name = fuzzy.FuzzyChoice(models.RegionName)
| 18.083333 | 55 | 0.746544 | 24 | 217 | 6.75 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184332 | 217 | 11 | 56 | 19.727273 | 0.915254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d95778c06dcc32a096bb83d9966d90fde9bdc449 | 116 | py | Python | tests/example/conflict/__init__.py | scbedd/sphinx-docfx-yaml | 1330a6621ccda57c016545e36968f07aef07e4db | [
"Apache-2.0"
] | 8 | 2018-07-28T14:18:04.000Z | 2021-10-15T08:21:25.000Z | tests/example/conflict/__init__.py | scbedd/sphinx-docfx-yaml | 1330a6621ccda57c016545e36968f07aef07e4db | [
"Apache-2.0"
] | 12 | 2018-07-24T09:03:13.000Z | 2021-05-04T18:18:05.000Z | tests/example/conflict/__init__.py | scbedd/sphinx-docfx-yaml | 1330a6621ccda57c016545e36968f07aef07e4db | [
"Apache-2.0"
] | 11 | 2017-10-30T09:31:32.000Z | 2021-03-11T23:20:12.000Z | # coding: utf-8
""" Package used to test YAML file conflicting.
"""
from .foo import Foo
__all__ = ['Foo'] | 14.5 | 48 | 0.62069 | 16 | 116 | 4.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.241379 | 116 | 8 | 49 | 14.5 | 0.761364 | 0.5 | 0 | 0 | 0 | 0 | 0.068182 | 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 |
d981521652a415e3782f47b3a5314943e442bb96 | 122 | py | Python | Backend/bike-manager-be/bike/TipoBike.py | jpdarricarrere/Trabalho_Eng_Software | 4a4929878890df312aea4c56dc6c2ce4c5532aa6 | [
"MIT"
] | null | null | null | Backend/bike-manager-be/bike/TipoBike.py | jpdarricarrere/Trabalho_Eng_Software | 4a4929878890df312aea4c56dc6c2ce4c5532aa6 | [
"MIT"
] | null | null | null | Backend/bike-manager-be/bike/TipoBike.py | jpdarricarrere/Trabalho_Eng_Software | 4a4929878890df312aea4c56dc6c2ce4c5532aa6 | [
"MIT"
] | 2 | 2022-03-20T18:16:45.000Z | 2022-03-20T18:22:16.000Z | from enum import Enum
class TipoBike(Enum):
urbana = 'urbana'
transporte = 'transporte'
corrida = 'corrida'
| 17.428571 | 29 | 0.663934 | 13 | 122 | 6.230769 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237705 | 122 | 6 | 30 | 20.333333 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0.188525 | 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 |
d9853a93187db6bb57dc4f160db304d1c200e02d | 372 | py | Python | bayesian_framework/inference/stochastic_models/covariance_type.py | AlexeyKonakov/state-space-estimation | ba30243211aded0db5b56ece134ab70d0b27ed03 | [
"MIT"
] | null | null | null | bayesian_framework/inference/stochastic_models/covariance_type.py | AlexeyKonakov/state-space-estimation | ba30243211aded0db5b56ece134ab70d0b27ed03 | [
"MIT"
] | null | null | null | bayesian_framework/inference/stochastic_models/covariance_type.py | AlexeyKonakov/state-space-estimation | ba30243211aded0db5b56ece134ab70d0b27ed03 | [
"MIT"
] | null | null | null | from enum import Enum
class CovarianceType(Enum):
unknown = 0
full = 1
diag = 2
sqrt = 3
sqrt_diag = 4,
svd = 5
def is_sqrt_like(cov_type: CovarianceType):
return cov_type in (CovarianceType.sqrt, CovarianceType.sqrt_diag)
def is_diag_like(cov_type: CovarianceType):
return cov_type... | 19.578947 | 70 | 0.715054 | 52 | 372 | 4.903846 | 0.442308 | 0.109804 | 0.086275 | 0.196078 | 0.423529 | 0.423529 | 0.423529 | 0.423529 | 0.423529 | 0 | 0 | 0.020408 | 0.209677 | 372 | 18 | 71 | 20.666667 | 0.846939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.083333 | 0.166667 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7953237757066a1e307a88164071dd53e0b5748e | 22 | py | Python | Data/__init__.py | himammz/GpTest | 66d6158fe3729cd26ee89b5d4531a45ef80b4bb4 | [
"Apache-2.0"
] | 1 | 2017-05-03T17:45:58.000Z | 2017-05-03T17:45:58.000Z | Data/__init__.py | LobnaMazhar/test-Python_heroku_webhook | cf51971646a3481cc89bbfef17e5816f8684448d | [
"Apache-2.0"
] | null | null | null | Data/__init__.py | LobnaMazhar/test-Python_heroku_webhook | cf51971646a3481cc89bbfef17e5816f8684448d | [
"Apache-2.0"
] | null | null | null | __all__ = ['Database'] | 22 | 22 | 0.681818 | 2 | 22 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 22 | 1 | 22 | 22 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0.347826 | 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 |
79742159685b138626139ec17f0dd1f22c8b1981 | 338 | py | Python | rial_old/stages/post_parsing/infinite_loop_detector.py | L3tum/RIAL | fba25f37434ff51e0de8e22ce834af589aba24e8 | [
"BSD-3-Clause"
] | 2 | 2020-06-02T20:00:28.000Z | 2020-06-06T02:15:49.000Z | rial_old/stages/post_parsing/infinite_loop_detector.py | L3tum/RIAL | fba25f37434ff51e0de8e22ce834af589aba24e8 | [
"BSD-3-Clause"
] | 51 | 2020-04-13T13:27:10.000Z | 2020-06-12T11:38:36.000Z | rial_old/stages/post_parsing/infinite_loop_detector.py | L3tum/RIAL | fba25f37434ff51e0de8e22ce834af589aba24e8 | [
"BSD-3-Clause"
] | 2 | 2020-06-24T14:44:01.000Z | 2020-11-29T04:08:54.000Z | from rial.concept.parser import Tree
from rial.stages.post_parsing.PostParsingInterface import PostParsingInterface
class InfiniteLoopDetector(PostParsingInterface):
def execute(self, ast: Tree):
while ast is not None:
self.visit_tree(ast)
ast = None
def visit_tree(self, ast: ... | 28.166667 | 78 | 0.704142 | 40 | 338 | 5.875 | 0.55 | 0.068085 | 0.093617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227811 | 338 | 12 | 79 | 28.166667 | 0.900383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.222222 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
7982877c4674b7b8d256140ac5214051506dd2de | 288 | py | Python | model.py | ndminh21/aaa | b31fa62092f5839bda567d97e0b52868f52cc79e | [
"BSD-Source-Code"
] | null | null | null | model.py | ndminh21/aaa | b31fa62092f5839bda567d97e0b52868f52cc79e | [
"BSD-Source-Code"
] | null | null | null | model.py | ndminh21/aaa | b31fa62092f5839bda567d97e0b52868f52cc79e | [
"BSD-Source-Code"
] | null | null | null | from app import db
from sqlalchemy.dialects.postgresql import JSON
class Transaction(db.Model):
__tablename__ = 'transaction'
id = db.Column(db.String(), primary_key=True)
size = db.Column(db.String())
time = db.Column(db.String())
valueout = db.Column(db.String()) | 26.181818 | 49 | 0.697917 | 39 | 288 | 5.025641 | 0.538462 | 0.163265 | 0.204082 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 288 | 11 | 50 | 26.181818 | 0.816667 | 0 | 0 | 0 | 0 | 0 | 0.038062 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
798637be871389748f30a7a91d907c86601d0900 | 2,438 | py | Python | Data Analyst in Python/Step 1 - Introduction to Python/1. Python for Data Science Fundamentals/7. Functions Intermediate.py | MyArist/Dataquest | d0ee0a2a5e9d1f69f09bf0f6c32f382b6fa46b18 | [
"MIT"
] | 8 | 2020-07-27T12:04:54.000Z | 2021-03-01T04:39:33.000Z | Data Scientist In Python/Step 1 - Python Introduction/1. Python for Data Science Fundamentals/7. Functions Intermediate.py | myarist/Dataquest | d0ee0a2a5e9d1f69f09bf0f6c32f382b6fa46b18 | [
"MIT"
] | null | null | null | Data Scientist In Python/Step 1 - Python Introduction/1. Python for Data Science Fundamentals/7. Functions Intermediate.py | myarist/Dataquest | d0ee0a2a5e9d1f69f09bf0f6c32f382b6fa46b18 | [
"MIT"
] | 15 | 2021-03-30T06:45:19.000Z | 2022-03-17T03:55:02.000Z | ## 1. Interfering with the Built-in Functions ##
a_list = [1, 8, 10, 9, 7]
print(max(a_list))
def max(a_list):
return "No max value returned"
max_val_test_0 = max(a_list)
print(max_val_test_0)
del max
## 3. Default Arguments ##
# INITIAL CODE
def open_dataset(file_name):
opened_file = open(file_name)
... | 22.785047 | 66 | 0.664479 | 345 | 2,438 | 4.484058 | 0.22029 | 0.072398 | 0.063348 | 0.081448 | 0.72786 | 0.722689 | 0.698125 | 0.676794 | 0.676794 | 0.667744 | 0 | 0.023707 | 0.23872 | 2,438 | 107 | 67 | 22.785047 | 0.809806 | 0.123462 | 0 | 0.785714 | 0 | 0 | 0.049881 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.114286 | false | 0 | 0.1 | 0.014286 | 0.385714 | 0.028571 | 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 |
799a32f641dd939095011e0ef627b43b64e4cd1e | 56 | py | Python | insta_share/__init__.py | softcoder24/insta_share | 955ea1052b739b029608a379ad7f2208a03f68ce | [
"Apache-2.0"
] | 22 | 2020-11-17T19:16:58.000Z | 2022-02-07T17:15:54.000Z | insta_share/__init__.py | softcoder24/insta_share | 955ea1052b739b029608a379ad7f2208a03f68ce | [
"Apache-2.0"
] | 8 | 2020-11-17T16:15:32.000Z | 2022-01-18T19:09:00.000Z | insta_share/__init__.py | softcoder24/insta_share | 955ea1052b739b029608a379ad7f2208a03f68ce | [
"Apache-2.0"
] | 6 | 2020-11-17T15:31:16.000Z | 2021-12-04T22:40:50.000Z | from .instagram import Instagram
__version__ = "0.0.1"
| 14 | 32 | 0.75 | 8 | 56 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.142857 | 56 | 3 | 33 | 18.666667 | 0.729167 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 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 |
79b2113eada800efa20a5923fcf77c964fcabe4c | 244 | py | Python | src/tests/hoplalib/cast/test_classmodels.py | rickie/hopla | 24a422194e42c03d5877dc167b2b07147326a595 | [
"Apache-2.0"
] | null | null | null | src/tests/hoplalib/cast/test_classmodels.py | rickie/hopla | 24a422194e42c03d5877dc167b2b07147326a595 | [
"Apache-2.0"
] | null | null | null | src/tests/hoplalib/cast/test_classmodels.py | rickie/hopla | 24a422194e42c03d5877dc167b2b07147326a595 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
from typing import List
class HabiticaClassData:
"""A class with data about habitica classes.
@see: hopla api content | jq .classes
"""
class_names: List[str] = ["warrior", "rogue", "healer", "wizard"]
| 22.181818 | 69 | 0.659836 | 31 | 244 | 5.16129 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005128 | 0.20082 | 244 | 10 | 70 | 24.4 | 0.815385 | 0.418033 | 0 | 0 | 0 | 0 | 0.188976 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 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 |
79bbba38cafa68598c91dc9748366f0e4982f2f7 | 253 | py | Python | solved/mq003.py | zao95/codingdojang-zao95-solving | 409d1696700b453b183947d7bda8abcbbfe95bc5 | [
"WTFPL"
] | 2 | 2021-01-06T14:02:14.000Z | 2022-02-19T17:38:16.000Z | solved/mq003.py | zao95/codingdojang-zao95-solving | 409d1696700b453b183947d7bda8abcbbfe95bc5 | [
"WTFPL"
] | null | null | null | solved/mq003.py | zao95/codingdojang-zao95-solving | 409d1696700b453b183947d7bda8abcbbfe95bc5 | [
"WTFPL"
] | null | null | null | # 자작 문제풀이
# Question number. 003
# Author: Lee Jeongwoo
# Github name: zao95
# ========== Question ==========
# python-packer를 이용하여 실행파일 제작
# ==============================
def abc():
print("a")
abc()
print(hex(id(abc())))
print(hex(id("abc"))) | 14.882353 | 32 | 0.501976 | 30 | 253 | 4.233333 | 0.733333 | 0.188976 | 0.173228 | 0.204724 | 0.228346 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023474 | 0.158103 | 253 | 17 | 33 | 14.882353 | 0.57277 | 0.624506 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0 | 0 | 0.2 | 0.6 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
79d6a844f0a97566c860753b867042dc06bee90a | 95 | py | Python | paleosites/apps.py | dennereed/paleocore | d6da6c39cde96050ee4b9e7213ec1200530cbeee | [
"MIT"
] | 1 | 2021-02-05T19:50:13.000Z | 2021-02-05T19:50:13.000Z | paleosites/apps.py | dennereed/paleocore | d6da6c39cde96050ee4b9e7213ec1200530cbeee | [
"MIT"
] | 59 | 2020-06-17T22:21:51.000Z | 2022-02-10T05:00:01.000Z | paleosites/apps.py | dennereed/paleocore | d6da6c39cde96050ee4b9e7213ec1200530cbeee | [
"MIT"
] | 2 | 2020-07-01T14:11:09.000Z | 2020-08-10T17:27:26.000Z | from django.apps import AppConfig
class PaleositesConfig(AppConfig):
name = 'paleosites'
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 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 |
79d87f5f40b89e3cab855d94f84613002fc5749e | 400 | py | Python | poll/forms.py | vishalpandeyvip/GURU--an-online-class-portal | de6e129f2fd70f80393e273abd0f63a1a30cda72 | [
"Apache-2.0"
] | 1 | 2020-10-20T08:46:27.000Z | 2020-10-20T08:46:27.000Z | poll/forms.py | vishalpandeyvip/GURU | de6e129f2fd70f80393e273abd0f63a1a30cda72 | [
"Apache-2.0"
] | null | null | null | poll/forms.py | vishalpandeyvip/GURU | de6e129f2fd70f80393e273abd0f63a1a30cda72 | [
"Apache-2.0"
] | 1 | 2020-08-31T08:06:21.000Z | 2020-08-31T08:06:21.000Z | from django import forms
from .models import Poll, Choice
class QuestionForm(forms.ModelForm):
class Meta:
model = Poll
fields = ['topic','poll_details','who_can_vote','announce_at']
class PollUpdateForm(forms.ModelForm):
class Meta:
model = Poll
fields = ['topic','poll_details','announce_at']
class Choic... | 22.222222 | 64 | 0.7325 | 51 | 400 | 5.607843 | 0.45098 | 0.146853 | 0.199301 | 0.241259 | 0.475524 | 0.377622 | 0.377622 | 0.377622 | 0.377622 | 0.377622 | 0 | 0 | 0.1425 | 400 | 18 | 65 | 22.222222 | 0.833819 | 0 | 0 | 0.357143 | 0 | 0 | 0.197007 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.571429 | 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 |
8dba79d39c18f46b669087098e07b5b8e9a3e067 | 2,195 | py | Python | example/tester/migrations/0001_initial.py | WenminZhao/django-reactive | a579a96b6f0af6ed4affc3561cc0bc82e0fba59f | [
"MIT"
] | null | null | null | example/tester/migrations/0001_initial.py | WenminZhao/django-reactive | a579a96b6f0af6ed4affc3561cc0bc82e0fba59f | [
"MIT"
] | null | null | null | example/tester/migrations/0001_initial.py | WenminZhao/django-reactive | a579a96b6f0af6ed4affc3561cc0bc82e0fba59f | [
"MIT"
] | null | null | null | # Generated by Django 2.0.9 on 2018-12-08 12:25
from django.db import migrations, models
import django_reactive.fields
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='TestModel',
fields=[
... | 56.282051 | 118 | 0.660592 | 204 | 2,195 | 6.926471 | 0.289216 | 0.158528 | 0.226469 | 0.424628 | 0.63765 | 0.63765 | 0.601557 | 0.601557 | 0.100495 | 0 | 0 | 0.008716 | 0.215945 | 2,195 | 38 | 119 | 57.763158 | 0.812318 | 0.020501 | 0 | 0 | 1 | 0 | 0.132216 | 0.009777 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.1875 | 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 |
8dd911497b1041f2adb09e4c8cc000d2f94e3512 | 2,938 | py | Python | glamkit_collections/contrib/work_creator/migrations/0030_auto_20170523_1243.py | ic-labs/glamkit-collections | a99c64f1d6af2d900f2687dd4382404d67d559bb | [
"MIT"
] | 52 | 2016-09-13T03:50:58.000Z | 2022-02-23T16:25:08.000Z | glamkit_collections/contrib/work_creator/migrations/0030_auto_20170523_1243.py | ic-labs/django-icekit | c507ea5b1864303732c53ad7c5800571fca5fa94 | [
"MIT"
] | 304 | 2016-08-11T14:17:30.000Z | 2020-07-22T13:35:18.000Z | glamkit_collections/contrib/work_creator/migrations/0030_auto_20170523_1243.py | ic-labs/django-icekit | c507ea5b1864303732c53ad7c5800571fca5fa94 | [
"MIT"
] | 12 | 2016-09-21T18:46:35.000Z | 2021-02-15T19:37:50.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
import edtf.fields
class Migration(migrations.Migration):
dependencies = [
('gk_collections_work_creator', '0029_auto_20170523_1149'),
]
operations = [
migrations.AddField(
... | 57.607843 | 491 | 0.693329 | 387 | 2,938 | 5.015504 | 0.229974 | 0.046368 | 0.032458 | 0.074704 | 0.851108 | 0.829985 | 0.715611 | 0.648635 | 0.625451 | 0.560536 | 0 | 0.022166 | 0.186181 | 2,938 | 50 | 492 | 58.76 | 0.789628 | 0.007148 | 0 | 0.659091 | 0 | 0.068182 | 0.403774 | 0.052144 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.068182 | 0 | 0.136364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8ddf720d31f6738b5f0b050e396feb04999f5b66 | 1,157 | py | Python | python/tblink_rpc_gw/rt/cocotb/__main__.py | tblink-rpc/tblink-rpc-gw | bc0c2e747b37f728128466af146597238d1c9cfb | [
"Apache-2.0"
] | null | null | null | python/tblink_rpc_gw/rt/cocotb/__main__.py | tblink-rpc/tblink-rpc-gw | bc0c2e747b37f728128466af146597238d1c9cfb | [
"Apache-2.0"
] | null | null | null | python/tblink_rpc_gw/rt/cocotb/__main__.py | tblink-rpc/tblink-rpc-gw | bc0c2e747b37f728128466af146597238d1c9cfb | [
"Apache-2.0"
] | null | null | null | '''
Created on Mar 1, 2022
@author: mballance
'''
import importlib
import sys
from tblink_rpc_core.endpoint import Endpoint
from tblink_rpc_gw.rt.cocotb.mgr import Mgr
def run_cocotb(ep : Endpoint):
# cocotb has a native module for interfacing with the
# simulator. We need to provide our own cocotb 'simula... | 22.686275 | 95 | 0.656871 | 157 | 1,157 | 4.681529 | 0.515924 | 0.04898 | 0.053061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005869 | 0.263613 | 1,157 | 51 | 96 | 22.686275 | 0.856808 | 0.401901 | 0 | 0.1 | 0 | 0 | 0.081942 | 0.045524 | 0 | 0 | 0 | 0.019608 | 0 | 1 | 0.1 | false | 0.1 | 0.35 | 0 | 0.45 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
8de180647d2f66d6560c413289cd138d70ea2ad6 | 145 | py | Python | exercicios_curso_em_video/Exercicio 46.py | Sposigor/Caminho_do_Python | e84d74e9dc89c0966f931a94cb9ebe3ee4671b6d | [
"MIT"
] | 1 | 2021-01-13T18:07:46.000Z | 2021-01-13T18:07:46.000Z | exercicios_curso_em_video/Exercicio 46.py | Sposigor/Caminho_do_Python | e84d74e9dc89c0966f931a94cb9ebe3ee4671b6d | [
"MIT"
] | null | null | null | exercicios_curso_em_video/Exercicio 46.py | Sposigor/Caminho_do_Python | e84d74e9dc89c0966f931a94cb9ebe3ee4671b6d | [
"MIT"
] | null | null | null | from time import sleep
print('Fogos de artifício vai começar em:')
for i in range(10, -1, -1):
sleep(1)
print(i)
print('BUAAAAAAAAAAAAA') | 24.166667 | 43 | 0.682759 | 24 | 145 | 4.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042017 | 0.17931 | 145 | 6 | 44 | 24.166667 | 0.789916 | 0 | 0 | 0 | 0 | 0 | 0.335616 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 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 |
8de3b8cbefb7da78e212e39b7dfd4a9e45616ae9 | 395 | py | Python | mailtrigger/trigger/trigger.py | craftslab/mailtrigger | 18856d574d1c4c99a4fa84e88b46273b5df2582d | [
"Apache-2.0"
] | null | null | null | mailtrigger/trigger/trigger.py | craftslab/mailtrigger | 18856d574d1c4c99a4fa84e88b46273b5df2582d | [
"Apache-2.0"
] | null | null | null | mailtrigger/trigger/trigger.py | craftslab/mailtrigger | 18856d574d1c4c99a4fa84e88b46273b5df2582d | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import abc
class TriggerException(Exception):
def __init__(self, info):
super().__init__(self)
self._info = info
def __str__(self):
return self._info
class Trigger(object):
__metaclass__ = abc.ABCMeta
@staticmethod
def help():
return ''
... | 15.8 | 34 | 0.594937 | 42 | 395 | 5.166667 | 0.595238 | 0.110599 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003546 | 0.286076 | 395 | 24 | 35 | 16.458333 | 0.765957 | 0.053165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.066667 | 0.2 | 0.733333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8de8024631576b67e72ffa9b638299366362e1a4 | 60 | py | Python | Lesson8_1/ff.py | shinkai-tester/python_beginner | a934328c9a50241cc3f02a423060e16aab53b425 | [
"Apache-2.0"
] | 2 | 2021-06-01T13:24:04.000Z | 2021-06-01T13:27:47.000Z | Lesson8_1/ff.py | shinkai-tester/python_beginner | a934328c9a50241cc3f02a423060e16aab53b425 | [
"Apache-2.0"
] | null | null | null | Lesson8_1/ff.py | shinkai-tester/python_beginner | a934328c9a50241cc3f02a423060e16aab53b425 | [
"Apache-2.0"
] | null | null | null | def f(a):
a += 2
return a
b = 1
b = f(b)
print(b)
| 6.666667 | 12 | 0.416667 | 14 | 60 | 1.785714 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.4 | 60 | 8 | 13 | 7.5 | 0.638889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.333333 | 0.166667 | 1 | 0 | 1 | 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 |
5c00950b25c9b7da1e6e25db92f6ed895bb30fc7 | 259 | py | Python | config.py | caly-pso/disease_explorer_app | 3a7a5123577b1d23af18c74ee9666dfa012298ab | [
"MIT"
] | 2 | 2020-12-16T03:01:17.000Z | 2020-12-16T03:39:46.000Z | config.py | caly-pso/disease_explorer_app | 3a7a5123577b1d23af18c74ee9666dfa012298ab | [
"MIT"
] | null | null | null | config.py | caly-pso/disease_explorer_app | 3a7a5123577b1d23af18c74ee9666dfa012298ab | [
"MIT"
] | null | null | null | db = "https://raw.githubusercontent.com/nytimes/covid-19-data/master/us-counties.csv"
# database file downloaded from
# https://www.weather.gov/source/gis/Shapefiles/County/c_03mr20.zip
# to get the lat and long values for US counties
dbf = "./c_03mr20.dbf"
| 37 | 85 | 0.764479 | 42 | 259 | 4.666667 | 0.857143 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042735 | 0.096525 | 259 | 6 | 86 | 43.166667 | 0.794872 | 0.548263 | 0 | 0 | 0 | 0.5 | 0.814159 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5c08b211808dc9006c8493ebe3f747d2ee9a75e7 | 3,959 | py | Python | tests/domain/test_Track_remove_devices.py | josiah-wolf-oberholtzer/tloen | 731e57f2a0634d5e472c5878ff5b9cc7b4d84974 | [
"MIT"
] | 3 | 2020-02-09T09:29:45.000Z | 2021-12-29T01:37:45.000Z | tests/domain/test_Track_remove_devices.py | josiah-wolf-oberholtzer/tloen | 731e57f2a0634d5e472c5878ff5b9cc7b4d84974 | [
"MIT"
] | null | null | null | tests/domain/test_Track_remove_devices.py | josiah-wolf-oberholtzer/tloen | 731e57f2a0634d5e472c5878ff5b9cc7b4d84974 | [
"MIT"
] | 1 | 2020-12-12T22:29:48.000Z | 2020-12-12T22:29:48.000Z | import asyncio
import pytest
from supriya.synthdefs import SynthDefFactory
from tloen.domain import Application, AudioEffect
@pytest.fixture
def synthdef_factory():
return (
SynthDefFactory()
.with_channel_count(2)
.with_input()
.with_signal_block(lambda builder, source, state: (... | 34.72807 | 79 | 0.714827 | 520 | 3,959 | 5.261538 | 0.161538 | 0.122807 | 0.057018 | 0.085526 | 0.766813 | 0.726974 | 0.665936 | 0.665936 | 0.665936 | 0.650219 | 0 | 0.02178 | 0.188179 | 3,959 | 113 | 80 | 35.035398 | 0.829496 | 0 | 0 | 0.539326 | 0 | 0 | 0.002657 | 0 | 0 | 0 | 0 | 0 | 0.404494 | 1 | 0.011236 | false | 0 | 0.044944 | 0.011236 | 0.067416 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5c2928ba1d5fa2871aff1c4864e34b594c050393 | 934 | py | Python | skp_edu_docker/code/master/services/service_manager.py | TensorMSA/hoyai_docker | 12f0041e6306d8a6421585a4b51666bad30be442 | [
"MIT"
] | 8 | 2017-06-16T00:19:12.000Z | 2020-08-13T03:15:57.000Z | skp_edu_docker/code/master/services/service_manager.py | TensorMSA/tensormsa_docker | 12f0041e6306d8a6421585a4b51666bad30be442 | [
"MIT"
] | 21 | 2017-06-09T10:15:14.000Z | 2018-03-29T07:51:02.000Z | skp_edu_docker/code/master/services/service_manager.py | TensorMSA/hoyai_docker | 12f0041e6306d8a6421585a4b51666bad30be442 | [
"MIT"
] | 4 | 2017-10-25T09:59:53.000Z | 2020-05-07T09:51:11.000Z | class ServiceManager() :
"""
1. definition
2. table
"""
def get_view_obj(self):
"""
get view data for net config
:return:
"""
pass
def set_view_obj(self, obj):
"""
set net config data edited on view
:param obj:
:return:
... | 17.622642 | 61 | 0.482869 | 106 | 934 | 4.009434 | 0.311321 | 0.056471 | 0.056471 | 0.070588 | 0.451765 | 0.369412 | 0.324706 | 0.324706 | 0.324706 | 0.324706 | 0 | 0.003676 | 0.417559 | 934 | 53 | 62 | 17.622642 | 0.777574 | 0.32227 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0.181818 | 0 | 0 | 0.818182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
5c482543235587e619471540dcd07c628bdf8c0f | 473 | py | Python | common/utils/file.py | BruceWW/flask-basic | 3252f47e6b3fca170b57819f8fdbdeb0f868654e | [
"MIT"
] | 1 | 2019-09-28T17:03:39.000Z | 2019-09-28T17:03:39.000Z | common/utils/file.py | BruceWW/flask-basic | 3252f47e6b3fca170b57819f8fdbdeb0f868654e | [
"MIT"
] | null | null | null | common/utils/file.py | BruceWW/flask-basic | 3252f47e6b3fca170b57819f8fdbdeb0f868654e | [
"MIT"
] | 1 | 2019-11-19T02:39:40.000Z | 2019-11-19T02:39:40.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2019/9/13 13:58
# @Author : Lin Luo
# @Site :
# @File : file
# @Software: PyCharm
from os import path
from application import app
from common.utils.format_time import stamp_to_date
class File(object):
@staticmethod
def get_upload_file_path():
... | 20.565217 | 93 | 0.617336 | 64 | 473 | 4.40625 | 0.65625 | 0.049645 | 0.078014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03352 | 0.243129 | 473 | 22 | 94 | 21.5 | 0.75419 | 0.321353 | 0 | 0 | 0 | 0 | 0.046099 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3085744ebaced72e37060cc6921567307ee0329c | 330 | py | Python | exporters/groupers/no_grouper.py | scrapinghub/exporters | b14f70530826bbbd6163d9e56e74345e762a9189 | [
"BSD-3-Clause"
] | 41 | 2016-06-16T15:29:39.000Z | 2021-08-06T03:29:13.000Z | exporters/groupers/no_grouper.py | bbotella/fluxo | c9fb01db1771ada4672bbffd67cb46e1f7802ab9 | [
"BSD-3-Clause"
] | 52 | 2016-06-20T12:46:57.000Z | 2018-02-08T12:22:03.000Z | exporters/groupers/no_grouper.py | bbotella/fluxo | c9fb01db1771ada4672bbffd67cb46e1f7802ab9 | [
"BSD-3-Clause"
] | 10 | 2016-06-23T08:49:36.000Z | 2018-01-13T10:12:10.000Z | from exporters.groupers.base_grouper import BaseGrouper
class NoGrouper(BaseGrouper):
"""
Default group module, used when no grouping strategies are needed.
"""
def __init__(self, *args, **kwargs):
super(NoGrouper, self).__init__(*args, **kwargs)
def group_batch(self, batch):
ret... | 23.571429 | 70 | 0.681818 | 38 | 330 | 5.657895 | 0.710526 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 330 | 13 | 71 | 25.384615 | 0.826923 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
30a5a0e086c1e5bcc5b8d078d1c0dc1d9e9e9454 | 2,844 | py | Python | pyplwnxml/tests/test_plwnxmlParser.py | red-rocket-dev/plwnXMLParser | b3d28d174c0915ecfc5530763a2cebc889cd1026 | [
"0BSD"
] | 5 | 2018-09-21T21:06:56.000Z | 2022-02-01T19:44:48.000Z | pyplwnxml/tests/test_plwnxmlParser.py | red-rocket-dev/plwnXMLParser | b3d28d174c0915ecfc5530763a2cebc889cd1026 | [
"0BSD"
] | 1 | 2018-08-22T15:42:46.000Z | 2019-12-02T20:38:10.000Z | pyplwnxml/tests/test_plwnxmlParser.py | red-rocket-dev/pyplwnxml | b3d28d174c0915ecfc5530763a2cebc889cd1026 | [
"0BSD"
] | null | null | null | from unittest import TestCase
from pyplwnxml import PlwnxmlParser, PartOfSpeech, SentimentType, Qualifier, RelationType
class TestPlwnxmlParser(TestCase):
def setUp(self):
parser = PlwnxmlParser("test_file.xml")
self.wordnet = parser.read_wordnet()
def test_basic_field_rewriting(self):
... | 41.217391 | 89 | 0.701477 | 337 | 2,844 | 5.721068 | 0.237389 | 0.202282 | 0.186722 | 0.095436 | 0.121369 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042702 | 0.193038 | 2,844 | 68 | 90 | 41.823529 | 0.797386 | 0 | 0 | 0 | 0 | 0 | 0.040788 | 0 | 0 | 0 | 0 | 0 | 0.589286 | 1 | 0.107143 | false | 0 | 0.035714 | 0 | 0.160714 | 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 |
30ae3cbe610349b285e7a2669b8ef77b43be4c92 | 235 | py | Python | argsort_info.py | ikwzm/ArgSort-Kv260 | 364f3c3164bb0a938bf65acdb254bd935873fd3f | [
"BSD-2-Clause"
] | 1 | 2020-10-21T01:48:22.000Z | 2020-10-21T01:48:22.000Z | argsort_info.py | ikwzm/ArgSort-Ultra96 | 7d18963d985403d67bc8e3dfa0e35493b99fb714 | [
"BSD-2-Clause"
] | null | null | null | argsort_info.py | ikwzm/ArgSort-Ultra96 | 7d18963d985403d67bc8e3dfa0e35493b99fb714 | [
"BSD-2-Clause"
] | null | null | null | from uio import Uio
from argsort_axi import ArgSort_AXI
if __name__ == '__main__':
uio = Uio('uio_argsort')
argsort_axi = ArgSort_AXI(uio.regs())
argsort_axi.print_info()
argsort_axi.print_debug()
| 23.5 | 41 | 0.659574 | 31 | 235 | 4.451613 | 0.387097 | 0.434783 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246809 | 235 | 9 | 42 | 26.111111 | 0.779661 | 0 | 0 | 0 | 0 | 0 | 0.080851 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0.285714 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
30c7e84f74ba8bf12401ce79d2978143101f2226 | 298 | py | Python | src/oscar/templatetags/dashboard_tags.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | src/oscar/templatetags/dashboard_tags.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | src/oscar/templatetags/dashboard_tags.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | from django import template
from oscar.core.compat import assignment_tag
from oscar.core.loading import get_class
get_nodes = get_class('dashboard.menu', 'get_nodes')
register = template.Library()
@assignment_tag(register)
def dashboard_navigation(user):
return get_nodes(user)
| 22.923077 | 53 | 0.768456 | 40 | 298 | 5.525 | 0.525 | 0.108597 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147651 | 298 | 12 | 54 | 24.833333 | 0.870079 | 0 | 0 | 0 | 0 | 0 | 0.08042 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
30cc287a08506c5a6079474b64a72925e2e92dbf | 424 | py | Python | traxee-simple/traxee/flipkart/forms.py | chauhan17nitin/traxee | 2a861b89e2966024629f587b485a411ede958d02 | [
"Apache-2.0"
] | null | null | null | traxee-simple/traxee/flipkart/forms.py | chauhan17nitin/traxee | 2a861b89e2966024629f587b485a411ede958d02 | [
"Apache-2.0"
] | 2 | 2021-02-08T20:50:56.000Z | 2021-04-30T21:23:50.000Z | traxee-simple/traxee/flipkart/forms.py | chauhan17nitin/traxee | 2a861b89e2966024629f587b485a411ede958d02 | [
"Apache-2.0"
] | 1 | 2020-07-27T14:05:00.000Z | 2020-07-27T14:05:00.000Z | from django import forms
class UserForm(forms.Form):
name = forms.CharField(max_length=30)
email = forms.CharField(max_length=30, widget = forms.EmailInput)
password = forms.CharField(widget = forms.PasswordInput)
class Meta:
fields = ['name', 'email', 'password']
# class HandlerForm(forms.... | 26.5 | 71 | 0.658019 | 47 | 424 | 5.87234 | 0.531915 | 0.152174 | 0.123188 | 0.166667 | 0.181159 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.216981 | 424 | 15 | 72 | 28.266667 | 0.819277 | 0.283019 | 0 | 0 | 0 | 0 | 0.056856 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.285714 | 0.142857 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
30d165ce41d75db3b6c2ab11eadb6639cb54d231 | 4,872 | py | Python | backend-code/yeprayas_project/settings.py | sumitpal1007/yeprayas_react | f09f56e4357b94412b091cdf7cad0de6e45aa7b8 | [
"MIT"
] | null | null | null | backend-code/yeprayas_project/settings.py | sumitpal1007/yeprayas_react | f09f56e4357b94412b091cdf7cad0de6e45aa7b8 | [
"MIT"
] | null | null | null | backend-code/yeprayas_project/settings.py | sumitpal1007/yeprayas_react | f09f56e4357b94412b091cdf7cad0de6e45aa7b8 | [
"MIT"
] | null | null | null | """
Django settings for yeprayas_project project.
Generated by 'django-admin startproject' using Django 3.2.3.
For more information on this file, see
https://docs.djangoproject.com/en/3.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.2/ref/settings/
"""
fro... | 26.917127 | 108 | 0.687397 | 552 | 4,872 | 5.903986 | 0.400362 | 0.059834 | 0.054004 | 0.061369 | 0.196993 | 0.191777 | 0.143909 | 0.119975 | 0.07487 | 0 | 0 | 0.023626 | 0.148604 | 4,872 | 180 | 109 | 27.066667 | 0.762054 | 0.308703 | 0 | 0.020408 | 1 | 0.010204 | 0.526763 | 0.421285 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.061224 | 0.030612 | 0 | 0.030612 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
30e1cf3af18e266744529cd1e097d5e081833dff | 260 | py | Python | malcolm/modules/xmap/blocks/__init__.py | hir12111/pymalcolm | 689542711ff903ee99876c40fc0eae8015e13314 | [
"Apache-2.0"
] | 11 | 2016-10-04T23:11:39.000Z | 2022-01-25T15:44:43.000Z | malcolm/modules/xmap/blocks/__init__.py | hir12111/pymalcolm | 689542711ff903ee99876c40fc0eae8015e13314 | [
"Apache-2.0"
] | 153 | 2016-06-01T13:31:02.000Z | 2022-03-31T11:17:18.000Z | malcolm/modules/xmap/blocks/__init__.py | hir12111/pymalcolm | 689542711ff903ee99876c40fc0eae8015e13314 | [
"Apache-2.0"
] | 16 | 2016-06-10T13:45:27.000Z | 2020-10-24T13:45:04.000Z | from malcolm.yamlutil import check_yaml_names, make_block_creator
xmap_driver_block = make_block_creator(__file__, "xmap_driver_block.yaml")
xmap_runnable_block = make_block_creator(__file__, "xmap_runnable_block.yaml")
__all__ = check_yaml_names(globals())
| 37.142857 | 78 | 0.85 | 37 | 260 | 5.162162 | 0.432432 | 0.141361 | 0.251309 | 0.219895 | 0.303665 | 0.303665 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069231 | 260 | 6 | 79 | 43.333333 | 0.789256 | 0 | 0 | 0 | 0 | 0 | 0.176923 | 0.176923 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a50518b05d4a3b822360cc6a23ab6bf41dfaa8d1 | 654 | py | Python | app/model.py | fras2560/flask-pytest-cypress-ci-template | d86bee0a4dd59406093602b671f100bd132c16b0 | [
"MIT"
] | null | null | null | app/model.py | fras2560/flask-pytest-cypress-ci-template | d86bee0a4dd59406093602b671f100bd132c16b0 | [
"MIT"
] | 4 | 2021-01-16T20:33:02.000Z | 2022-01-15T21:17:05.000Z | app/model.py | fras2560/flask-pytest-cypress-ci-template | d86bee0a4dd59406093602b671f100bd132c16b0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Holds a database model for the application."""
from flask_sqlalchemy import SQLAlchemy
"""The database object."""
DB = SQLAlchemy()
class Entity(DB.Model):
"""
A class used to store some entity information
Columns:
id: the unique id
name: the nam... | 21.8 | 53 | 0.56422 | 82 | 654 | 4.378049 | 0.512195 | 0.089136 | 0.05571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008889 | 0.311927 | 654 | 29 | 54 | 22.551724 | 0.788889 | 0.269113 | 0 | 0 | 0 | 0 | 0.014888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.071429 | 0.142857 | 0.642857 | 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 |
eb519d6e95aedc19625a5475c8538a5f0dcd4657 | 220 | py | Python | alpyro_msgs/actionlib/testresult.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | 1 | 2020-12-13T13:07:10.000Z | 2020-12-13T13:07:10.000Z | alpyro_msgs/actionlib/testresult.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | null | null | null | alpyro_msgs/actionlib/testresult.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | null | null | null | from alpyro_msgs import RosMessage, int32
class TestResult(RosMessage):
__msg_typ__ = "actionlib/TestResult"
__msg_def__ = "aW50MzIgcmVzdWx0Cgo="
__md5_sum__ = "034a8e20d6a306665e3a5b340fab3f09"
result: int32
| 22 | 50 | 0.795455 | 21 | 220 | 7.571429 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151832 | 0.131818 | 220 | 9 | 51 | 24.444444 | 0.680628 | 0 | 0 | 0 | 0 | 0 | 0.327273 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 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 |
eb5d4dca8b23629a4ac420050579c19d35630257 | 8,352 | py | Python | ls/joyous/tests/test_weeks.py | tjwalch/ls.joyous | 0ee50d3af71c066bddb2310948b02f74b52ee253 | [
"BSD-3-Clause"
] | 72 | 2018-03-16T16:35:08.000Z | 2022-03-23T08:09:33.000Z | polrev/ls/joyous/tests/test_weeks.py | polrev-github/polrev-django | 99108ace1a5307b14c3eccb424a9f9616e8c02ae | [
"MIT"
] | 41 | 2018-03-25T20:36:52.000Z | 2022-03-10T08:59:27.000Z | polrev/ls/joyous/tests/test_weeks.py | polrev-github/polrev-django | 99108ace1a5307b14c3eccb424a9f9616e8c02ae | [
"MIT"
] | 28 | 2018-08-13T22:36:09.000Z | 2022-03-17T12:24:15.000Z | # ------------------------------------------------------------------------------
# Test Formatting weeks
# ------------------------------------------------------------------------------
import sys
import datetime as dt
from django.test import TestCase, override_settings
import ls.joyous.utils.weeks
from ls.joyous.utils... | 53.538462 | 91 | 0.617577 | 1,098 | 8,352 | 4.405282 | 0.113843 | 0.186066 | 0.074426 | 0.064503 | 0.831507 | 0.732479 | 0.609262 | 0.491007 | 0.444904 | 0.363035 | 0 | 0.097461 | 0.179358 | 8,352 | 155 | 92 | 53.883871 | 0.608258 | 0.10285 | 0 | 0.224 | 0 | 0 | 0.030485 | 0 | 0 | 0 | 0 | 0 | 0.544 | 1 | 0.12 | false | 0 | 0.136 | 0 | 0.28 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 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 |
eb6129e8100344d2c4d59d1aeb8ace08bde583d7 | 462 | py | Python | mnistwebsite/models.py | 4322vipul/mnist_digit_classifier_website | 7086d9d144a757154e8332accf4efac65e3259e2 | [
"MIT"
] | 1 | 2021-04-18T15:23:23.000Z | 2021-04-18T15:23:23.000Z | mnistwebsite/models.py | 4322vipul/mnist_digit_classifier_website | 7086d9d144a757154e8332accf4efac65e3259e2 | [
"MIT"
] | null | null | null | mnistwebsite/models.py | 4322vipul/mnist_digit_classifier_website | 7086d9d144a757154e8332accf4efac65e3259e2 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class given_image(models.Model):
image_given=models.ImageField(max_length=64)
class image_name(models.Model):
name_of_image=models.CharField(max_length=64)
def __str__(self):
return self.name_of_image
class predicted... | 17.111111 | 49 | 0.658009 | 59 | 462 | 4.830508 | 0.440678 | 0.115789 | 0.077193 | 0.168421 | 0.140351 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01462 | 0.25974 | 462 | 26 | 50 | 17.769231 | 0.818713 | 0.051948 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.090909 | 0.181818 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
eb6c6b65812954f620e852a7ab7b9ce069f38685 | 2,000 | py | Python | api/users/models.py | mcauto/japronto-example | 4683dcb1afdded4db86fa8db713289774b65d794 | [
"MIT"
] | 3 | 2018-10-21T13:47:28.000Z | 2020-01-24T19:46:03.000Z | api/users/models.py | mcauto/japronto-example | 4683dcb1afdded4db86fa8db713289774b65d794 | [
"MIT"
] | null | null | null | api/users/models.py | mcauto/japronto-example | 4683dcb1afdded4db86fa8db713289774b65d794 | [
"MIT"
] | null | null | null | # coding=utf-8
import datetime
from sqlalchemy import Column, Integer, String, DateTime
from Database import Base, Session
from werkzeug import generate_password_hash, check_password_hash
class User(Base):
__tablename__ = 'users'
__table_args__ = {'mysql_collate': 'utf8_general_ci'}
id = Column(... | 33.333333 | 114 | 0.5965 | 212 | 2,000 | 5.443396 | 0.320755 | 0.062392 | 0.036395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009831 | 0.288 | 2,000 | 59 | 115 | 33.898305 | 0.800562 | 0.006 | 0 | 0 | 1 | 0 | 0.046828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.222222 | 0.088889 | 0.044444 | 0.511111 | 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 |
eb899416ce1493419a9c025cc24c92306ff25556 | 671 | py | Python | basisgen/containers.py | jccriado/basisgen | 9d9f31bf9182915862d3c677f35b668fd3fd7184 | [
"MIT"
] | 7 | 2019-01-14T13:20:16.000Z | 2021-09-09T03:12:48.000Z | basisgen/containers.py | jccriado/basisgen | 9d9f31bf9182915862d3c677f35b668fd3fd7184 | [
"MIT"
] | null | null | null | basisgen/containers.py | jccriado/basisgen | 9d9f31bf9182915862d3c677f35b668fd3fd7184 | [
"MIT"
] | 3 | 2020-09-10T03:43:27.000Z | 2022-02-15T15:11:10.000Z | import collections
class MultivaluedMap(collections.defaultdict):
def __init__(self, *args, **kwargs):
return super().__init__(set, *args, **kwargs)
@staticmethod
def from_pairs(pairs):
mapping = MultivaluedMap()
for key, value in pairs:
mapping[key].add(value)
... | 24.851852 | 67 | 0.636364 | 71 | 671 | 5.887324 | 0.450704 | 0.047847 | 0.052632 | 0.062201 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256334 | 671 | 26 | 68 | 25.807692 | 0.837675 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.052632 | 0.105263 | 0.526316 | 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 |
ebc3b53e16e62253e51ad419c5ed6599ebb1c2c0 | 80 | py | Python | dnswitcher/utils.py | jinxingxing/SmartDns | 4a7eaef1d05dcc73f1c78b6bac4f335981945518 | [
"MIT"
] | 2 | 2021-08-24T03:08:56.000Z | 2022-03-07T08:45:50.000Z | dnswitcher/utils.py | jinxingxing/SmartDns | 4a7eaef1d05dcc73f1c78b6bac4f335981945518 | [
"MIT"
] | null | null | null | dnswitcher/utils.py | jinxingxing/SmartDns | 4a7eaef1d05dcc73f1c78b6bac4f335981945518 | [
"MIT"
] | 2 | 2020-07-25T11:14:09.000Z | 2021-06-14T14:47:32.000Z | # coding: utf8
__author__ = 'JinXing'
import logging
logger = logging
| 10 | 23 | 0.6625 | 8 | 80 | 6.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.2625 | 80 | 7 | 24 | 11.428571 | 0.813559 | 0.15 | 0 | 0 | 0 | 0 | 0.12069 | 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 |
ebdf91c5cab55ca3bfd3e7d89a1ba89e113c4d38 | 144 | py | Python | su4/path_util.py | njuwelkin/su4 | e433f792186ee5868916cae3c062d6313dffd420 | [
"MIT"
] | null | null | null | su4/path_util.py | njuwelkin/su4 | e433f792186ee5868916cae3c062d6313dffd420 | [
"MIT"
] | null | null | null | su4/path_util.py | njuwelkin/su4 | e433f792186ee5868916cae3c062d6313dffd420 | [
"MIT"
] | null | null | null | import os, sys
def addModulePath(file):
utils_path = os.path.dirname(os.path.abspath(file)) + "/../utils"
sys.path.append(utils_path)
| 20.571429 | 69 | 0.6875 | 21 | 144 | 4.619048 | 0.52381 | 0.185567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 144 | 6 | 70 | 24 | 0.788618 | 0 | 0 | 0 | 0 | 0 | 0.062937 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ebe7615b9cf517efd9c19f266f5d5ff2733cf13a | 2,462 | py | Python | mtp_common/auth/models.py | uk-gov-mirror/ministryofjustice.money-to-prisoners-common | 283a72e796915c99cc5ed53b44f67d79628ffac8 | [
"MIT"
] | null | null | null | mtp_common/auth/models.py | uk-gov-mirror/ministryofjustice.money-to-prisoners-common | 283a72e796915c99cc5ed53b44f67d79628ffac8 | [
"MIT"
] | null | null | null | mtp_common/auth/models.py | uk-gov-mirror/ministryofjustice.money-to-prisoners-common | 283a72e796915c99cc5ed53b44f67d79628ffac8 | [
"MIT"
] | null | null | null | class MojUser:
"""
Authenticated user, similar to the Django one.
The built-in Django `AbstractBaseUser` sadly depends on a few tables and
cannot be used without a datbase so we had to create a custom one.
"""
def __init__(self, pk, token, user_data):
self.pk = pk
self.is_activ... | 24.62 | 81 | 0.582047 | 309 | 2,462 | 4.472492 | 0.268608 | 0.063676 | 0.069465 | 0.075977 | 0.536903 | 0.536903 | 0.36903 | 0.264834 | 0.130246 | 0.078148 | 0 | 0.000599 | 0.32169 | 2,462 | 99 | 82 | 24.868687 | 0.826946 | 0.1645 | 0 | 0.363636 | 0 | 0 | 0.038385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.257576 | false | 0.015152 | 0 | 0.19697 | 0.606061 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ebe82754c4e1956d8128209d6933d8d8301a6dc9 | 5,604 | py | Python | Session 7 - Python/WagerWarCardGame/Development/WWWarConstants.py | dbowmans46/PracticalProgramming | e9fee468eee12625ce198d9a4f4c5ee735f5db90 | [
"MIT"
] | null | null | null | Session 7 - Python/WagerWarCardGame/Development/WWWarConstants.py | dbowmans46/PracticalProgramming | e9fee468eee12625ce198d9a4f4c5ee735f5db90 | [
"MIT"
] | null | null | null | Session 7 - Python/WagerWarCardGame/Development/WWWarConstants.py | dbowmans46/PracticalProgramming | e9fee468eee12625ce198d9a4f4c5ee735f5db90 | [
"MIT"
] | 1 | 2019-08-07T16:51:23.000Z | 2019-08-07T16:51:23.000Z | # -*- coding: utf-8 -*-
"""
LICENSE (MIT License):
Copyright 2018 Jason Gilbert, Ryan Concienne, and Douglas Bowman
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, includi... | 33.556886 | 80 | 0.345646 | 463 | 5,604 | 4.166307 | 0.442765 | 0.155521 | 0.228616 | 0.292379 | 0.155521 | 0.155521 | 0.155521 | 0.155521 | 0.155521 | 0.155521 | 0 | 0.086817 | 0.556031 | 5,604 | 166 | 81 | 33.759036 | 0.688505 | 0.209315 | 0 | 0.4375 | 0 | 0 | 0.196741 | 0.005593 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017857 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
ccd8569a30533d078dfba6a15b69e28a22136fde | 226 | py | Python | server/run.py | dactechie/intershift_comms | 041e15426cf985fec30d1abc8068d1c52ba8e804 | [
"MIT"
] | null | null | null | server/run.py | dactechie/intershift_comms | 041e15426cf985fec30d1abc8068d1c52ba8e804 | [
"MIT"
] | null | null | null | server/run.py | dactechie/intershift_comms | 041e15426cf985fec30d1abc8068d1c52ba8e804 | [
"MIT"
] | null | null | null | # run.py
import os
from apis import create_app
# for >flask run
if __name__ == '__main__':
#print(os.path.abspath('./settings.py'))
app = create_app(config_file=os.path.abspath('./settings.py'))
app.run(debug=True) | 28.25 | 66 | 0.690265 | 35 | 226 | 4.142857 | 0.6 | 0.124138 | 0.17931 | 0.289655 | 0.358621 | 0.358621 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141593 | 226 | 8 | 67 | 28.25 | 0.747423 | 0.265487 | 0 | 0 | 0 | 0 | 0.128834 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 |
690fda5889590cd7261b2ffb9ea01afc1838fa09 | 25 | py | Python | prinia/__init__.py | zamaudio/prinia | 27cc34eedd8cf1fa8dc82b14ae676256af03407f | [
"MIT"
] | 1 | 2019-12-13T08:00:31.000Z | 2019-12-13T08:00:31.000Z | prinia/__init__.py | zamaudio/prinia | 27cc34eedd8cf1fa8dc82b14ae676256af03407f | [
"MIT"
] | 2 | 2018-09-27T07:39:36.000Z | 2018-12-21T14:02:21.000Z | prinia/__init__.py | zamaudio/prinia | 27cc34eedd8cf1fa8dc82b14ae676256af03407f | [
"MIT"
] | 1 | 2018-09-20T02:03:58.000Z | 2018-09-20T02:03:58.000Z | __author__ = 'ahbbollen'
| 12.5 | 24 | 0.76 | 2 | 25 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0.36 | 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 |
6916bad4afd02ac37b73f52e002bfae3ef4c834e | 1,739 | py | Python | liebraryrest/database.py | gekorob/liebraryrest | de0210464584ed30f792899a8c3a3ef6c5661145 | [
"BSD-3-Clause"
] | 6 | 2016-05-23T12:33:17.000Z | 2019-01-28T10:41:12.000Z | liebraryrest/database.py | gekorob/liebraryrest | de0210464584ed30f792899a8c3a3ef6c5661145 | [
"BSD-3-Clause"
] | null | null | null | liebraryrest/database.py | gekorob/liebraryrest | de0210464584ed30f792899a8c3a3ef6c5661145 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""Database module, including the SQLAlchemy database object and DB-related utilities."""
import json
from sqlalchemy.inspection import inspect
from sqlalchemy.orm import relationship
from .extensions import db
# Alias common SQLAlchemy names
Column = db.Column
relationship = relationship
c... | 28.508197 | 97 | 0.654974 | 220 | 1,739 | 5.136364 | 0.368182 | 0.031858 | 0.063717 | 0.038938 | 0.070796 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000749 | 0.231742 | 1,739 | 60 | 98 | 28.983333 | 0.84506 | 0.239793 | 0 | 0.085714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.228571 | false | 0 | 0.114286 | 0.114286 | 0.657143 | 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 |
692bef77b612bf77c047be1c12359e5ad49588c9 | 335 | py | Python | misc/projections.py | DawyD/UNet-PS-4D | bdd31308854dbd5f309aec9bcc1f7a35f267481d | [
"MIT"
] | 1 | 2021-12-06T17:20:36.000Z | 2021-12-06T17:20:36.000Z | misc/projections.py | DawyD/UNet-PS-4D | bdd31308854dbd5f309aec9bcc1f7a35f267481d | [
"MIT"
] | null | null | null | misc/projections.py | DawyD/UNet-PS-4D | bdd31308854dbd5f309aec9bcc1f7a35f267481d | [
"MIT"
] | 3 | 2021-12-06T08:09:42.000Z | 2022-03-12T08:09:34.000Z | """
Projections
To add a custom projection, create a method accepting (x, y, z) Cartesian coordinates and add an entry to the
parse_projection method
"""
def parse_projection(name: str):
if name == "standard":
return standard_proj
raise ValueError("Unknown projection")
def standard_proj(x, y, z):
... | 19.705882 | 109 | 0.704478 | 48 | 335 | 4.833333 | 0.604167 | 0.025862 | 0.025862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20597 | 335 | 16 | 110 | 20.9375 | 0.87218 | 0.432836 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
69643f6ece91c08c39a6f3f3d39b28485616d456 | 5,798 | py | Python | pyboletox/Cnab/Retorno/Cnab400/detalhe.py | lucasbrahm/pyboletox | d7cfff477622a4d5df255045428325f04fbe695a | [
"MIT"
] | 1 | 2022-03-14T12:22:42.000Z | 2022-03-14T12:22:42.000Z | pyboletox/Cnab/Retorno/Cnab400/detalhe.py | lucasbrahm/pyboletox | d7cfff477622a4d5df255045428325f04fbe695a | [
"MIT"
] | null | null | null | pyboletox/Cnab/Retorno/Cnab400/detalhe.py | lucasbrahm/pyboletox | d7cfff477622a4d5df255045428325f04fbe695a | [
"MIT"
] | 1 | 2022-03-14T12:22:27.000Z | 2022-03-14T12:22:27.000Z | from datetime import datetime
from pyboletox.Contracts.Cnab.Retorno.Cnab400.detalhe import Detalhe as DetalheContract
from pyboletox.magicTrait import MagicTrait
class Detalhe(MagicTrait, DetalheContract):
def __init__(self) -> None:
super().__init__()
self._carteira = None
self._nos... | 28.421569 | 112 | 0.671438 | 555 | 5,798 | 6.872072 | 0.203604 | 0.117986 | 0.071578 | 0.014158 | 0.049554 | 0.039329 | 0.039329 | 0 | 0 | 0 | 0 | 0.003238 | 0.254398 | 5,798 | 203 | 113 | 28.561576 | 0.879019 | 0 | 0 | 0.161074 | 0 | 0 | 0.010003 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315436 | false | 0 | 0.020134 | 0.154362 | 0.66443 | 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 |
69694310277e65251a0753febdaa9821eeeea635 | 319 | py | Python | openmm_oemc/opoenmm_oemc/__init__.py | jht0664/Utility_python_gromacs | 4457b62e2f0252bcb38021d5deda0cfb932e3ed9 | [
"MIT"
] | 1 | 2022-01-02T11:27:59.000Z | 2022-01-02T11:27:59.000Z | openmm_oemc/opoenmm_oemc/__init__.py | jht0664/Utility_python_gromacs | 4457b62e2f0252bcb38021d5deda0cfb932e3ed9 | [
"MIT"
] | null | null | null | openmm_oemc/opoenmm_oemc/__init__.py | jht0664/Utility_python_gromacs | 4457b62e2f0252bcb38021d5deda0cfb932e3ed9 | [
"MIT"
] | null | null | null | #!/usr/local/bin/env python
"""
Python libraries for osmotic ensemble simulation which is an expanded ensemble for fixed (N_A, mu_B, P, T) in OpenMM.
"""
# define global version
from openmm_oemc import version
__version__ = version.version
# import modules
from openmm_oemc import cfc, integrator, opt_wl, constant
| 22.785714 | 117 | 0.77116 | 48 | 319 | 4.9375 | 0.729167 | 0.177215 | 0.118143 | 0.168776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15047 | 319 | 13 | 118 | 24.538462 | 0.874539 | 0.567398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
15ca83d38898cb5f942ea39040025053294ed0e6 | 89,464 | py | Python | S4/S4 Library/simulation/careers/career_tuning.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | 1 | 2021-05-20T19:33:37.000Z | 2021-05-20T19:33:37.000Z | S4/S4 Library/simulation/careers/career_tuning.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | S4/S4 Library/simulation/careers/career_tuning.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | from protocolbuffers.DistributorOps_pb2 import Operation
import protocolbuffers
from audio.primitive import TunablePlayAudio
from away_actions.away_actions import AwayAction
from buffs.tunable import TunableBuffReference
from caches import cached
from careers import career_ops
from careers.career_enums import CareerCat... | 194.486957 | 28,174 | 0.680072 | 11,156 | 89,464 | 5.297418 | 0.096092 | 0.044875 | 0.026498 | 0.014958 | 0.424651 | 0.363075 | 0.293969 | 0.260026 | 0.240076 | 0.21197 | 0 | 0.005763 | 0.249396 | 89,464 | 459 | 28,175 | 194.910675 | 0.8743 | 0 | 0 | 0.199029 | 0 | 0.317961 | 0.494076 | 0.011289 | 0 | 0 | 0 | 0 | 0.002427 | 1 | 0.080097 | false | 0.024272 | 0.126214 | 0.021845 | 0.390777 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
15d9363d0780e92ab8588a5f80532260973a46c5 | 214 | py | Python | problem/01000~09999/05073/5073.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-19T16:37:44.000Z | 2019-04-19T16:37:44.000Z | problem/01000~09999/05073/5073.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-20T11:42:44.000Z | 2019-04-20T11:42:44.000Z | problem/01000~09999/05073/5073.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 3 | 2019-04-19T16:37:47.000Z | 2021-10-25T00:45:00.000Z | while True:
A,B,C=map(int,input().split())
if not A: exit()
if A+B+C<=max(A,B,C)*2: print('Invalid')
elif A==B==C: print('Equilateral')
elif True in (A==B,A==C,B==C): print('Isosceles')
else: print('Scalene') | 30.571429 | 50 | 0.61215 | 44 | 214 | 2.977273 | 0.5 | 0.076336 | 0.091603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005291 | 0.116822 | 214 | 7 | 51 | 30.571429 | 0.687831 | 0 | 0 | 0 | 0 | 0 | 0.15814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.571429 | 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 | 0 | 0 | 0 | 1 | 0 | 3 |
15e1a628015b100f880c6693b3858c224413079f | 1,167 | py | Python | tests/xlfunctions_vs_excel/test_logical.py | ckp95/xlcalculator | 8f3f04a2a0a2ecb12c3d5837a5b13519137ae427 | [
"MIT"
] | 54 | 2020-04-26T09:18:29.000Z | 2022-03-30T08:47:45.000Z | tests/xlfunctions_vs_excel/test_logical.py | st-lo/xlcalculator | 19190ec90e948b7ab1eceb06448b96cc1728bc51 | [
"MIT"
] | 41 | 2020-05-04T04:12:36.000Z | 2022-01-31T02:41:05.000Z | tests/xlfunctions_vs_excel/test_logical.py | st-lo/xlcalculator | 19190ec90e948b7ab1eceb06448b96cc1728bc51 | [
"MIT"
] | 21 | 2020-05-21T20:49:23.000Z | 2022-02-20T14:15:56.000Z | from .. import testing
class LogicalFunctionsTest(testing.FunctionalTestCase):
filename = "logical.xlsx"
def test_IF_false_case(self):
self.assertEqual(
self.evaluator.evaluate('Sheet1!C2'),
self.evaluator.get_cell_value('Sheet1!C2')
)
def test_IF_true_case(self)... | 27.139535 | 55 | 0.607541 | 130 | 1,167 | 5.223077 | 0.238462 | 0.22975 | 0.106038 | 0.20324 | 0.755523 | 0.755523 | 0.481591 | 0.481591 | 0.481591 | 0 | 0 | 0.028402 | 0.275921 | 1,167 | 42 | 56 | 27.785714 | 0.775148 | 0 | 0 | 0.181818 | 0 | 0 | 0.102828 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.181818 | false | 0 | 0.030303 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 |
c60524500bee3252e9285b5a43e103c5930e7840 | 816 | py | Python | python_oop/interface.py | tokusumi/python-oop | c2ec4ff17fa305af44cdfbefb8d569518b83eb37 | [
"MIT"
] | null | null | null | python_oop/interface.py | tokusumi/python-oop | c2ec4ff17fa305af44cdfbefb8d569518b83eb37 | [
"MIT"
] | null | null | null | python_oop/interface.py | tokusumi/python-oop | c2ec4ff17fa305af44cdfbefb8d569518b83eb37 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class Car(ABC):
@abstractmethod
def move(self) -> bool:
pass
@abstractmethod
def stop(self) -> bool:
pass
class Tractor(Car):
def move(self) -> bool:
pass # do something
def stop(self) -> bool:
pass # do anything
tract... | 17.361702 | 93 | 0.604167 | 93 | 816 | 5.301075 | 0.333333 | 0.129817 | 0.146045 | 0.15213 | 0.369168 | 0.194726 | 0.194726 | 0.133874 | 0 | 0 | 0 | 0 | 0.284314 | 816 | 47 | 94 | 17.361702 | 0.844178 | 0.22549 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.296296 | false | 0.222222 | 0.037037 | 0 | 0.518519 | 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 |
c629960ba54bec780ff6943bb8d0dca0df41e1b8 | 368 | py | Python | src/structures.py | adamtpowell/mdgrep | 1d9131c2a56d8755ac3d3d180880372f37037e3e | [
"MIT"
] | null | null | null | src/structures.py | adamtpowell/mdgrep | 1d9131c2a56d8755ac3d3d180880372f37037e3e | [
"MIT"
] | null | null | null | src/structures.py | adamtpowell/mdgrep | 1d9131c2a56d8755ac3d3d180880372f37037e3e | [
"MIT"
] | null | null | null | from typing import NamedTuple
# Holds a line and its number in the original file (used for returnarea expansion)
class FileLine(NamedTuple):
line_number: int
line_text: str
class FoundSegment(NamedTuple):
line_number: int
line_position: int
text: str
class Expansion(NamedTuple):
line_... | 23 | 82 | 0.720109 | 49 | 368 | 5.285714 | 0.510204 | 0.162162 | 0.23166 | 0.266409 | 0.451737 | 0.34749 | 0.34749 | 0.34749 | 0.34749 | 0 | 0 | 0 | 0.225543 | 368 | 16 | 83 | 23 | 0.908772 | 0.217391 | 0 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.083333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c64370f69c25b4b6ed9e2699666db61f7d61acc5 | 224 | py | Python | bin/dist.py | soloproyectos-ts/matrix2 | 0f3713fbf45285ac35eb206dd0a091057c27405f | [
"MIT"
] | null | null | null | bin/dist.py | soloproyectos-ts/matrix2 | 0f3713fbf45285ac35eb206dd0a091057c27405f | [
"MIT"
] | null | null | null | bin/dist.py | soloproyectos-ts/matrix2 | 0f3713fbf45285ac35eb206dd0a091057c27405f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""Creates or updates distribution files"""
import subprocess
print "Updates JavaScript and Type Definition files..."
subprocess.call(['rm', 'dist', '-rf'])
subprocess.call(['tsc', '--declaration'])
| 22.4 | 55 | 0.705357 | 27 | 224 | 5.851852 | 0.814815 | 0.177215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 224 | 9 | 56 | 24.888889 | 0.79 | 0.089286 | 0 | 0 | 0 | 0 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c64e11a98e45581f789ae12c34c82c81fafbec85 | 183 | py | Python | Python/Ex013.py | renato-rt/Python | ba033094e1da5b55cf9ce4c8a5cf2cd90247db36 | [
"MIT"
] | null | null | null | Python/Ex013.py | renato-rt/Python | ba033094e1da5b55cf9ce4c8a5cf2cd90247db36 | [
"MIT"
] | null | null | null | Python/Ex013.py | renato-rt/Python | ba033094e1da5b55cf9ce4c8a5cf2cd90247db36 | [
"MIT"
] | 1 | 2021-11-30T17:34:33.000Z | 2021-11-30T17:34:33.000Z | s = float(input('\033[1;24;3mQual é o salário do funcionário? \033[m'))
print('Um funcionário que ganhava R${:.2f} com 15% de aumento agora ganhará R${:.2f}.'.format(s, s+(s*15/100))) | 91.5 | 111 | 0.672131 | 35 | 183 | 3.514286 | 0.771429 | 0.04878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117284 | 0.114754 | 183 | 2 | 111 | 91.5 | 0.641975 | 0 | 0 | 0 | 0 | 0 | 0.701087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
c6552fec5dddcac5e5cc8d95e1a81f16cf186dbf | 149 | py | Python | adrian/cgen/includes.py | adrian-lang/paka.cgen | bedb7ebf559c03c732b48a6d018bacaca0bc343e | [
"BSD-3-Clause"
] | 1 | 2017-03-31T14:56:23.000Z | 2017-03-31T14:56:23.000Z | adrian/cgen/includes.py | adrian-lang/paka.cgen | bedb7ebf559c03c732b48a6d018bacaca0bc343e | [
"BSD-3-Clause"
] | null | null | null | adrian/cgen/includes.py | adrian-lang/paka.cgen | bedb7ebf559c03c732b48a6d018bacaca0bc343e | [
"BSD-3-Clause"
] | null | null | null | from adrian.cgen import Include
stdlib = Include("stdlib.h")
stdint = Include("stdint.h")
stdio = Include("stdio.h")
assert_ = Include("assert.h")
| 18.625 | 31 | 0.711409 | 21 | 149 | 5 | 0.47619 | 0.247619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120805 | 149 | 7 | 32 | 21.285714 | 0.801527 | 0 | 0 | 0 | 0 | 0 | 0.208054 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 |
d66e98b2d4b4a2f5b11596b7aad6bd253b7b49c7 | 190 | py | Python | ghostwriter/reporting/tests/factories.py | fastlorenzo/Ghostwriter | 8acb2a824fc487d51ff6be845fe874d91ec74bb6 | [
"BSD-3-Clause"
] | null | null | null | ghostwriter/reporting/tests/factories.py | fastlorenzo/Ghostwriter | 8acb2a824fc487d51ff6be845fe874d91ec74bb6 | [
"BSD-3-Clause"
] | null | null | null | ghostwriter/reporting/tests/factories.py | fastlorenzo/Ghostwriter | 8acb2a824fc487d51ff6be845fe874d91ec74bb6 | [
"BSD-3-Clause"
] | null | null | null | # 3rd Party Libraries
import factory
class FindingFactory(factory.django.DjangoModelFactory):
class Meta:
model = "reporting.Finding"
django_get_or_create = ("title",)
| 21.111111 | 56 | 0.710526 | 20 | 190 | 6.6 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006579 | 0.2 | 190 | 8 | 57 | 23.75 | 0.861842 | 0.1 | 0 | 0 | 0 | 0 | 0.130178 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
d6c36b9671620c92f24fb323e4e5a94bb19c721f | 393 | py | Python | pyaz/cosmosdb/mongodb/restorable_database/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/cosmosdb/mongodb/restorable_database/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/cosmosdb/mongodb/restorable_database/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | from .... pyaz_utils import _call_az
def list(instance_id, location):
'''
List all the versions of all the mongodb databases that were created / modified / deleted in the given restorable account.
Required Parameters:
- instance_id -- InstanceId of the Account
- location -- Location
'''
re... | 30.230769 | 126 | 0.709924 | 50 | 393 | 5.44 | 0.66 | 0.044118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208651 | 393 | 12 | 127 | 32.75 | 0.874598 | 0.534351 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d6ca2b568f0c91caeff6328f1ba427465345e07b | 256 | py | Python | test/test_ames.py | camille-chanel/ames | 640ae9cb068932a68c6475db177e7e462350d9ab | [
"MIT"
] | null | null | null | test/test_ames.py | camille-chanel/ames | 640ae9cb068932a68c6475db177e7e462350d9ab | [
"MIT"
] | null | null | null | test/test_ames.py | camille-chanel/ames | 640ae9cb068932a68c6475db177e7e462350d9ab | [
"MIT"
] | null | null | null | """
Tests for `ames` module.
"""
import pytest
from ames import ames
class TestAmes(object):
@classmethod
def setup_class(cls):
pass
def test_something(self):
pass
@classmethod
def teardown_class(cls):
pass
| 12.8 | 29 | 0.621094 | 30 | 256 | 5.2 | 0.633333 | 0.179487 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.289063 | 256 | 19 | 30 | 13.473684 | 0.857143 | 0.09375 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.272727 | 0.181818 | 0 | 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 |
d6d19655db1289518e6d9544311e74ae96c87a06 | 193 | py | Python | erede/Document.py | collabo-br/erede-python | 695ac91cd886d899440fe222f0bb72cd062874e9 | [
"MIT"
] | 4 | 2019-04-05T13:01:19.000Z | 2021-02-06T17:45:50.000Z | erede/Document.py | collabo-br/erede-python | 695ac91cd886d899440fe222f0bb72cd062874e9 | [
"MIT"
] | 2 | 2020-05-08T17:50:04.000Z | 2020-07-29T21:24:40.000Z | erede/Document.py | collabo-br/erede-python | 695ac91cd886d899440fe222f0bb72cd062874e9 | [
"MIT"
] | 8 | 2019-08-06T18:25:34.000Z | 2021-07-21T17:57:03.000Z | from .RedeSerializable import RedeSerializable
class Document(RedeSerializable):
def __init__(self, document_type, number):
self.type = document_type
self.number = number
| 24.125 | 46 | 0.735751 | 20 | 193 | 6.8 | 0.5 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196891 | 193 | 7 | 47 | 27.571429 | 0.877419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
d6d2fd2c2ecd8d116b1fd1279ee230b5b1353cf9 | 1,402 | py | Python | tests/test_sqlalchemy.py | kisspy/abcms | b0019600a414b4bfebafed689e6e028871334dcd | [
"MIT"
] | null | null | null | tests/test_sqlalchemy.py | kisspy/abcms | b0019600a414b4bfebafed689e6e028871334dcd | [
"MIT"
] | null | null | null | tests/test_sqlalchemy.py | kisspy/abcms | b0019600a414b4bfebafed689e6e028871334dcd | [
"MIT"
] | null | null | null | from sqlalchemy import create_engine
from sqlalchemy import func
from sqlalchemy import Column, Integer, String, DateTime, Boolean
from sqlalchemy import Text, ForeignKey
from sqlalchemy import INTEGER
from sqlalchemy.orm import relationship, backref
from sqlalchemy.orm import scoped_session, sessionmaker
from sqlalch... | 34.195122 | 105 | 0.738231 | 179 | 1,402 | 5.698324 | 0.530726 | 0.15098 | 0.137255 | 0.045098 | 0.137255 | 0.137255 | 0.137255 | 0.137255 | 0.137255 | 0.137255 | 0 | 0.016849 | 0.153352 | 1,402 | 40 | 106 | 35.05 | 0.84246 | 0.085592 | 0 | 0.25 | 0 | 0 | 0.159435 | 0.046418 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.083333 | 0.458333 | null | null | 0.083333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
d6d43fc9fb5384978e04418d62e77273b21d60d5 | 91 | py | Python | heroku_py/__init__.py | AnthonyAniobi/heroku-py | 72e56799e95e7a8208f2a5a46b4eb98c9c256b0d | [
"MIT"
] | 5 | 2021-05-30T17:45:24.000Z | 2021-05-31T01:59:41.000Z | heroku_py/__init__.py | AnthonyAniobi/heroku-py | 72e56799e95e7a8208f2a5a46b4eb98c9c256b0d | [
"MIT"
] | null | null | null | heroku_py/__init__.py | AnthonyAniobi/heroku-py | 72e56799e95e7a8208f2a5a46b4eb98c9c256b0d | [
"MIT"
] | 2 | 2021-06-02T17:17:04.000Z | 2021-07-29T19:02:01.000Z | from .heroku_client import HerokuClient
__version__ = "1.2.0"
__all__ = ["HerokuClient"]
| 15.166667 | 39 | 0.747253 | 11 | 91 | 5.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037975 | 0.131868 | 91 | 5 | 40 | 18.2 | 0.708861 | 0 | 0 | 0 | 0 | 0 | 0.186813 | 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 |
ba3779cdcd4535870d81b611d4da474703d1ca1f | 533 | py | Python | src/processTypes/bind.py | Razikus/TotallyDockerVolumeBackuper | 4c27888e79fa2ee82c6d636367d2229e07482ec2 | [
"MIT"
] | null | null | null | src/processTypes/bind.py | Razikus/TotallyDockerVolumeBackuper | 4c27888e79fa2ee82c6d636367d2229e07482ec2 | [
"MIT"
] | null | null | null | src/processTypes/bind.py | Razikus/TotallyDockerVolumeBackuper | 4c27888e79fa2ee82c6d636367d2229e07482ec2 | [
"MIT"
] | null | null | null | from docker.types import Mount
import datetime
def processMount(mount):
result = dict()
result["type"] = mount["Type"]
result["source"] = mount["Source"]
return result
def getMountType(mount, target):
return Mount(type=mount["type"], source=mount["source"], target=target)
def getBackupName(mount)... | 28.052632 | 81 | 0.658537 | 67 | 533 | 5.238806 | 0.41791 | 0.102564 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161351 | 533 | 19 | 82 | 28.052632 | 0.785235 | 0 | 0 | 0 | 0 | 0 | 0.125468 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.133333 | 0.133333 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ba44c814229cc4fa352a3704026d375b6e5b8faa | 65 | py | Python | myp/pip/__init__.py | YunisDEV/py-scripts | c9eccffa3e69bb32a46fef94e0517a149f3701ea | [
"MIT"
] | 2 | 2021-04-03T14:16:16.000Z | 2021-04-03T15:38:32.000Z | myp/pip/__init__.py | YunisDEV/py-scripts | c9eccffa3e69bb32a46fef94e0517a149f3701ea | [
"MIT"
] | null | null | null | myp/pip/__init__.py | YunisDEV/py-scripts | c9eccffa3e69bb32a46fef94e0517a149f3701ea | [
"MIT"
] | 2 | 2021-04-15T10:28:28.000Z | 2021-04-28T19:22:16.000Z | from .commands import (
install_command,
freeze_command
) | 16.25 | 23 | 0.723077 | 7 | 65 | 6.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215385 | 65 | 4 | 24 | 16.25 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ba48aea1045656d7d3c025b16e7b851211128657 | 299 | py | Python | bili_kits/api/user.py | LonelySteve/Bili-Kits | 42e536400b2f35d57e5871de34303b6f2fc901ed | [
"MIT"
] | null | null | null | bili_kits/api/user.py | LonelySteve/Bili-Kits | 42e536400b2f35d57e5871de34303b6f2fc901ed | [
"MIT"
] | null | null | null | bili_kits/api/user.py | LonelySteve/Bili-Kits | 42e536400b2f35d57e5871de34303b6f2fc901ed | [
"MIT"
] | null | null | null | from . import _BASE_WEB_INTERFACE,_BASE_API_BILIBILI_COM_X,_BASE_API_BILIBILI_COM,_BASE_API_BILIBILI_COM_X_V2
CARD="%s/card" % _BASE_WEB_INTERFACE
NAV="%s/nav" % _BASE_WEB_INTERFACE
RELATION_STAT="%s/relation/stat" % _BASE_API_BILIBILI_COM_X
FAV_FOLDER="%s/fav/folder" % _BASE_API_BILIBILI_COM_X_V2 | 49.833333 | 109 | 0.846154 | 53 | 299 | 4.075472 | 0.320755 | 0.162037 | 0.347222 | 0.416667 | 0.37037 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0.007067 | 0.053512 | 299 | 6 | 110 | 49.833333 | 0.756184 | 0 | 0 | 0 | 0 | 0 | 0.14 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ba51c6da519449ea6c186aa6964b421f5e367518 | 118 | py | Python | {{ cookiecutter.repo_name }}/{{ cookiecutter.package_name }}/command_line.py | mazzma12/cookiecutter-data-science | 8b5ca776071b596bfa93e5c222c633cdd232e96a | [
"MIT"
] | 1 | 2021-05-28T14:53:30.000Z | 2021-05-28T14:53:30.000Z | {{ cookiecutter.repo_name }}/{{ cookiecutter.package_name }}/command_line.py | mazzma12/cookiecutter-data-science | 8b5ca776071b596bfa93e5c222c633cdd232e96a | [
"MIT"
] | null | null | null | {{ cookiecutter.repo_name }}/{{ cookiecutter.package_name }}/command_line.py | mazzma12/cookiecutter-data-science | 8b5ca776071b596bfa93e5c222c633cdd232e96a | [
"MIT"
] | 1 | 2020-04-27T13:58:36.000Z | 2020-04-27T13:58:36.000Z | import fire
def main():
"""Command line interface."""
pass
if __name__ == "__main__":
fire.Fire(main)
| 10.727273 | 33 | 0.601695 | 14 | 118 | 4.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245763 | 118 | 10 | 34 | 11.8 | 0.707865 | 0.194915 | 0 | 0 | 0 | 0 | 0.089888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0.2 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
ba530b374855abf8fb214c997a4977d9d4ea9b60 | 242 | py | Python | ElcheapoAIS_manhole/manhole/urls.py | innovationgarage/ElCheapoAIS-manhole | 157e855b8904e135da808a004f2244445498891d | [
"MIT"
] | null | null | null | ElcheapoAIS_manhole/manhole/urls.py | innovationgarage/ElCheapoAIS-manhole | 157e855b8904e135da808a004f2244445498891d | [
"MIT"
] | null | null | null | ElcheapoAIS_manhole/manhole/urls.py | innovationgarage/ElCheapoAIS-manhole | 157e855b8904e135da808a004f2244445498891d | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.urls import path
import manhole.views
urlpatterns = [
path('<str:client>', manhole.views.script, name='script'),
path('<str:client>/<int:ordering>', manhole.views.output, name='output')
]
| 26.888889 | 76 | 0.719008 | 32 | 242 | 5.4375 | 0.53125 | 0.206897 | 0.149425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119835 | 242 | 8 | 77 | 30.25 | 0.816901 | 0 | 0 | 0 | 0 | 0 | 0.210744 | 0.11157 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ba6aa4bd005fdb31cf463d45052158dba57c12af | 167 | py | Python | handlers/load_python_modules.py | gofynd/alb-logs-parser | 5678796f7001eecc6d68cb84c2ccd04e83e2ec1f | [
"Apache-2.0"
] | 2 | 2018-04-11T08:05:36.000Z | 2018-09-03T08:45:05.000Z | handlers/load_python_modules.py | gofynd/alb-logs-parser | 5678796f7001eecc6d68cb84c2ccd04e83e2ec1f | [
"Apache-2.0"
] | null | null | null | handlers/load_python_modules.py | gofynd/alb-logs-parser | 5678796f7001eecc6d68cb84c2ccd04e83e2ec1f | [
"Apache-2.0"
] | 1 | 2018-08-23T05:33:50.000Z | 2018-08-23T05:33:50.000Z | '''
Load external modules
'''
import os
import sys
BASE_DIR = os.path.dirname(os.path.realpath(__file__))
sys.path.append(os.path.join(BASE_DIR, "../python_modules"))
| 20.875 | 60 | 0.742515 | 26 | 167 | 4.5 | 0.576923 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083832 | 167 | 7 | 61 | 23.857143 | 0.764706 | 0.125749 | 0 | 0 | 0 | 0 | 0.123188 | 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 |
ba7bff1142fef326f9dc106d5d72ea722359ed53 | 106 | py | Python | bgp/apps.py | maznu/peering-manager | d249fcf530f4cc48b39429badb79bc203e0148ba | [
"Apache-2.0"
] | 127 | 2017-10-12T00:27:45.000Z | 2020-08-07T11:13:55.000Z | bgp/apps.py | maznu/peering-manager | d249fcf530f4cc48b39429badb79bc203e0148ba | [
"Apache-2.0"
] | 247 | 2017-12-26T12:55:34.000Z | 2020-08-08T11:57:35.000Z | bgp/apps.py | maznu/peering-manager | d249fcf530f4cc48b39429badb79bc203e0148ba | [
"Apache-2.0"
] | 63 | 2017-10-13T06:46:05.000Z | 2020-08-08T00:41:57.000Z | from django.apps import AppConfig
class BgpConfig(AppConfig):
name = "bgp"
verbose_name = "BGP"
| 15.142857 | 33 | 0.698113 | 13 | 106 | 5.615385 | 0.769231 | 0.191781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207547 | 106 | 6 | 34 | 17.666667 | 0.869048 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ba83540ec91871ea2e3b033b8b4ec6bbe1b71828 | 54,599 | py | Python | adspygoogle/adwords/AdWordsClient.py | nearlyfreeapps/python-googleadwords | b30d90f74248cfd5ca52967e9ee77fc4cd1b9abc | [
"Apache-2.0"
] | 2 | 2020-03-24T10:02:39.000Z | 2020-04-22T09:01:59.000Z | adspygoogle/adwords/AdWordsClient.py | nearlyfreeapps/python-googleadwords | b30d90f74248cfd5ca52967e9ee77fc4cd1b9abc | [
"Apache-2.0"
] | null | null | null | adspygoogle/adwords/AdWordsClient.py | nearlyfreeapps/python-googleadwords | b30d90f74248cfd5ca52967e9ee77fc4cd1b9abc | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
#
# Copyright 2010 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required b... | 35.944042 | 80 | 0.645378 | 5,901 | 54,599 | 5.836129 | 0.077783 | 0.04312 | 0.034496 | 0.040245 | 0.727663 | 0.708877 | 0.688754 | 0.680856 | 0.672784 | 0.664363 | 0 | 0.000994 | 0.262715 | 54,599 | 1,518 | 81 | 35.967721 | 0.854527 | 0.055038 | 0 | 0.624815 | 0 | 0 | 0.130586 | 0.011538 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.005908 | 0.028065 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bab113e16eaad6cbc67608faad8b86d0f01e96d5 | 1,474 | py | Python | python/agent.py | tbvanderwoude/research-project | 1c5cb09a424a0db83f18dae3278ecb7ad6866d2c | [
"Apache-2.0",
"MIT"
] | 3 | 2021-08-23T18:00:44.000Z | 2022-02-09T06:00:50.000Z | python/agent.py | tbvanderwoude/research-project | 1c5cb09a424a0db83f18dae3278ecb7ad6866d2c | [
"Apache-2.0",
"MIT"
] | null | null | null | python/agent.py | tbvanderwoude/research-project | 1c5cb09a424a0db83f18dae3278ecb7ad6866d2c | [
"Apache-2.0",
"MIT"
] | 1 | 2021-06-15T11:38:45.000Z | 2021-06-15T11:38:45.000Z | from __future__ import annotations
import copy
from typing import Optional
from mapfmclient import MarkedLocation
from python.coord import Coord, UncalculatedCoord
class Agent:
def __init__(self, location: Coord, color: int, accumulated_cost: Optional[int]):
self.location = location
self.accumu... | 29.48 | 92 | 0.695387 | 181 | 1,474 | 5.458564 | 0.342541 | 0.167004 | 0.096154 | 0.054656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002629 | 0.225916 | 1,474 | 49 | 93 | 30.081633 | 0.863278 | 0.074627 | 0 | 0.060606 | 0 | 0 | 0.049963 | 0.033799 | 0 | 0 | 0 | 0 | 0 | 1 | 0.242424 | false | 0 | 0.151515 | 0.151515 | 0.69697 | 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 |
bab80a31d238be536a1982c0370a6e9ddb03e510 | 360 | py | Python | {{cookiecutter.project_slug}}/tests/unit/{{cookiecutter.project_slug}}/graphql/resolvers/test_query.py | Maximilien-R/cookiecutter-tartiflette-aiohttp | 66e7e0897b315df6a1908c6c31ec58b74e0b3a6f | [
"MIT"
] | 3 | 2020-06-01T14:16:19.000Z | 2021-11-07T19:54:08.000Z | {{cookiecutter.project_slug}}/tests/unit/{{cookiecutter.project_slug}}/graphql/resolvers/test_query.py | Maximilien-R/cookiecutter-tartiflette-aiohttp | 66e7e0897b315df6a1908c6c31ec58b74e0b3a6f | [
"MIT"
] | 88 | 2019-11-15T17:35:54.000Z | 2021-08-02T04:50:51.000Z | {{cookiecutter.project_slug}}/tests/unit/{{cookiecutter.project_slug}}/graphql/resolvers/test_query.py | Maximilien-R/cookiecutter-tartiflette-aiohttp | 66e7e0897b315df6a1908c6c31ec58b74e0b3a6f | [
"MIT"
] | 2 | 2020-05-04T08:35:34.000Z | 2020-10-22T17:47:26.000Z | from unittest.mock import Mock
import pytest
from {{cookiecutter.project_slug}}.graphql.resolvers import resolve_query_hello
@pytest.mark.asyncio
async def test_resolve_query_hello():
result = await resolve_query_hello(
None, {"name": "{{cookiecutter.author_name}}"}, {}, Mock()
)
assert result =... | 25.714286 | 79 | 0.725 | 43 | 360 | 5.837209 | 0.55814 | 0.143426 | 0.203187 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147222 | 360 | 13 | 80 | 27.692308 | 0.81759 | 0 | 0 | 0 | 0 | 0 | 0.186111 | 0.158333 | 0 | 0 | 0 | 0 | 0.111111 | 0 | null | null | 0 | 0.333333 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
bacc74e14cea55ddb3f53681cd742f9b52ee85c7 | 310 | py | Python | output/models/nist_data/atomic/non_positive_integer/schema_instance/nistschema_sv_iv_atomic_non_positive_integer_pattern_1_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/nist_data/atomic/non_positive_integer/schema_instance/nistschema_sv_iv_atomic_non_positive_integer_pattern_1_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/nist_data/atomic/non_positive_integer/schema_instance/nistschema_sv_iv_atomic_non_positive_integer_pattern_1_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.nist_data.atomic.non_positive_integer.schema_instance.nistschema_sv_iv_atomic_non_positive_integer_pattern_1_xsd.nistschema_sv_iv_atomic_non_positive_integer_pattern_1 import NistschemaSvIvAtomicNonPositiveIntegerPattern1
__all__ = [
"NistschemaSvIvAtomicNonPositiveIntegerPattern1",
]
| 51.666667 | 240 | 0.912903 | 34 | 310 | 7.588235 | 0.588235 | 0.104651 | 0.197674 | 0.27907 | 0.356589 | 0.356589 | 0.356589 | 0.356589 | 0.356589 | 0 | 0 | 0.013514 | 0.045161 | 310 | 5 | 241 | 62 | 0.858108 | 0 | 0 | 0 | 0 | 0 | 0.148387 | 0.148387 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
badc471c18802ff07742dbc8a984c7483d241aed | 334 | py | Python | unit6/spiders/p5_downloader_middleware_handson/p5_downloader_middleware_handson/settings.py | nulearn3296/scrapy-training | 8981dbc33b68bd7246839eee34ca8266d5a0066f | [
"BSD-3-Clause"
] | 182 | 2017-04-05T23:39:22.000Z | 2022-02-22T19:49:52.000Z | unit6/spiders/p5_downloader_middleware_handson/p5_downloader_middleware_handson/settings.py | nulearn3296/scrapy-training | 8981dbc33b68bd7246839eee34ca8266d5a0066f | [
"BSD-3-Clause"
] | 3 | 2017-04-18T07:16:39.000Z | 2019-05-04T22:54:53.000Z | unit6/spiders/p5_downloader_middleware_handson/p5_downloader_middleware_handson/settings.py | nulearn3296/scrapy-training | 8981dbc33b68bd7246839eee34ca8266d5a0066f | [
"BSD-3-Clause"
] | 53 | 2017-04-07T03:25:54.000Z | 2022-02-21T21:51:01.000Z | BOT_NAME = 'p5_downloader_middleware_handson'
SPIDER_MODULES = ['p5_downloader_middleware_handson.spiders']
NEWSPIDER_MODULE = 'p5_downloader_middleware_handson.spiders'
ROBOTSTXT_OBEY = True
DOWNLOADER_MIDDLEWARES = {
'p5_downloader_middleware_handson.middlewares.SeleniumDownloaderMiddleware': 543,
}
SELENIUM_E... | 27.833333 | 85 | 0.844311 | 35 | 334 | 7.542857 | 0.542857 | 0.181818 | 0.333333 | 0.439394 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022876 | 0.083832 | 334 | 11 | 86 | 30.363636 | 0.839869 | 0 | 0 | 0 | 0 | 0 | 0.553892 | 0.553892 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
2431b272767b88594353f5a57a81caf0a74688f4 | 1,606 | py | Python | sasync/errors.py | edsuom/sAsync | fe5119719d12a09665face6731ffc67bbc45971a | [
"Apache-2.0"
] | 1 | 2020-09-25T18:13:00.000Z | 2020-09-25T18:13:00.000Z | sasync/errors.py | edsuom/sAsync | fe5119719d12a09665face6731ffc67bbc45971a | [
"Apache-2.0"
] | null | null | null | sasync/errors.py | edsuom/sAsync | fe5119719d12a09665face6731ffc67bbc45971a | [
"Apache-2.0"
] | null | null | null | # sAsync:
# An enhancement to the SQLAlchemy package that provides persistent
# item-value stores, arrays, and dictionaries, and an access broker for
# conveniently managing database access, table setup, and
# transactions. Everything can be run in an asynchronous fashion using
# the Twisted framework and its deferred ... | 33.458333 | 73 | 0.744707 | 218 | 1,606 | 5.486239 | 0.614679 | 0.050167 | 0.021739 | 0.026756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009153 | 0.183686 | 1,606 | 47 | 74 | 34.170213 | 0.903127 | 0.825654 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
244c59854e305c7ea70a2b023f1c927cf7a0e1bc | 1,201 | py | Python | quant/state.py | vincent87lee/alphahunter | 5f45dbd5f09354dd161606f7e740f8c8d8ae2772 | [
"MIT"
] | 149 | 2019-12-05T05:26:15.000Z | 2022-03-15T03:44:46.000Z | quant/state.py | webclinic017/alphahunter | e3ccc10bb8b641a6a516ec7cd908e5b006343264 | [
"MIT"
] | 4 | 2020-09-12T20:46:06.000Z | 2021-09-01T16:39:14.000Z | quant/state.py | webclinic017/alphahunter | e3ccc10bb8b641a6a516ec7cd908e5b006343264 | [
"MIT"
] | 73 | 2019-11-29T03:13:11.000Z | 2022-03-24T06:06:31.000Z | # -*- coding:utf-8 -*-
"""
状态信息
Project: alphahunter
Author: HJQuant
Description: Asynchronous driven quantitative trading framework
"""
class State:
STATE_CODE_PARAM_MISS = 1 #交易接口初始化过程缺少参数
STATE_CODE_CONNECT_SUCCESS = 2 #交易接口连接成功
STATE_CODE_CONNECT_FAILED = 3 #交易接口连接失败
STATE_CODE_DISCONN... | 23.54902 | 95 | 0.638634 | 138 | 1,201 | 5.195652 | 0.405797 | 0.125523 | 0.078103 | 0.050209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011534 | 0.278102 | 1,201 | 50 | 96 | 24.02 | 0.815456 | 0.169026 | 0 | 0.129032 | 0 | 0 | 0.029562 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.225806 | false | 0 | 0 | 0.193548 | 0.741935 | 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 |
24525887544853b79abf1af748bdda46247aa80d | 2,704 | py | Python | restcli/utils.py | dustinrohde/restcli | ca45cee01aca406b1219a64d03a77eda5c2516e3 | [
"Apache-2.0"
] | 12 | 2017-03-13T18:51:48.000Z | 2020-05-04T00:22:09.000Z | restcli/utils.py | dustinrohde/restcli | ca45cee01aca406b1219a64d03a77eda5c2516e3 | [
"Apache-2.0"
] | 1 | 2017-03-16T15:18:14.000Z | 2017-03-16T15:18:14.000Z | restcli/utils.py | dustinrohde/restcli | ca45cee01aca406b1219a64d03a77eda5c2516e3 | [
"Apache-2.0"
] | 2 | 2017-03-16T02:44:49.000Z | 2017-07-27T04:54:06.000Z | from collections import OrderedDict
from collections.abc import Mapping, Sequence
class AttrSeq(Sequence):
"""An immutable sequence that supports dot notation.
Args:
*args: Items to create the sequence from.
"""
def __init__(self, *args):
self._seq = args
def __getattr__(self, i... | 23.513043 | 79 | 0.610207 | 334 | 2,704 | 4.625749 | 0.317365 | 0.038835 | 0.028479 | 0.029773 | 0.202589 | 0.167638 | 0.069256 | 0 | 0 | 0 | 0 | 0.000521 | 0.29068 | 2,704 | 114 | 80 | 23.719298 | 0.805005 | 0.211908 | 0 | 0.253968 | 0 | 0 | 0.026214 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.031746 | 0.15873 | 0.650794 | 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 |
24604a4f9f632756925e48db8b2f6f25d32b4532 | 4,833 | py | Python | pre-benchmarks/Lisp_interpreter/interpreter/Tests/Test_Interpreter.py | nuprl/retic_performance | 621211c2f40251ce5364c33e72e4067e34a32013 | [
"MIT"
] | 3 | 2018-08-03T02:41:29.000Z | 2021-03-19T03:18:47.000Z | pre-benchmarks/Lisp_interpreter/interpreter/Tests/Test_Interpreter.py | nuprl/retic_performance | 621211c2f40251ce5364c33e72e4067e34a32013 | [
"MIT"
] | 3 | 2018-02-04T17:53:56.000Z | 2018-11-10T17:06:57.000Z | pre-benchmarks/Lisp_interpreter/interpreter/Tests/Test_Interpreter.py | nuprl/retic_performance | 621211c2f40251ce5364c33e72e4067e34a32013 | [
"MIT"
] | 1 | 2018-08-04T00:14:12.000Z | 2018-08-04T00:14:12.000Z | import pytest
import sys
sys.path.insert(0, '/Users/zeinamigeed/Lisp_interpreter/interpreter/BSL_Expr')
sys.path.insert(0, '/Users/zeinamigeed/Lisp_interpreter/interpreter/Other')
from Variable import Variable
from BSLError import BSLError
from Num import Num
from Boolean import Boolean
from Constants import Constant... | 37.757813 | 208 | 0.717567 | 730 | 4,833 | 4.557534 | 0.157534 | 0.165915 | 0.168019 | 0.232642 | 0.669372 | 0.502855 | 0.412684 | 0.391644 | 0.219417 | 0.098287 | 0 | 0.052129 | 0.154562 | 4,833 | 128 | 209 | 37.757813 | 0.762115 | 0.208566 | 0 | 0.105882 | 0 | 0 | 0.044584 | 0.035143 | 0 | 0 | 0 | 0 | 0.529412 | 1 | 0.2 | true | 0 | 0.082353 | 0 | 0.282353 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
79f1ff92ec1e6acd3c59af6c5fe99bb9e7be57fe | 49 | py | Python | src/spc/__init__.py | whbrewer/spc | 859f15e0fcb3f5f7d84d420f4757ae0a42c5837a | [
"MIT"
] | 12 | 2017-01-25T02:13:34.000Z | 2020-03-11T18:22:31.000Z | src/spc/__init__.py | whbrewer/spc | 859f15e0fcb3f5f7d84d420f4757ae0a42c5837a | [
"MIT"
] | 1 | 2018-01-08T19:21:24.000Z | 2018-01-08T19:21:24.000Z | src/spc/__init__.py | whbrewer/spc | 859f15e0fcb3f5f7d84d420f4757ae0a42c5837a | [
"MIT"
] | 2 | 2017-06-14T04:29:14.000Z | 2018-01-28T20:25:54.000Z | __author__ = 'Wesley Brewer'
__license__ = 'MIT'
| 16.333333 | 28 | 0.734694 | 5 | 49 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 2 | 29 | 24.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.326531 | 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 |
79ff7b8687e44250039535319562a18fcc77d579 | 2,661 | py | Python | tests/test_models.py | wecode12/TheBlog | f2ce56f0e7d95919e7a7b53892f303338fd2f1ab | [
"MIT"
] | null | null | null | tests/test_models.py | wecode12/TheBlog | f2ce56f0e7d95919e7a7b53892f303338fd2f1ab | [
"MIT"
] | null | null | null | tests/test_models.py | wecode12/TheBlog | f2ce56f0e7d95919e7a7b53892f303338fd2f1ab | [
"MIT"
] | null | null | null | import unittest
from app.models import User,Posts,Comments,Subscribe
class UserModelTest(unittest.TestCase):
def setUp(self):
self.new_user = User(password = 'banana')
def test_password_setter(self):
self.assertTrue(self.new_user.pass_secure is not None)
def test_no_access_passwo... | 26.61 | 96 | 0.636979 | 333 | 2,661 | 4.975976 | 0.24024 | 0.054919 | 0.032589 | 0.033796 | 0.535305 | 0.507544 | 0.447194 | 0.388654 | 0.388654 | 0.388654 | 0 | 0.001542 | 0.269072 | 2,661 | 99 | 97 | 26.878788 | 0.850386 | 0.256295 | 0 | 0.194444 | 0 | 0 | 0.061283 | 0.013173 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.361111 | false | 0.194444 | 0.055556 | 0 | 0.527778 | 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 |
030361a3a07366fe3fca8925cb15ee416c8d5edc | 77 | py | Python | src/main.py | DMinghao/Stock_Trading_Bot | 67e510868fcb81fb1166e50a1ee4ad0face1f597 | [
"MIT"
] | 1 | 2021-01-30T04:21:17.000Z | 2021-01-30T04:21:17.000Z | src/main.py | DMinghao/Stock_Trading_Bot | 67e510868fcb81fb1166e50a1ee4ad0face1f597 | [
"MIT"
] | null | null | null | src/main.py | DMinghao/Stock_Trading_Bot | 67e510868fcb81fb1166e50a1ee4ad0face1f597 | [
"MIT"
] | 1 | 2021-11-25T15:39:43.000Z | 2021-11-25T15:39:43.000Z | from utility import util
CONN = util.connectAlpaca()
class algo:
pass
| 11 | 27 | 0.714286 | 10 | 77 | 5.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220779 | 77 | 6 | 28 | 12.833333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
031333ba3988ef98fbd4715a4e62cc80ec83e8a6 | 20 | py | Python | BackpackTF/__init__.py | danocmx/BackpackTF | f72e3e469564bac3437e46b609295ed9682fa111 | [
"MIT"
] | null | null | null | BackpackTF/__init__.py | danocmx/BackpackTF | f72e3e469564bac3437e46b609295ed9682fa111 | [
"MIT"
] | null | null | null | BackpackTF/__init__.py | danocmx/BackpackTF | f72e3e469564bac3437e46b609295ed9682fa111 | [
"MIT"
] | null | null | null | name = "BackpackTF"
| 10 | 19 | 0.7 | 2 | 20 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.5 | 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 |
0334e651421abe1c3bbd784b6968c6b9f2211995 | 762 | py | Python | crits/exploits/urls.py | dutrow/crits | 6b357daa5c3060cf622d3a3b0c7b41a9ca69c049 | [
"MIT"
] | 738 | 2015-01-02T12:39:55.000Z | 2022-03-23T11:05:51.000Z | crits/exploits/urls.py | dutrow/crits | 6b357daa5c3060cf622d3a3b0c7b41a9ca69c049 | [
"MIT"
] | 605 | 2015-01-01T01:03:39.000Z | 2021-11-17T18:51:07.000Z | crits/exploits/urls.py | dutrow/crits | 6b357daa5c3060cf622d3a3b0c7b41a9ca69c049 | [
"MIT"
] | 316 | 2015-01-07T12:35:01.000Z | 2022-03-30T04:44:30.000Z | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^add/$', views.add_exploit, name='crits-exploits-views-add_exploit'),
url(r'^edit/cve/$', views.edit_exploit_cve, name='crits-exploits-views-edit_exploit_cve'),
url(r'^edit/name/(?P<id_>\S+)/$', views.edit_exploit_name, name='crits... | 54.428571 | 110 | 0.708661 | 112 | 762 | 4.633929 | 0.223214 | 0.05395 | 0.229287 | 0.296724 | 0.458574 | 0.346821 | 0.219653 | 0.219653 | 0.219653 | 0 | 0 | 0 | 0.082677 | 762 | 13 | 111 | 58.615385 | 0.742489 | 0 | 0 | 0 | 0 | 0 | 0.48294 | 0.451444 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.181818 | 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 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
03472bc113607c9cce24676674e3bde57eee28aa | 435 | py | Python | path.py | jihuacao/Putil | b753fc94bea4cbda00f483681c55f0e9f54adef2 | [
"Apache-2.0"
] | 1 | 2018-12-09T06:09:29.000Z | 2018-12-09T06:09:29.000Z | path.py | jihuacao/Putil | b753fc94bea4cbda00f483681c55f0e9f54adef2 | [
"Apache-2.0"
] | null | null | null | path.py | jihuacao/Putil | b753fc94bea4cbda00f483681c55f0e9f54adef2 | [
"Apache-2.0"
] | null | null | null | import os
def touch_dir(wanted_dir):
not_exist_collection = []
while os.path.exists(wanted_dir) is not True and wanted_dir != '':
wanted_dir, step = os.path.split(wanted_dir)
not_exist_collection.append(step)
pass
while len(not_exist_collection) != 0:
step = not_exist_coll... | 27.1875 | 70 | 0.650575 | 61 | 435 | 4.360656 | 0.393443 | 0.270677 | 0.270677 | 0.12782 | 0.203008 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003077 | 0.252874 | 435 | 16 | 71 | 27.1875 | 0.815385 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0.230769 | 0.076923 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0362e3e2a8505146a18fa8d1c03cc3f8125b8048 | 274 | py | Python | go/apps/access_mobile_http_api/__init__.py | lynnUg/vumi-go | 852f906c46d5d26940bd6699f11488b73bbc3742 | [
"BSD-3-Clause"
] | null | null | null | go/apps/access_mobile_http_api/__init__.py | lynnUg/vumi-go | 852f906c46d5d26940bd6699f11488b73bbc3742 | [
"BSD-3-Clause"
] | null | null | null | go/apps/access_mobile_http_api/__init__.py | lynnUg/vumi-go | 852f906c46d5d26940bd6699f11488b73bbc3742 | [
"BSD-3-Clause"
] | null | null | null | from zope.interface import implements
from twisted.cred import portal, checkers, credentials, error
from twisted.internet.defer import inlineCallbacks, returnValue
from twisted.web import resource
from twisted.web.guard import HTTPAuthSessionWrapper, BasicCredentialFactory | 45.666667 | 76 | 0.864964 | 32 | 274 | 7.40625 | 0.625 | 0.185654 | 0.118143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091241 | 274 | 6 | 76 | 45.666667 | 0.951807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0372470bd73314dd6de4de8ad09ee2efbf1ce927 | 1,138 | py | Python | src/sage/manifolds/differentiable/examples/symplectic_space_test.py | UCD4IDS/sage | 43474c96d533fd396fe29fe0782d44dc7f5164f7 | [
"BSL-1.0"
] | null | null | null | src/sage/manifolds/differentiable/examples/symplectic_space_test.py | UCD4IDS/sage | 43474c96d533fd396fe29fe0782d44dc7f5164f7 | [
"BSL-1.0"
] | null | null | null | src/sage/manifolds/differentiable/examples/symplectic_space_test.py | UCD4IDS/sage | 43474c96d533fd396fe29fe0782d44dc7f5164f7 | [
"BSL-1.0"
] | null | null | null | import sage.all
from sage.manifolds.differentiable.symplectic_form import SymplecticForm
from sage.manifolds.differentiable.examples.symplectic_space import (
StandardSymplecticSpace,
)
import pytest
class TestR2VectorSpace:
@pytest.fixture
def M(self):
return StandardSymplecticSpace(2, "R2", symp... | 29.179487 | 72 | 0.705624 | 131 | 1,138 | 6.076336 | 0.312977 | 0.065327 | 0.080402 | 0.077889 | 0.690955 | 0.690955 | 0.690955 | 0.565327 | 0.565327 | 0.565327 | 0 | 0.013015 | 0.189807 | 1,138 | 38 | 73 | 29.947368 | 0.847072 | 0 | 0 | 0.5 | 0 | 0 | 0.096661 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.642857 | 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 |
301c0312019459ee3c1cee213b0c5d83ed3d800e | 66 | py | Python | definitions.py | krolse/discord-bot | 721cc2db11bf625ae0b82241b48b4a8d6cddfef6 | [
"MIT"
] | null | null | null | definitions.py | krolse/discord-bot | 721cc2db11bf625ae0b82241b48b4a8d6cddfef6 | [
"MIT"
] | null | null | null | definitions.py | krolse/discord-bot | 721cc2db11bf625ae0b82241b48b4a8d6cddfef6 | [
"MIT"
] | null | null | null | import os
ROOT_PATH = os.path.dirname(__file__)
PREFIX = '!'
| 13.2 | 38 | 0.666667 | 9 | 66 | 4.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 66 | 4 | 39 | 16.5 | 0.735849 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 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 |
3026e265d52f0e4e8547e9c71406ecd9ba63127b | 224 | py | Python | Python/Python For Absolute Beginner/mainfile.py | omkarsutar1255/Python-Data | 169d0c54b23d9dd5a7f1aea41ab385121c3b3c63 | [
"CC-BY-3.0"
] | null | null | null | Python/Python For Absolute Beginner/mainfile.py | omkarsutar1255/Python-Data | 169d0c54b23d9dd5a7f1aea41ab385121c3b3c63 | [
"CC-BY-3.0"
] | null | null | null | Python/Python For Absolute Beginner/mainfile.py | omkarsutar1255/Python-Data | 169d0c54b23d9dd5a7f1aea41ab385121c3b3c63 | [
"CC-BY-3.0"
] | null | null | null | def printom(str):
return f"ye hath mujhe {str}"
def add(n1, n2):
return n1 + n2 + 5
print("and the name is", __name__)
if __name__ == '__main__':
print(printom("de de thakur"))
o = add(4, 6)
print(o)
| 16 | 34 | 0.589286 | 37 | 224 | 3.243243 | 0.648649 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041916 | 0.254464 | 224 | 13 | 35 | 17.230769 | 0.676647 | 0 | 0 | 0 | 0 | 0 | 0.241071 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.222222 | 0.444444 | 0.444444 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 3 |
30287041d7af11f5fa52ba839473d1d0593377f9 | 46 | py | Python | src/iJungle/config.py | microsoft/dstoolkit-anomaly-detection-ijungle | 74946cffa2c45de8203cc63830220d928b767751 | [
"MIT"
] | 3 | 2021-11-11T17:41:49.000Z | 2021-11-23T18:01:11.000Z | src/iJungle/config.py | microsoft/dstoolkit-anomaly-detection-ijungle | 74946cffa2c45de8203cc63830220d928b767751 | [
"MIT"
] | 1 | 2021-10-01T06:06:27.000Z | 2021-10-01T06:06:27.000Z | src/iJungle/config.py | microsoft/dstoolkit-anomaly-detection-ijungle | 74946cffa2c45de8203cc63830220d928b767751 | [
"MIT"
] | 1 | 2021-10-01T05:56:13.000Z | 2021-10-01T05:56:13.000Z | __version__ = '0.1.73'
_MODEL_DIR = 'outputs'
| 15.333333 | 22 | 0.695652 | 7 | 46 | 3.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.130435 | 46 | 2 | 23 | 23 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0.282609 | 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 |
303a017c75510b182fa84c03281ca852da5367a0 | 479 | py | Python | info/views.py | RockyRoad29/flask-kit | e77501f4d68f76949cff91bea3664292fc17f4d4 | [
"BSD-3-Clause"
] | 1 | 2022-03-20T11:21:00.000Z | 2022-03-20T11:21:00.000Z | info/views.py | RockyRoad29/flask-kit | e77501f4d68f76949cff91bea3664292fc17f4d4 | [
"BSD-3-Clause"
] | null | null | null | info/views.py | RockyRoad29/flask-kit | e77501f4d68f76949cff91bea3664292fc17f4d4 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Example additional blueprint.
:copyright: (c) 2012 by Roman Semirook.
:license: BSD, see LICENSE for more details.
"""
from flask.templating import render_template
from flask.views import MethodView
from info import info
class HelpPageView(MethodView):
"An example view f... | 22.809524 | 61 | 0.713987 | 64 | 479 | 5.234375 | 0.703125 | 0.053731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.175365 | 479 | 20 | 62 | 23.95 | 0.835443 | 0.36952 | 0 | 0 | 0 | 0 | 0.190031 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0.125 | 0.75 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
305dd0cf234605970af277d1a10677b89e0e29d1 | 1,113 | py | Python | src/backend/backend/users/migrations/0010_update_uuid_field.py | tejpratap545/E-Commerce-Application | c1aada5d86f231e5acd6ba4c6c9b88ff4b351f7a | [
"MIT"
] | null | null | null | src/backend/backend/users/migrations/0010_update_uuid_field.py | tejpratap545/E-Commerce-Application | c1aada5d86f231e5acd6ba4c6c9b88ff4b351f7a | [
"MIT"
] | 7 | 2021-08-13T23:05:47.000Z | 2022-02-27T10:23:46.000Z | src/backend/backend/users/migrations/0010_update_uuid_field.py | tejpratap545/E-Commerce-Application | c1aada5d86f231e5acd6ba4c6c9b88ff4b351f7a | [
"MIT"
] | null | null | null | # Generated by Django 3.1.2 on 2020-10-21 15:40
from django.db import migrations, models
import uuid
class Migration(migrations.Migration):
dependencies = [
('users', '0009_auto_20201021_2108'),
]
operations = [
migrations.AlterField(
model_name='emailconfirmation',
... | 31.8 | 106 | 0.628032 | 104 | 1,113 | 6.605769 | 0.5 | 0.116448 | 0.14556 | 0.16885 | 0.643377 | 0.550218 | 0.366812 | 0.247453 | 0.247453 | 0.247453 | 0 | 0.06821 | 0.262354 | 1,113 | 34 | 107 | 32.735294 | 0.768575 | 0.040431 | 0 | 0.571429 | 1 | 0 | 0.183865 | 0.102251 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.071429 | 0.071429 | 0 | 0.178571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
3061799da4b27da8e82e9b9f427b99189cda21d4 | 981 | py | Python | indico/modules/events/models/labels.py | Nordix/indico | 8eff8f046d0cb6dcac4f5ef9750ed79a9d38acf0 | [
"MIT"
] | null | null | null | indico/modules/events/models/labels.py | Nordix/indico | 8eff8f046d0cb6dcac4f5ef9750ed79a9d38acf0 | [
"MIT"
] | null | null | null | indico/modules/events/models/labels.py | Nordix/indico | 8eff8f046d0cb6dcac4f5ef9750ed79a9d38acf0 | [
"MIT"
] | null | null | null | # This file is part of Indico.
# Copyright (C) 2002 - 2020 CERN
#
# Indico is free software; you can redistribute it and/or
# modify it under the terms of the MIT License; see the
# LICENSE file for more details.
from __future__ import unicode_literals
import uuid
from indico.util.locators import locator_property
fr... | 25.815789 | 68 | 0.673802 | 140 | 981 | 4.535714 | 0.557143 | 0.037795 | 0.044094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014726 | 0.238532 | 981 | 37 | 69 | 26.513514 | 0.835341 | 0.248726 | 0 | 0 | 0 | 0 | 0.024691 | 0 | 0 | 0 | 0 | 0.027027 | 0 | 1 | 0.190476 | false | 0 | 0.190476 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
061c8039533a39fbab640592d28268452289ba56 | 3,580 | py | Python | sparse_arrays.py | Digit4/randoms | f1f8d9f9b03286f157fa69042c9ac7f5f00e4dec | [
"MIT"
] | 1 | 2018-12-15T17:47:07.000Z | 2018-12-15T17:47:07.000Z | sparse_arrays.py | Digit4/randoms | f1f8d9f9b03286f157fa69042c9ac7f5f00e4dec | [
"MIT"
] | null | null | null | sparse_arrays.py | Digit4/randoms | f1f8d9f9b03286f157fa69042c9ac7f5f00e4dec | [
"MIT"
] | null | null | null | inpu = """4
aba
baba
aba
xzxb
3
aba
xzxb
ab
"""
inp = """100
lekgdisnsbfdzpqlkg
eagemhdygyv
jwvwwnrhuai
urcadmrwlqe
mpgqsvxrijpombyv
mpgqsvxrijpombyv
urcadmrwlqe
mpgqsvxrijpombyv
eagemhdygyv
eagemhdygyv
jwvwwnrhuai
urcadmrwlqe
jwvwwnrhuai
kvugevicpsdf
kvugevicpsdf
mpgqsvxrijpombyv
urcadmrwlqe
mpgqsvxrijpombyv
exdafbno... | 14.32 | 53 | 0.861732 | 336 | 3,580 | 9.14881 | 0.166667 | 0.042941 | 0.026025 | 0.007157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004352 | 0.101397 | 3,580 | 249 | 54 | 14.37751 | 0.951197 | 0 | 0 | 0.846473 | 0 | 0 | 0.762011 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.008299 | false | 0 | 0 | 0 | 0.020747 | 0.008299 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
06291bcd3823b5f56cbc0312a7f61a050ba0609f | 1,789 | py | Python | restclients/test/gws/trumba_group.py | uw-it-cte/uw-restclients | 2b09348bf066e5508304401f93f281805e965af5 | [
"Apache-2.0"
] | null | null | null | restclients/test/gws/trumba_group.py | uw-it-cte/uw-restclients | 2b09348bf066e5508304401f93f281805e965af5 | [
"Apache-2.0"
] | null | null | null | restclients/test/gws/trumba_group.py | uw-it-cte/uw-restclients | 2b09348bf066e5508304401f93f281805e965af5 | [
"Apache-2.0"
] | null | null | null | from django.test import TestCase
from restclients.models.gws import GroupUser
from restclients.exceptions import DataFailureException
from restclients.gws import GWS
from restclients.test import fdao_gws_override
@fdao_gws_override
class TestGwsTrumbaGroup(TestCase):
def test_get_group(self):
group = GWS... | 42.595238 | 124 | 0.714925 | 214 | 1,789 | 5.845794 | 0.317757 | 0.204636 | 0.201439 | 0.076739 | 0.370104 | 0.254996 | 0.254996 | 0.22542 | 0.151879 | 0 | 0 | 0.035739 | 0.186696 | 1,789 | 41 | 125 | 43.634146 | 0.824055 | 0 | 0 | 0.060606 | 0 | 0 | 0.172163 | 0.066518 | 0 | 0 | 0 | 0 | 0.606061 | 1 | 0.030303 | false | 0 | 0.151515 | 0 | 0.212121 | 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 |
06508ced0b67c00a43888b30d90b61c487445db6 | 523 | py | Python | home/migrations/0003_rename_image_movie_thumbnail_and_more.py | italoseara/Django-Movie | 57721da4a972f059c5bf67bff8183724e62307b6 | [
"MIT"
] | 1 | 2022-03-03T15:49:37.000Z | 2022-03-03T15:49:37.000Z | home/migrations/0003_rename_image_movie_thumbnail_and_more.py | italoseara/Django-Movie | 57721da4a972f059c5bf67bff8183724e62307b6 | [
"MIT"
] | null | null | null | home/migrations/0003_rename_image_movie_thumbnail_and_more.py | italoseara/Django-Movie | 57721da4a972f059c5bf67bff8183724e62307b6 | [
"MIT"
] | null | null | null | # Generated by Django 4.0 on 2021-12-26 20:08
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('home', '0002_remove_movie_language_remove_serie_language'),
]
operations = [
migrations.RenameField(
model_name='movie',
old_n... | 21.791667 | 69 | 0.573614 | 52 | 523 | 5.538462 | 0.615385 | 0.145833 | 0.180556 | 0.208333 | 0.194444 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0.050562 | 0.319312 | 523 | 23 | 70 | 22.73913 | 0.758427 | 0.082218 | 0 | 0.470588 | 1 | 0 | 0.188285 | 0.100418 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.235294 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.