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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
966267bef4795fe4eab079f64ba7814f8a18a453 | 225 | py | Python | stweet/model/user_raw.py | markowanga/stweet | 7f103b5c88fcef1d993d8cdc99cec358e55293f7 | [
"MIT"
] | 101 | 2020-11-22T16:44:25.000Z | 2022-03-30T08:42:07.000Z | stweet/model/user_raw.py | markowanga/stweet | 7f103b5c88fcef1d993d8cdc99cec358e55293f7 | [
"MIT"
] | 53 | 2020-11-21T19:40:36.000Z | 2022-03-02T10:09:52.000Z | stweet/model/user_raw.py | markowanga/stweet | 7f103b5c88fcef1d993d8cdc99cec358e55293f7 | [
"MIT"
] | 16 | 2020-12-12T23:02:51.000Z | 2022-03-01T12:10:32.000Z | from arrow import Arrow
from stweet.model.raw_data import RawData
class UserRaw(RawData):
def __init__(self, raw_value: str, download_datetime: Arrow):
super().__init__('UserRaw', raw_value, download_datetime)
| 25 | 65 | 0.755556 | 30 | 225 | 5.233333 | 0.6 | 0.101911 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151111 | 225 | 8 | 66 | 28.125 | 0.82199 | 0 | 0 | 0 | 0 | 0 | 0.031111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
9663e403a5ce33b960933b1ec57cb7c3233dd3c6 | 594 | py | Python | project/Shop/migrations/0001_initial.py | leehe228/Ecoverse | 1554e4f44c8ba3cc60a0b7f2509f4d9b7a94099a | [
"CC-BY-4.0"
] | null | null | null | project/Shop/migrations/0001_initial.py | leehe228/Ecoverse | 1554e4f44c8ba3cc60a0b7f2509f4d9b7a94099a | [
"CC-BY-4.0"
] | null | null | null | project/Shop/migrations/0001_initial.py | leehe228/Ecoverse | 1554e4f44c8ba3cc60a0b7f2509f4d9b7a94099a | [
"CC-BY-4.0"
] | null | null | null | # Generated by Django 3.2.7 on 2021-10-01 16:27
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Shop',
fields=[
('lastupdate', models.DateT... | 24.75 | 107 | 0.565657 | 58 | 594 | 5.741379 | 0.724138 | 0.162162 | 0.225225 | 0.234234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051095 | 0.308081 | 594 | 23 | 108 | 25.826087 | 0.759124 | 0.075758 | 0 | 0 | 1 | 0 | 0.053016 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.3125 | 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 |
9665871a2b0372fec73caaa108dc15d50aec2479 | 439 | py | Python | app/models.py | Anam-Mahmood/Webart | eab46fefd5b30c4a2cf17247c1c03d6605f0387a | [
"Apache-2.0"
] | null | null | null | app/models.py | Anam-Mahmood/Webart | eab46fefd5b30c4a2cf17247c1c03d6605f0387a | [
"Apache-2.0"
] | 6 | 2021-03-19T04:20:51.000Z | 2022-02-10T09:37:45.000Z | app/models.py | Anam-Mahmood/Webart | eab46fefd5b30c4a2cf17247c1c03d6605f0387a | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from django.db import models
from django.db import models
# Create your models here.
class Paintings(models.Model):
name = models.CharField(max_length=100, null=True)
genre = models.CharField(max_length=100, null=True)
artist = models.CharField(max_length=100, null=True)
image... | 29.266667 | 64 | 0.728929 | 61 | 439 | 5.163934 | 0.491803 | 0.126984 | 0.228571 | 0.304762 | 0.485714 | 0.333333 | 0.333333 | 0 | 0 | 0 | 0 | 0.034667 | 0.145786 | 439 | 14 | 65 | 31.357143 | 0.805333 | 0.104784 | 0 | 0.25 | 0 | 0 | 0.025707 | 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 |
9683596cf93e74b6f0e16426e65c3c5dd769d843 | 409 | py | Python | python_random_is_all_about/test_platform/e2e/file_2.py | bflaven/BlogArticlesExamples | 5df2dfc26170ffbbade78ba136bf3172391e3b2a | [
"MIT"
] | 5 | 2018-05-03T08:16:02.000Z | 2021-09-04T03:44:24.000Z | python_random_is_all_about/test_platform/e2e/file_2.py | bflaven/BlogArticlesExamples | 5df2dfc26170ffbbade78ba136bf3172391e3b2a | [
"MIT"
] | 1 | 2022-01-28T19:27:19.000Z | 2022-01-28T19:27:19.000Z | python_random_is_all_about/test_platform/e2e/file_2.py | bflaven/BlogArticlesExamples | 5df2dfc26170ffbbade78ba136bf3172391e3b2a | [
"MIT"
] | 2 | 2020-09-10T13:33:27.000Z | 2022-02-09T11:07:38.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
#
"""
cd /Users/brunoflaven/Documents/02_copy/_random_is_all_about
python file_2.py
"""
import random
file='file_2.py'
# print('\n')
# print('You are in: ', file)
# print('\n')
def get_random_choice(input_array):
return random.choice(input_array)
print('\n')
print(f... | 15.148148 | 71 | 0.662592 | 61 | 409 | 4.229508 | 0.590164 | 0.093023 | 0.054264 | 0.170543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013928 | 0.122249 | 409 | 26 | 72 | 15.730769 | 0.704735 | 0.410758 | 0 | 0.25 | 0 | 0 | 0.168889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0.125 | 0.375 | 0.5 | 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 | 0 | 1 | 0 | 3 |
9683ddffc7395291317fb8df827eafd0ebdafed2 | 66 | py | Python | py/garage/garage/partdefs/apps.py | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | 3 | 2016-01-04T06:28:52.000Z | 2020-09-20T13:18:40.000Z | py/garage/garage/partdefs/apps.py | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | null | null | null | py/garage/garage/partdefs/apps.py | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | null | null | null | from garage import apps
# Re-export it here.
PARTS = apps.PARTS
| 11 | 23 | 0.727273 | 11 | 66 | 4.363636 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 66 | 5 | 24 | 13.2 | 0.90566 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
969a7bd3f8cda4bdb440e7b54f50051a8ab1bb82 | 1,160 | py | Python | apps/admin/jumpscripts/deploy/grid_master.py | Jumpscale/jumpscale6_core | 0502ddc1abab3c37ed982c142d21ea3955d471d3 | [
"BSD-2-Clause"
] | 1 | 2015-10-26T10:38:13.000Z | 2015-10-26T10:38:13.000Z | apps/admin/jumpscripts/deploy/grid_master.py | Jumpscale/jumpscale6_core | 0502ddc1abab3c37ed982c142d21ea3955d471d3 | [
"BSD-2-Clause"
] | null | null | null | apps/admin/jumpscripts/deploy/grid_master.py | Jumpscale/jumpscale6_core | 0502ddc1abab3c37ed982c142d21ea3955d471d3 | [
"BSD-2-Clause"
] | null | null | null | from JumpScale import j
descr = """
deploy grid node
"""
organization = "jumpscale"
author = "hendrik@vscalers.com"
license = "bsd"
version = "1.0"
category = "deploy.gridnode"
period = 1 # always in sec
startatboot = True
order = 1
enable = True
async = True
log = False
def action(node):
c=node.cuapi
c.r... | 32.222222 | 159 | 0.683621 | 167 | 1,160 | 4.724551 | 0.443114 | 0.065906 | 0.121673 | 0.192649 | 0.499366 | 0.400507 | 0.162231 | 0 | 0 | 0 | 0 | 0.01127 | 0.158621 | 1,160 | 35 | 160 | 33.142857 | 0.797131 | 0.125 | 0 | 0 | 0 | 0.037037 | 0.610891 | 0.204951 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.037037 | null | null | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
96a23c28c3ddf1c82cd39beeca5a091095dbaddc | 293 | py | Python | pytorch_toolkit/ote/ote/modules/trainers/__init__.py | fsx950223/training_extensions | b332a3251f13c92e5ed1605cc633a621cee18882 | [
"Apache-2.0"
] | 2 | 2021-01-07T05:09:17.000Z | 2021-10-15T05:13:46.000Z | pytorch_toolkit/ote/ote/modules/trainers/__init__.py | fsx950223/training_extensions | b332a3251f13c92e5ed1605cc633a621cee18882 | [
"Apache-2.0"
] | 9 | 2021-09-08T03:12:59.000Z | 2022-03-12T00:57:19.000Z | pytorch_toolkit/ote/ote/modules/trainers/__init__.py | gtg7784/training_extensions | 1026e6cdf72f40c93911c4bf0b3d08d4dcf0f7c8 | [
"Apache-2.0"
] | null | null | null | from .base import BaseTrainer
from .instance_segmentation import InstanceSegmentationTrainer
from .mmaction import MMActionTrainer
from .mmdetection import MMDetectionTrainer
__all__ = [
'BaseTrainer',
'MMActionTrainer',
'MMDetectionTrainer',
'InstanceSegmentationTrainer',
]
| 24.416667 | 62 | 0.795222 | 22 | 293 | 10.363636 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139932 | 293 | 11 | 63 | 26.636364 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0.242321 | 0.09215 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
96b7cb8471a9eeb02f38d5ba544aa8542ed5ed67 | 85 | py | Python | python_project/functions.py | calvdee/python-vs-code-template | cfed45fa3f97170dc99449662b1b7c3e86615055 | [
"Unlicense",
"MIT"
] | null | null | null | python_project/functions.py | calvdee/python-vs-code-template | cfed45fa3f97170dc99449662b1b7c3e86615055 | [
"Unlicense",
"MIT"
] | null | null | null | python_project/functions.py | calvdee/python-vs-code-template | cfed45fa3f97170dc99449662b1b7c3e86615055 | [
"Unlicense",
"MIT"
] | null | null | null | def run_it(text: str, silent: bool = False) -> None:
if not silent:
print(text) | 28.333333 | 52 | 0.647059 | 14 | 85 | 3.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211765 | 85 | 3 | 53 | 28.333333 | 0.80597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
736d693e5059db36b39b8f887619722b08ba8953 | 282 | py | Python | tinkoff/invest/caching/instrument_date_range_market_data.py | Tinkoff/invest-python | 26ef8cc1e70d144707246e64f29466b4491d4f8c | [
"Apache-2.0"
] | 41 | 2022-01-21T05:38:57.000Z | 2022-03-30T03:54:41.000Z | tinkoff/invest/caching/instrument_date_range_market_data.py | Tinkoff/invest-python | 26ef8cc1e70d144707246e64f29466b4491d4f8c | [
"Apache-2.0"
] | 20 | 2022-01-24T05:46:02.000Z | 2022-03-31T16:54:04.000Z | tinkoff/invest/caching/instrument_date_range_market_data.py | Tinkoff/invest-python | 26ef8cc1e70d144707246e64f29466b4491d4f8c | [
"Apache-2.0"
] | 15 | 2022-01-25T06:53:27.000Z | 2022-03-30T03:49:07.000Z | import dataclasses
from datetime import datetime
from typing import Iterable, Tuple
from tinkoff.invest.schemas import HistoricCandle
@dataclasses.dataclass()
class InstrumentDateRangeData:
date_range: Tuple[datetime, datetime]
historic_candles: Iterable[HistoricCandle]
| 23.5 | 49 | 0.826241 | 30 | 282 | 7.7 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120567 | 282 | 11 | 50 | 25.636364 | 0.931452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.875 | 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 |
73783a3d934c2be8bda6903e6fab5228cdde4781 | 1,232 | py | Python | carpyncho1/carpyncho/management/commands/build.py | carpyncho/yeolde_carpyncho | fba72ebf9d4a3e4e4ea18160310058c6812a0457 | [
"BSD-3-Clause"
] | null | null | null | carpyncho1/carpyncho/management/commands/build.py | carpyncho/yeolde_carpyncho | fba72ebf9d4a3e4e4ea18160310058c6812a0457 | [
"BSD-3-Clause"
] | 2 | 2020-06-05T19:37:26.000Z | 2020-06-05T19:40:38.000Z | carpyncho1/carpyncho/management/commands/build.py | carpyncho/yeolde_carpyncho | fba72ebf9d4a3e4e4ea18160310058c6812a0457 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#==============================================================================
# DOCS
#==============================================================================
"""Move data
"""
#==============================================================================
# IMP... | 26.212766 | 79 | 0.232955 | 52 | 1,232 | 5.25 | 0.75 | 0.043956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000881 | 0.078734 | 1,232 | 46 | 80 | 26.782609 | 0.239648 | 0.70211 | 0 | 0 | 0 | 0 | 0.107872 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.3 | 0 | 0.6 | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
73a54da2be8ecd9db79f9baed5e52ec5fc0dee70 | 257 | py | Python | asteroid/version.py | SupurCalvinHiggins/asteroid | 717266049dc59c15cd4b4b3881c9a2a97a42a8ad | [
"MIT"
] | null | null | null | asteroid/version.py | SupurCalvinHiggins/asteroid | 717266049dc59c15cd4b4b3881c9a2a97a42a8ad | [
"MIT"
] | null | null | null | asteroid/version.py | SupurCalvinHiggins/asteroid | 717266049dc59c15cd4b4b3881c9a2a97a42a8ad | [
"MIT"
] | null | null | null | ##########################################################################################
#
# Asteroid Version
#
# (c) University of Rhode Island
##########################################################################################
VERSION = "0.1.0"
| 28.555556 | 90 | 0.190661 | 11 | 257 | 4.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.066148 | 257 | 8 | 91 | 32.125 | 0.191667 | 0.182879 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
73d742788e41180fdf3d9a5d250bc56d250c3f44 | 200 | py | Python | blog/urls.py | mattastone/weblog | 1f71542aec3123bf14373244cb137fa7b9f6fbfd | [
"MIT"
] | null | null | null | blog/urls.py | mattastone/weblog | 1f71542aec3123bf14373244cb137fa7b9f6fbfd | [
"MIT"
] | null | null | null | blog/urls.py | mattastone/weblog | 1f71542aec3123bf14373244cb137fa7b9f6fbfd | [
"MIT"
] | null | null | null | from django.conf.urls import patterns, url
from django.views.generic import ListView
from .models import Post
urlpatterns = patterns('',
# Index
url('^$', ListView.as_view(model=Post)),
) | 25 | 44 | 0.71 | 26 | 200 | 5.423077 | 0.653846 | 0.141844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165 | 200 | 8 | 45 | 25 | 0.844311 | 0.025 | 0 | 0 | 0 | 0 | 0.010309 | 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 |
73e74c3d278c06d4bd44cc89092b9693a811094f | 747 | py | Python | edeposit/app/fields/periodicity.py | jstavel/edeposit.app.fields | dfdf1f0bc435e2eac1b55ca9e69f3b29f8153e14 | [
"MIT"
] | null | null | null | edeposit/app/fields/periodicity.py | jstavel/edeposit.app.fields | dfdf1f0bc435e2eac1b55ca9e69f3b29f8153e14 | [
"MIT"
] | null | null | null | edeposit/app/fields/periodicity.py | jstavel/edeposit.app.fields | dfdf1f0bc435e2eac1b55ca9e69f3b29f8153e14 | [
"MIT"
] | null | null | null | import zope.component
import zope.interface
import zope.schema.interfaces
from z3c.form import interfaces
from z3c.form.widget import Widget, FieldWidget
from z3c.form.browser import widget
from .interfaces import IPeriodicityWidget
from z3c.form.browser.select import SelectWidget
@zope.interface.implementer_only(I... | 28.730769 | 77 | 0.801874 | 84 | 747 | 7.119048 | 0.452381 | 0.046823 | 0.073579 | 0.070234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006061 | 0.116466 | 747 | 25 | 78 | 29.88 | 0.9 | 0.05087 | 0 | 0 | 0 | 0 | 0.025605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.470588 | 0.117647 | 0.823529 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
73f27f62c8669c6df9ac0cf4648a2bb3799bc485 | 274 | py | Python | service/test_HelloWorldService.py | RobUSC/python_api_demo | 8f6bda33fc694edfc8b47c7aca0895038f65e9b3 | [
"Apache-2.0"
] | null | null | null | service/test_HelloWorldService.py | RobUSC/python_api_demo | 8f6bda33fc694edfc8b47c7aca0895038f65e9b3 | [
"Apache-2.0"
] | null | null | null | service/test_HelloWorldService.py | RobUSC/python_api_demo | 8f6bda33fc694edfc8b47c7aca0895038f65e9b3 | [
"Apache-2.0"
] | null | null | null | from unittest import TestCase
from service.HelloWorldService import hello_world
import logging
class TestHelloWorldService(TestCase):
def test_hello_world(self):
logging.info('Hello World Test')
self.assertEqual('Hello World!', hello_world())
| 27.4 | 56 | 0.737226 | 31 | 274 | 6.387097 | 0.516129 | 0.252525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186131 | 274 | 9 | 57 | 30.444444 | 0.887892 | 0 | 0 | 0 | 0 | 0 | 0.10566 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.714286 | 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 |
fb4b30df54a15b3bce9cd9c17ae3065a355a8d99 | 197 | py | Python | picamera2/encoders/mjpeg_encoder.py | IanTBlack/picamera2 | 4d31a56cdb0d8360e71927e754fc6bef50bec360 | [
"BSD-2-Clause"
] | 71 | 2022-02-15T14:24:34.000Z | 2022-03-29T16:36:46.000Z | picamera2/encoders/mjpeg_encoder.py | IanTBlack/picamera2 | 4d31a56cdb0d8360e71927e754fc6bef50bec360 | [
"BSD-2-Clause"
] | 37 | 2022-02-16T12:35:45.000Z | 2022-03-31T13:18:42.000Z | picamera2/encoders/mjpeg_encoder.py | IanTBlack/picamera2 | 4d31a56cdb0d8360e71927e754fc6bef50bec360 | [
"BSD-2-Clause"
] | 15 | 2022-02-16T12:12:57.000Z | 2022-03-31T15:17:58.000Z | from picamera2.encoders.v4l2_encoder import V4L2Encoder
from v4l2 import *
class MJPEGEncoder(V4L2Encoder):
def __init__(self, bitrate):
super().__init__(bitrate, V4L2_PIX_FMT_MJPEG)
| 24.625 | 55 | 0.771574 | 24 | 197 | 5.833333 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065476 | 0.147208 | 197 | 7 | 56 | 28.142857 | 0.767857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
fb4cadc5c44fbc4c1e1dae7b43f28411c2c5b859 | 188 | pyde | Python | Second_sketch/Second_sketch.pyde | xlr91/Processing-for-Python | bcc311c43a3d6cfecb34ac983f9f344264ed3dfa | [
"MIT"
] | null | null | null | Second_sketch/Second_sketch.pyde | xlr91/Processing-for-Python | bcc311c43a3d6cfecb34ac983f9f344264ed3dfa | [
"MIT"
] | null | null | null | Second_sketch/Second_sketch.pyde | xlr91/Processing-for-Python | bcc311c43a3d6cfecb34ac983f9f344264ed3dfa | [
"MIT"
] | null | null | null | def setup():
size(400,400)
stroke(225)
background(192, 64, 0)
def draw():
line(200, 200, mouseX, mouseY)
def mousePressed():
saveFrame("Output.png")
| 15.666667 | 34 | 0.558511 | 23 | 188 | 4.565217 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.292553 | 188 | 11 | 35 | 17.090909 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0.053191 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | true | 0 | 0 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fb58a1268a1a813a15c43f8f64bd54c7a210250a | 218 | py | Python | face_rec/api/urls.py | dilawarm/Facial-Recognition | 454b4fedfacac7abc59c20520858be69445b07b4 | [
"MIT"
] | 3 | 2020-03-17T18:08:12.000Z | 2021-03-24T09:55:49.000Z | face_rec/api/urls.py | dilawarm/Facial-Recognition | 454b4fedfacac7abc59c20520858be69445b07b4 | [
"MIT"
] | 12 | 2020-03-31T11:48:12.000Z | 2022-02-27T01:23:37.000Z | face_rec/api/urls.py | dilawarm/Facial-Recognition | 454b4fedfacac7abc59c20520858be69445b07b4 | [
"MIT"
] | 1 | 2020-04-02T10:54:30.000Z | 2020-04-02T10:54:30.000Z | from django.urls import path
from . import views
urlpatterns = [
path('identities/', views.IdentityView.as_view(), name= 'identites_list'),
path('uploads/', views.UploadView.as_view(), name= 'uploads_list'),
] | 31.142857 | 78 | 0.711009 | 27 | 218 | 5.592593 | 0.592593 | 0.07947 | 0.13245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12844 | 218 | 7 | 79 | 31.142857 | 0.794737 | 0 | 0 | 0 | 0 | 0 | 0.205479 | 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 |
fb592d1c2492515dbe5fc23251f73856217107fe | 246 | py | Python | master/teachkids-master/teachkids-master/appendixC/SuperSpiral.py | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 4 | 2018-09-07T15:35:24.000Z | 2019-03-27T09:48:12.000Z | master/teachkids-master/teachkids-master/appendixC/SuperSpiral.py | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 371 | 2020-03-04T21:51:56.000Z | 2022-03-31T20:59:11.000Z | master/teachkids-master/teachkids-master/appendixC/SuperSpiral.py | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 3 | 2019-06-18T19:57:17.000Z | 2020-11-06T03:55:08.000Z | # SuperSpiral.py
import colorspiral
import random
for n in range(30):
sides = random.randint(3,6)
size = random.randint(25,75)
x = random.randint(-300,300)
y = random.randint(-300,300)
colorspiral.cspiral(sides, size, x, y)
| 20.5 | 42 | 0.670732 | 37 | 246 | 4.459459 | 0.567568 | 0.315152 | 0.193939 | 0.230303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10101 | 0.195122 | 246 | 11 | 43 | 22.363636 | 0.732323 | 0.056911 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fb6ad56f86106e574b543154b476949040974f99 | 914 | py | Python | rpython/translator/cli/test/test_streamio.py | kantai/passe-pypy-taint-tracking | b60a3663f8fe89892dc182c8497aab97e2e75d69 | [
"MIT"
] | 2 | 2016-07-06T23:30:20.000Z | 2017-05-30T15:59:31.000Z | rpython/translator/cli/test/test_streamio.py | kantai/passe-pypy-taint-tracking | b60a3663f8fe89892dc182c8497aab97e2e75d69 | [
"MIT"
] | null | null | null | rpython/translator/cli/test/test_streamio.py | kantai/passe-pypy-taint-tracking | b60a3663f8fe89892dc182c8497aab97e2e75d69 | [
"MIT"
] | 2 | 2020-07-09T08:14:22.000Z | 2021-01-15T18:01:25.000Z | import py
from rpython.translator.cli.test.runtest import CliTest
from rpython.rlib.test.test_streamio import BaseTestBufferingInputStreamTests,\
BaseTestBufferingOutputStream, BaseTestLineBufferingOutputStream,\
BaseTestCRLFFilter, BaseTestBufferingInputOutputStreamTests,\
BaseTestTextInputFilter, BaseT... | 31.517241 | 92 | 0.847921 | 59 | 914 | 13.118644 | 0.457627 | 0.069767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103939 | 914 | 28 | 93 | 32.642857 | 0.945055 | 0 | 0 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.35 | 0.15 | 0 | 0.5 | 0 | 0 | 0 | 1 | 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 |
fb6e296e20d5b0c40d19b8b956475490658ffdaa | 216 | py | Python | plex_trakt_sync/path.py | wandabastyle/PlexTraktSync | be5034df2e4383f2345b9607bbd889f277af8988 | [
"MIT"
] | null | null | null | plex_trakt_sync/path.py | wandabastyle/PlexTraktSync | be5034df2e4383f2345b9607bbd889f277af8988 | [
"MIT"
] | null | null | null | plex_trakt_sync/path.py | wandabastyle/PlexTraktSync | be5034df2e4383f2345b9607bbd889f277af8988 | [
"MIT"
] | null | null | null | from os.path import dirname, abspath, join
app_path = dirname(dirname(abspath(__file__)))
config_file = join(app_path, "config.json")
pytrakt_file = join(app_path, ".pytrakt.json")
env_file = join(app_path, ".env")
| 30.857143 | 46 | 0.75 | 33 | 216 | 4.575758 | 0.393939 | 0.18543 | 0.291391 | 0.298013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101852 | 216 | 6 | 47 | 36 | 0.778351 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 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 |
fbaebf859ae33a737352ad009dcec50014741b47 | 3,192 | py | Python | utils/scripts/OOOlevelGen/src/levels/Chained_Reaction.py | fullscreennl/monkeyswipe | c56192e202674dd5ab18023f6cf14cf51e95fbd0 | [
"MIT"
] | null | null | null | utils/scripts/OOOlevelGen/src/levels/Chained_Reaction.py | fullscreennl/monkeyswipe | c56192e202674dd5ab18023f6cf14cf51e95fbd0 | [
"MIT"
] | null | null | null | utils/scripts/OOOlevelGen/src/levels/Chained_Reaction.py | fullscreennl/monkeyswipe | c56192e202674dd5ab18023f6cf14cf51e95fbd0 | [
"MIT"
] | null | null | null | import LevelBuilder
from sprites import *
def render(name,bg):
lb = LevelBuilder.LevelBuilder(name+".plist",background=bg)
lb.addObject(Enemy.EnemySprite(x=79, y=121,width=32,height=32,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('EnemyEnd'))
lb.addObject(Beam.BeamSprite(x=396, y=122,wid... | 3,192 | 3,192 | 0.734962 | 519 | 3,192 | 4.493256 | 0.183044 | 0.113208 | 0.087479 | 0.092624 | 0.767581 | 0.596913 | 0.574614 | 0.574614 | 0.540738 | 0.540738 | 0 | 0.117203 | 0.045739 | 3,192 | 1 | 3,192 | 3,192 | 0.648391 | 0 | 0 | 0 | 0 | 0 | 0.090197 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.068966 | 0 | 0.103448 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fbc385514eb14f09be614cfd62e786e59ff132fb | 881 | py | Python | src/AuShadha/AuShadha/app_template/dijit_widgets/tree.py | GosthMan/AuShadha | 3ab48825a0dba19bf880b6ac6141ab7a6adf1f3e | [
"PostgreSQL"
] | 46 | 2015-03-04T14:19:47.000Z | 2021-12-09T02:58:46.000Z | src/AuShadha/AuShadha/app_template/dijit_widgets/tree.py | aytida23/AuShadha | 3ab48825a0dba19bf880b6ac6141ab7a6adf1f3e | [
"PostgreSQL"
] | 2 | 2015-06-05T10:29:04.000Z | 2015-12-06T16:54:10.000Z | src/AuShadha/AuShadha/app_template/dijit_widgets/tree.py | aytida23/AuShadha | 3ab48825a0dba19bf880b6ac6141ab7a6adf1f3e | [
"PostgreSQL"
] | 24 | 2015-03-23T01:38:11.000Z | 2022-01-24T16:23:42.000Z | # General Module imports-----------------------------------
from datetime import datetime, date, time
import yaml
# General Django Imports----------------------------------
from django.shortcuts import render_to_response
from django.http import Http404, HttpResponse, HttpResponseRedirect
from django.template import Re... | 30.37931 | 67 | 0.725312 | 103 | 881 | 6.126214 | 0.533981 | 0.110935 | 0.057052 | 0.07607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003866 | 0.119183 | 881 | 29 | 68 | 30.37931 | 0.809278 | 0.195233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.066667 | 0.866667 | null | null | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
fbdd9c5b271afdf42344c2e7fc189ec7e6cceebe | 279 | py | Python | Chapter 1/01/recipe1_b.py | robert0714/Python-Testing-Cookbook-Second-Edition | c7c5d59e42e9ca2874faf12a6dd201736a45ca83 | [
"MIT"
] | null | null | null | Chapter 1/01/recipe1_b.py | robert0714/Python-Testing-Cookbook-Second-Edition | c7c5d59e42e9ca2874faf12a6dd201736a45ca83 | [
"MIT"
] | null | null | null | Chapter 1/01/recipe1_b.py | robert0714/Python-Testing-Cookbook-Second-Edition | c7c5d59e42e9ca2874faf12a6dd201736a45ca83 | [
"MIT"
] | null | null | null | import unittest
class BadTest(unittest.TestCase):
def test_no_roman_numeral(self):
value = RomanNumeralConverter(None)
try:
value.convert_to_decimal()
self.fail("Expected a TypeError")
except TypeError, e:
pass
| 23.25 | 45 | 0.616487 | 29 | 279 | 5.758621 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.308244 | 279 | 11 | 46 | 25.363636 | 0.865285 | 0 | 0 | 0 | 0 | 0 | 0.071685 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.111111 | 0.111111 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
836dfdf727a3d8e33fd1e909a0c8829697964cc0 | 286 | py | Python | raspy/devices/fireplaces/__init__.py | cyrusbuilt/RasPy | 1e34840cc90ea7f19317e881162209d3d819eb09 | [
"MIT"
] | null | null | null | raspy/devices/fireplaces/__init__.py | cyrusbuilt/RasPy | 1e34840cc90ea7f19317e881162209d3d819eb09 | [
"MIT"
] | null | null | null | raspy/devices/fireplaces/__init__.py | cyrusbuilt/RasPy | 1e34840cc90ea7f19317e881162209d3d819eb09 | [
"MIT"
] | null | null | null | """This package contains modules for working with Fireplace devices."""
__all__ = (
"fireplace",
"fireplace_device",
"fireplace_light_exception",
"fireplace_pilot_light_event",
"fireplace_state",
"fireplace_state_change_event",
"fireplace_timeout_event"
)
| 22 | 71 | 0.72028 | 29 | 286 | 6.551724 | 0.62069 | 0.147368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174825 | 286 | 12 | 72 | 23.833333 | 0.805085 | 0.227273 | 0 | 0 | 0 | 0 | 0.665116 | 0.47907 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8394e6b9f60baa769b52b2c904b3c4a6128cdbdc | 1,015 | py | Python | tests/extensions/tabular/test_utilities.py | yacchin1205/RDM-modular-file-renderer | 5bd18175a681d21e7be7fe0238132335a1cd8ded | [
"Apache-2.0"
] | 36 | 2015-08-31T20:24:22.000Z | 2021-12-17T17:02:44.000Z | tests/extensions/tabular/test_utilities.py | yacchin1205/RDM-modular-file-renderer | 5bd18175a681d21e7be7fe0238132335a1cd8ded | [
"Apache-2.0"
] | 190 | 2015-01-02T06:22:01.000Z | 2022-01-19T11:27:03.000Z | tests/extensions/tabular/test_utilities.py | yacchin1205/RDM-modular-file-renderer | 5bd18175a681d21e7be7fe0238132335a1cd8ded | [
"Apache-2.0"
] | 47 | 2015-01-27T15:45:22.000Z | 2021-01-27T22:43:03.000Z | from mfr.extensions.tabular import utilities
class TestTabularUtilities:
def test_header_population_returns_list_of_dicts(self):
fake_headers = ['one', 'two', 'three']
populated = utilities.header_population(fake_headers)
assert type(populated) == list
assert type(populated[0]) ==... | 37.592593 | 79 | 0.625616 | 121 | 1,015 | 5.024793 | 0.297521 | 0.098684 | 0.1875 | 0.113487 | 0.689145 | 0.689145 | 0.689145 | 0.689145 | 0.689145 | 0.689145 | 0 | 0.015326 | 0.228571 | 1,015 | 26 | 80 | 39.038462 | 0.761175 | 0 | 0 | 0.47619 | 0 | 0 | 0.044335 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.142857 | false | 0 | 0.047619 | 0 | 0.238095 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 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 |
83bc5afe4289b07f3f0a2cb66572df29c5d68a33 | 640 | py | Python | apps/User/validators/CpfValidator.py | Eduardo-RFarias/DjangoReactBackend | b8183ea4b24be5c0aa557ffbc79fc23e0777b8ad | [
"MIT"
] | null | null | null | apps/User/validators/CpfValidator.py | Eduardo-RFarias/DjangoReactBackend | b8183ea4b24be5c0aa557ffbc79fc23e0777b8ad | [
"MIT"
] | null | null | null | apps/User/validators/CpfValidator.py | Eduardo-RFarias/DjangoReactBackend | b8183ea4b24be5c0aa557ffbc79fc23e0777b8ad | [
"MIT"
] | null | null | null | from django.core.exceptions import ValidationError
from django.utils.deconstruct import deconstructible
from validate_docbr import CPF
@deconstructible
class CpfValidator:
def __init__(self):
self.cpf_validator = CPF()
def __call__(self, cpf):
if not (self.is_cleared(cpf) and self.cpf_validat... | 27.826087 | 75 | 0.710938 | 81 | 640 | 5.333333 | 0.432099 | 0.113426 | 0.148148 | 0.101852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201563 | 640 | 22 | 76 | 29.090909 | 0.845401 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0.1875 | 0.1875 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
83f926f4201a554648e2af492403635ccba9d8b7 | 283 | py | Python | asteroids/sprites/__init__.py | rohinivsenthil/Asteroids | 75baf2c65515002c72088695eda54c66bc963eb9 | [
"MIT"
] | 8 | 2019-05-25T19:11:46.000Z | 2019-07-04T14:59:20.000Z | asteroids/sprites/__init__.py | rohinivsenthil/Asteroids | 75baf2c65515002c72088695eda54c66bc963eb9 | [
"MIT"
] | null | null | null | asteroids/sprites/__init__.py | rohinivsenthil/Asteroids | 75baf2c65515002c72088695eda54c66bc963eb9 | [
"MIT"
] | null | null | null | from .asteroid import Asteroid
from .bullet import AlternativeBullet, Bullet
from .powerup import Powerup
from .spaceship import AlternativeSpaceship, Spaceship
__all__ = [
"AlternativeBullet", "AlternativeSpaceship", "Asteroid", "Bullet",
"Spaceship", "Powerup"
]
| 28.3 | 71 | 0.745583 | 25 | 283 | 8.28 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162544 | 283 | 9 | 72 | 31.444444 | 0.873418 | 0 | 0 | 0 | 0 | 0 | 0.244526 | 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 |
83fa48df15b28b6a67a30f4363419f669b269639 | 470 | py | Python | data_structures/test_queue.py | jmcguire/learning | acdb5e420d60dc4dd816e124c59f99c17310002b | [
"MIT"
] | null | null | null | data_structures/test_queue.py | jmcguire/learning | acdb5e420d60dc4dd816e124c59f99c17310002b | [
"MIT"
] | null | null | null | data_structures/test_queue.py | jmcguire/learning | acdb5e420d60dc4dd816e124c59f99c17310002b | [
"MIT"
] | null | null | null | from queue import Queue
q = Queue()
q.push_e('q')
print "queue size:", q.size
print
n = q.shift()
print "shifted off the letter", n.e
print "queue size:", q.size
print
q.push_e('w')
q.push_e('e')
q.push_e('r')
print "added three elements, queue size:", q.size
print
q.push_e('t')
q.shift()
print "added and shifted a... | 16.206897 | 57 | 0.66383 | 92 | 470 | 3.336957 | 0.304348 | 0.09772 | 0.09772 | 0.228013 | 0.596091 | 0.534202 | 0.456026 | 0.456026 | 0.338762 | 0.338762 | 0 | 0.002558 | 0.168085 | 470 | 28 | 58 | 16.785714 | 0.782609 | 0 | 0 | 0.5 | 0 | 0 | 0.332623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.045455 | null | null | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
83fb40a3261c47f2ddcbf394a0bf2cb0f6cb4eea | 14,639 | py | Python | league/util.py | neeljpatel/wolveff2 | db4f8804c70b1f745382f45a95dae13092298f70 | [
"MIT"
] | null | null | null | league/util.py | neeljpatel/wolveff2 | db4f8804c70b1f745382f45a95dae13092298f70 | [
"MIT"
] | null | null | null | league/util.py | neeljpatel/wolveff2 | db4f8804c70b1f745382f45a95dae13092298f70 | [
"MIT"
] | null | null | null | import json
_players = '''[{"Player": "Adam Vinatieri", "Bye": 10, "Number": 166, "Pos": "K", "Team": "IND"}, {"Player": "Mike Evans", "Bye": 7, "Number": 134, "Pos": "WR", "Team": "TB"}, {"Player": "Steve Smith", "Bye": 11, "Number": 133, "Pos": "WR", "Team": "BAL"}, {"Player": "Dwayne Bowe", "Bye": 6, "Number": 132,... | 443.606061 | 13,789 | 0.518956 | 1,986 | 14,639 | 3.820745 | 0.276435 | 0.039536 | 0.071165 | 0.004744 | 0.233658 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051036 | 0.146048 | 14,639 | 32 | 13,790 | 457.46875 | 0.555956 | 0 | 0 | 0 | 0 | 0.034483 | 0.947811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0 | 0.068966 | 0 | 0.137931 | 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 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f7b0bee8b217ad0896eb8e6ad7858aaa3b73c1cc | 1,094 | py | Python | autocoding/util.py | badgerloop-software/pod-embedded-beta | de0af5db70a8b7b5f9bd5c866d62ea11740adf96 | [
"MIT"
] | 5 | 2021-06-19T22:03:13.000Z | 2021-12-21T23:35:40.000Z | autocoding/util.py | badgerloop-software/pod-embedded-beta | de0af5db70a8b7b5f9bd5c866d62ea11740adf96 | [
"MIT"
] | 7 | 2021-07-13T00:15:40.000Z | 2022-01-17T23:12:21.000Z | autocoding/util.py | badgerloop-software/sc1-main-io | 8af95aa5facc6f8366917695664cfab39b107733 | [
"MIT"
] | 1 | 2022-02-19T00:01:04.000Z | 2022-02-19T00:01:04.000Z | # Generates comments with the specified indentation and wrapping-length
def generateComment(comment, length=100, indentation=""):
out = ""
for commentChunk in [
comment[i : i + length] for i in range(0, len(comment), length)
]:
out += indentation + "// " + commentChunk + "\n"
return out
... | 32.176471 | 83 | 0.667276 | 130 | 1,094 | 5.615385 | 0.438462 | 0.076712 | 0.057534 | 0.065753 | 0.128767 | 0.128767 | 0.128767 | 0.128767 | 0 | 0 | 0 | 0.006834 | 0.197441 | 1,094 | 33 | 84 | 33.151515 | 0.824601 | 0.169104 | 0 | 0 | 1 | 0 | 0.037569 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0.2 | 0.65 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
f7c13a440ad159b49ae27a2fcc9f30a727c8f1fd | 407 | py | Python | tests/test_multiples_of_3_or_5.py | alexpparker/cote-katas | fc9180c7a2caac2a59b081aa0092f565b84759a6 | [
"MIT"
] | null | null | null | tests/test_multiples_of_3_or_5.py | alexpparker/cote-katas | fc9180c7a2caac2a59b081aa0092f565b84759a6 | [
"MIT"
] | null | null | null | tests/test_multiples_of_3_or_5.py | alexpparker/cote-katas | fc9180c7a2caac2a59b081aa0092f565b84759a6 | [
"MIT"
] | null | null | null | """Tests for multiples of 3 or 5 code kata"""
import pytest
PARAMS_TABLE = [
(4, 3),
(10, 23),
(13, 45),
(0, 0),
(3, 0),
(6, 8)
]
@pytest.mark.parametrize("n, result", PARAMS_TABLE)
def test_multiples_of_3_or_5(n, result):
"""Testing the multiples of 3 or 5 kata"""
from multiples_of_3... | 21.421053 | 60 | 0.648649 | 71 | 407 | 3.422535 | 0.450704 | 0.271605 | 0.296296 | 0.345679 | 0.403292 | 0.156379 | 0 | 0 | 0 | 0 | 0 | 0.087774 | 0.216216 | 407 | 18 | 61 | 22.611111 | 0.673981 | 0.186732 | 0 | 0 | 0 | 0 | 0.028125 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.076923 | false | 0 | 0.153846 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f7c65563fe3331b870bf4041e30e51bb03076489 | 235 | py | Python | populus/utils/six/__init__.py | mandarvaze/populus | 4577bba67f6cba3c4800d250f2a228562a5d9a8f | [
"MIT"
] | 1 | 2022-03-14T03:35:17.000Z | 2022-03-14T03:35:17.000Z | populus/utils/six/__init__.py | mandarvaze/populus | 4577bba67f6cba3c4800d250f2a228562a5d9a8f | [
"MIT"
] | null | null | null | populus/utils/six/__init__.py | mandarvaze/populus | 4577bba67f6cba3c4800d250f2a228562a5d9a8f | [
"MIT"
] | 1 | 2021-12-06T04:03:32.000Z | 2021-12-06T04:03:32.000Z | import sys
if sys.version_info.major == 2:
from .six_py2 import (
queue,
configparser,
parse,
)
else:
from .six_py3 import ( # noqa: #401
queue,
configparser,
parse,
)
| 14.6875 | 40 | 0.514894 | 25 | 235 | 4.72 | 0.68 | 0.118644 | 0.372881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 0.395745 | 235 | 15 | 41 | 15.666667 | 0.788732 | 0.038298 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.230769 | 0 | 0.230769 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f7c9cb0b6293d074c32ee9bb6bdda47bec60715e | 558 | py | Python | electrum_gui/common/secret/encrypt.py | BixinKey/electrum | f5de4e74e313b9b569f13ba6ab9142a38bf095f2 | [
"MIT"
] | 12 | 2020-11-12T08:53:05.000Z | 2021-07-06T17:30:39.000Z | electrum_gui/common/secret/encrypt.py | liyanhrxy/electrum | 107608ef201ff1d20d2f6091c257b1ceff9b7362 | [
"MIT"
] | 209 | 2020-09-23T06:58:18.000Z | 2021-11-18T11:25:41.000Z | electrum_gui/common/secret/encrypt.py | liyanhrxy/electrum | 107608ef201ff1d20d2f6091c257b1ceff9b7362 | [
"MIT"
] | 19 | 2020-10-13T11:42:26.000Z | 2022-02-06T01:26:34.000Z | import electrum.crypto
import electrum.util
from electrum_gui.common.basic.functional.require import require
from electrum_gui.common.secret import exceptions
def encrypt_data(password: str, data: str) -> str:
require(bool(password))
return electrum.crypto.pw_encode(data, password, version=1)
def decrypt_da... | 31 | 67 | 0.752688 | 74 | 558 | 5.594595 | 0.418919 | 0.115942 | 0.072464 | 0.101449 | 0.21256 | 0.21256 | 0.21256 | 0.21256 | 0.21256 | 0 | 0 | 0.004211 | 0.148746 | 558 | 17 | 68 | 32.823529 | 0.867368 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0.615385 | 0.307692 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
f7d610dbc51208f08825c4d0f62d5d937988d328 | 442 | py | Python | algorithms/771. Jewels and Stones.py | woozway/py3-leetcode | e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf | [
"MIT"
] | 1 | 2020-12-02T13:54:30.000Z | 2020-12-02T13:54:30.000Z | algorithms/771. Jewels and Stones.py | woozway/py3-leetcode | e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf | [
"MIT"
] | null | null | null | algorithms/771. Jewels and Stones.py | woozway/py3-leetcode | e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf | [
"MIT"
] | null | null | null | """
1. Clarification
2. Possible solutions
- Brute force
- HashSet
3. Coding
4. Tests
"""
# # T=O(mn), S=O(1)
# class Solution:
# def numJewelsInStones(self, jewels: str, stones: str) -> int:
# return sum(s in jewels for s in stones)
# T=O(m+n), S=O(m)
class Solution:
def numJewelsInStones(s... | 20.090909 | 67 | 0.617647 | 66 | 442 | 4.136364 | 0.5 | 0.043956 | 0.117216 | 0.241758 | 0.424908 | 0.424908 | 0.424908 | 0.424908 | 0.424908 | 0.424908 | 0 | 0.015015 | 0.246606 | 442 | 21 | 68 | 21.047619 | 0.804805 | 0.574661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f7edbfecf993619f42dc4c7fa1d2ef2c1b11db7d | 235 | py | Python | 01_Language/01_Functions/python/date_diff.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 3 | 2020-06-28T07:42:51.000Z | 2021-01-15T10:32:11.000Z | 01_Language/01_Functions/python/date_diff.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 9 | 2021-03-10T22:45:40.000Z | 2022-02-27T06:53:20.000Z | 01_Language/01_Functions/python/date_diff.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 1 | 2021-01-15T10:51:24.000Z | 2021-01-15T10:51:24.000Z | # coding: utf-8
import datetime
if __name__ == '__main__':
d1 = datetime.datetime(2009, 10, 11)
d2 = datetime.datetime(2009, 10, 13)
print((d2 - d1).days)
print((d2 - d1).seconds)
print((d2 - d1).total_seconds())
| 21.363636 | 40 | 0.617021 | 33 | 235 | 4.121212 | 0.545455 | 0.154412 | 0.198529 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 0.212766 | 235 | 10 | 41 | 23.5 | 0.6 | 0.055319 | 0 | 0 | 0 | 0 | 0.036364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.428571 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
790cd558e9b23c59ef942ba9bd925d54f00ffdf7 | 973 | py | Python | tests/test_simple.py | pooya/disco | e03a337b3b20e191459c74a367b9e89e873f71ff | [
"BSD-3-Clause"
] | 786 | 2015-01-01T12:35:40.000Z | 2022-03-19T04:39:22.000Z | tests/test_simple.py | pooya/disco | e03a337b3b20e191459c74a367b9e89e873f71ff | [
"BSD-3-Clause"
] | 51 | 2015-01-19T20:07:01.000Z | 2019-10-19T21:03:06.000Z | tests/test_simple.py | pooya/disco | e03a337b3b20e191459c74a367b9e89e873f71ff | [
"BSD-3-Clause"
] | 122 | 2015-01-05T18:16:03.000Z | 2021-07-10T12:35:22.000Z | from disco.test import TestCase, TestJob
from disco.compat import bytes_to_str
class SimpleJob(TestJob):
@staticmethod
def map(e, params):
yield int(e), (bytes_to_str(e)).strip()
@staticmethod
def reduce(iter, out, params):
for k, v in sorted(iter):
out.add(k, v)
class Sim... | 27.8 | 76 | 0.634121 | 138 | 973 | 4.413043 | 0.434783 | 0.045977 | 0.032841 | 0.082102 | 0.229885 | 0.229885 | 0.229885 | 0.229885 | 0.229885 | 0.229885 | 0 | 0.027963 | 0.22816 | 973 | 34 | 77 | 28.617647 | 0.782956 | 0 | 0 | 0.192308 | 0 | 0 | 0.002056 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.269231 | false | 0 | 0.076923 | 0.115385 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7915694a458928aab5628914e69bbfe146665309 | 122,691 | py | Python | pysnmp-with-texts/CISCO-EVC-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/CISCO-EVC-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/CISCO-EVC-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module CISCO-EVC-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-EVC-MIB
# Produced by pysmi-0.3.4 at Wed May 1 11:57:43 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 201... | 232.810247 | 7,344 | 0.79058 | 15,488 | 122,691 | 6.26259 | 0.074703 | 0.033651 | 0.05889 | 0.006351 | 0.559503 | 0.459467 | 0.421826 | 0.392402 | 0.375844 | 0.363184 | 0 | 0.035648 | 0.111288 | 122,691 | 526 | 7,345 | 233.252852 | 0.853912 | 0.002608 | 0 | 0.051181 | 0 | 0.228346 | 0.582509 | 0.07459 | 0 | 0 | 0.000343 | 0 | 0 | 1 | 0 | false | 0.009843 | 0.021654 | 0 | 0.084646 | 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 |
7927eb8d132eac729553bc0a2a2c20798b3ee90f | 1,357 | py | Python | src/accounts/migrations/0003_auto_20191222_2327.py | TolgaKara/prodai | a858d39226a072a2a52513d942dd046bb3787da8 | [
"Apache-2.0"
] | null | null | null | src/accounts/migrations/0003_auto_20191222_2327.py | TolgaKara/prodai | a858d39226a072a2a52513d942dd046bb3787da8 | [
"Apache-2.0"
] | 7 | 2020-10-09T09:24:28.000Z | 2022-03-12T00:14:07.000Z | src/accounts/migrations/0003_auto_20191222_2327.py | TolgaKara/prodai | a858d39226a072a2a52513d942dd046bb3787da8 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.2.6 on 2019-12-22 22:27
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('accounts', '0002_authprof... | 38.771429 | 118 | 0.599853 | 131 | 1,357 | 6.122137 | 0.503817 | 0.149626 | 0.219451 | 0.259352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019038 | 0.264554 | 1,357 | 34 | 119 | 39.911765 | 0.784569 | 0.033161 | 0 | 0.068966 | 1 | 0 | 0.101527 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.103448 | 0 | 0.206897 | 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 |
792d4a94d80e71381fe7c88839af46fb084e40e5 | 316 | py | Python | org.cohorte.eclipse.runner.basic/files/test/pyclass2.py | isandlaTech/cohorte-devtools | 9ba9021369188d2f0ad5c845ef242fd5a7097b57 | [
"Apache-2.0"
] | 1 | 2017-03-04T14:37:15.000Z | 2017-03-04T14:37:15.000Z | org.cohorte.eclipse.runner.basic/files/test/pyclass2.py | isandlaTech/cohorte-devtools | 9ba9021369188d2f0ad5c845ef242fd5a7097b57 | [
"Apache-2.0"
] | 4 | 2017-08-21T08:17:14.000Z | 2018-03-02T13:51:43.000Z | org.cohorte.eclipse.runner.basic/files/test/pyclass2.py | isandlaTech/cohorte-devtools | 9ba9021369188d2f0ad5c845ef242fd5a7097b57 | [
"Apache-2.0"
] | null | null | null |
import pyclass
class TestClassWithObject(object):
def __init__(self, str):
self.str = str
def method(self):
return self.str
def set(self, testClass):
self.test = testClass
def get(self):
return self.test;
| 14.363636 | 34 | 0.496835 | 31 | 316 | 4.935484 | 0.483871 | 0.137255 | 0.183007 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427215 | 316 | 21 | 35 | 15.047619 | 0.845304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
f70a4cfab56b4aac1796dc8a0daf25899daa7761 | 589 | py | Python | TianJiPlanBackend/core/utils.py | weridolin/tianji-plan | b98a49d92ee2a365095f9e15f4231f5178aca1c0 | [
"Apache-2.0"
] | null | null | null | TianJiPlanBackend/core/utils.py | weridolin/tianji-plan | b98a49d92ee2a365095f9e15f4231f5178aca1c0 | [
"Apache-2.0"
] | null | null | null | TianJiPlanBackend/core/utils.py | weridolin/tianji-plan | b98a49d92ee2a365095f9e15f4231f5178aca1c0 | [
"Apache-2.0"
] | 1 | 2021-12-07T11:45:13.000Z | 2021-12-07T11:45:13.000Z | '''
Description:
email: 359066432@qq.com
Author: lhj
software: vscode
Date: 2021-09-19 17:28:48
platform: windows 10
LastEditors: lhj
LastEditTime: 2021-09-20 20:01:05
'''
from dataclasses import dataclass
@dataclass
class UserBriefInfo(object):
user_id:str
user_name:str
@classmethod
def from_user(c... | 19.633333 | 59 | 0.704584 | 84 | 589 | 4.809524 | 0.571429 | 0.079208 | 0.049505 | 0.069307 | 0.148515 | 0.148515 | 0.148515 | 0.148515 | 0 | 0 | 0 | 0.08142 | 0.186757 | 589 | 30 | 60 | 19.633333 | 0.762004 | 0.278438 | 0 | 0.142857 | 0 | 0 | 0.143541 | 0.143541 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.071429 | 0.214286 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f72d187a0bb36150ddc8d414250d5ed8a96e26c9 | 48,395 | py | Python | gilbert.py | Erebyel/Gilbert | b7206278cae8c4686de9b87f042fbda42b5fe324 | [
"MIT"
] | null | null | null | gilbert.py | Erebyel/Gilbert | b7206278cae8c4686de9b87f042fbda42b5fe324 | [
"MIT"
] | null | null | null | gilbert.py | Erebyel/Gilbert | b7206278cae8c4686de9b87f042fbda42b5fe324 | [
"MIT"
] | null | null | null |
##---------------------- Carga de bibliotecas
from pandas import DataFrame
import streamlit as st
import numpy as np
##---------------------- Base de datos
frase = DataFrame({'artículo': ['El', 'El', 'El', 'La', 'El', 'La', 'El', 'El', 'La', 'El', 'La', 'El', 'La', 'La', 'El', 'La', 'La', 'El', 'La', 'El', 'El', 'El'... | 439.954545 | 39,817 | 0.638351 | 5,538 | 48,395 | 5.58541 | 0.557602 | 0.030907 | 0.026574 | 0.020173 | 0.102742 | 0.095952 | 0.086512 | 0.084055 | 0.081598 | 0.079303 | 0 | 0.000984 | 0.118173 | 48,395 | 109 | 39,818 | 443.990826 | 0.722795 | 0.021779 | 0 | 0.166667 | 0 | 0.166667 | 0.644492 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069444 | false | 0 | 0.069444 | 0 | 0.263889 | 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 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f72e51b8b2347bbee5b69c71f604e4985594661d | 541 | py | Python | zmodulo/plot/text/text.py | aaruff/Z-Modulo | 53ae0b1e07c2b13cb08f7d803623010f508ba1b7 | [
"AFL-3.0"
] | 1 | 2019-03-24T03:12:28.000Z | 2019-03-24T03:12:28.000Z | zmodulo/plot/text/text.py | aaruff/Z-Modulo | 53ae0b1e07c2b13cb08f7d803623010f508ba1b7 | [
"AFL-3.0"
] | null | null | null | zmodulo/plot/text/text.py | aaruff/Z-Modulo | 53ae0b1e07c2b13cb08f7d803623010f508ba1b7 | [
"AFL-3.0"
] | null | null | null | class Text:
""" The Plot Text Text Template
"""
def __init__(self, text=""):
"""
Initializes the plot text Text
:param text: plot text text
:type text: str
"""
self.text = text
self.template = '\ttext = "{text}";\n'
def to_str(self):
"""
... | 25.761905 | 83 | 0.55268 | 64 | 541 | 4.59375 | 0.390625 | 0.163265 | 0.204082 | 0.153061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.338262 | 541 | 20 | 84 | 27.05 | 0.821229 | 0.443623 | 0 | 0 | 0 | 0 | 0.092593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f74c7eee2dda25266ad68c6597ee9077cbc931a3 | 184 | py | Python | RestAdm/apps/system/apps.py | xeroCBW/testmodel | 6000d79f91d11bcf6ba76befb3a94a007231ecdc | [
"MIT"
] | null | null | null | RestAdm/apps/system/apps.py | xeroCBW/testmodel | 6000d79f91d11bcf6ba76befb3a94a007231ecdc | [
"MIT"
] | 54 | 2020-06-24T07:12:19.000Z | 2022-03-12T00:43:57.000Z | RestAdm/apps/system/apps.py | xeroCBW/testmodel | 6000d79f91d11bcf6ba76befb3a94a007231ecdc | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class SystemConfig(AppConfig):
name = 'system'
verbose_name = '系统'
# 通过ready 来导入信号量
def ready(self):
import system.signals
| 16.727273 | 33 | 0.668478 | 21 | 184 | 5.809524 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 184 | 10 | 34 | 18.4 | 0.884058 | 0.076087 | 0 | 0 | 0 | 0 | 0.047904 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 1 | 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 |
f74f2e810f1338127d465e53aa2525169040e318 | 1,149 | py | Python | torch_geometric/datasets/amazon.py | tashby/pytorch_geometric | bc1eabc242c8dc6e3b7078db922779911ca3382d | [
"MIT"
] | 1 | 2019-04-16T19:51:08.000Z | 2019-04-16T19:51:08.000Z | torch_geometric/datasets/amazon.py | tashby/pytorch_geometric | bc1eabc242c8dc6e3b7078db922779911ca3382d | [
"MIT"
] | null | null | null | torch_geometric/datasets/amazon.py | tashby/pytorch_geometric | bc1eabc242c8dc6e3b7078db922779911ca3382d | [
"MIT"
] | null | null | null | import torch
from torch_geometric.data import InMemoryDataset, download_url
from torch_geometric.read import read_npz
class Amazon(InMemoryDataset):
url = 'https://github.com/shchur/gnn-benchmark/raw/master/data/npz/'
def __init__(self, root, name, transform=None, pre_transform=None):
self.name = nam... | 33.794118 | 79 | 0.684073 | 152 | 1,149 | 4.894737 | 0.361842 | 0.064516 | 0.052419 | 0.051075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003229 | 0.191471 | 1,149 | 33 | 80 | 34.818182 | 0.797632 | 0 | 0 | 0.08 | 0 | 0 | 0.097476 | 0.021758 | 0 | 0 | 0 | 0 | 0.04 | 1 | 0.24 | false | 0 | 0.12 | 0.12 | 0.56 | 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 |
f7567869f0313d1476d6a28422d8cc49fbb97cb0 | 223 | py | Python | n_utils/tests/account_utils_test.py | MarkusNousiainenWebscale/nameless-deploy-tools | f39060d4c6835f1d2236d5ce236d7da09318e01e | [
"Apache-2.0"
] | null | null | null | n_utils/tests/account_utils_test.py | MarkusNousiainenWebscale/nameless-deploy-tools | f39060d4c6835f1d2236d5ce236d7da09318e01e | [
"Apache-2.0"
] | null | null | null | n_utils/tests/account_utils_test.py | MarkusNousiainenWebscale/nameless-deploy-tools | f39060d4c6835f1d2236d5ce236d7da09318e01e | [
"Apache-2.0"
] | null | null | null | from n_utils.account_utils import find_role_arn
def test_find_role_arn(mocker):
cloudformation = mocker.patch('n_utils.account_utils.cloudformation')
find_role_arn('foo')
cloudformation.assert_called_with()
| 22.3 | 73 | 0.793722 | 31 | 223 | 5.290323 | 0.548387 | 0.146341 | 0.20122 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121076 | 223 | 9 | 74 | 24.777778 | 0.836735 | 0 | 0 | 0 | 0 | 0 | 0.174888 | 0.161435 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f75bc6adaaf30157c69dddd3789eeb9e0c1caee7 | 416 | py | Python | src/networks.py | argentumproject/electrum-server-arg | 66a0980b19a9f7dc818f2924948f9534a7dbb632 | [
"MIT"
] | 2 | 2016-12-31T16:28:23.000Z | 2018-05-27T08:08:58.000Z | src/networks.py | argentumproject/electrum-server-arg | 66a0980b19a9f7dc818f2924948f9534a7dbb632 | [
"MIT"
] | null | null | null | src/networks.py | argentumproject/electrum-server-arg | 66a0980b19a9f7dc818f2924948f9534a7dbb632 | [
"MIT"
] | null | null | null | # Main network and testnet3 definitions
params = {
'argentum_main': {
'pubkey_address': 23,
'script_address': 5,
'genesis_hash': '88c667bc63167685e4e4da058fffdfe8e007e5abffd6855de52ad59df7bb0bb2'
},
'argentum_test': {
'pubkey_address': 111,
'script_address': 196,
... | 27.733333 | 90 | 0.677885 | 28 | 416 | 9.785714 | 0.678571 | 0.094891 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247678 | 0.223558 | 416 | 14 | 91 | 29.714286 | 0.600619 | 0.088942 | 0 | 0 | 0 | 0 | 0.62069 | 0.339523 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f762974a25bc6ed350d3b52420eab0af30c56648 | 561 | py | Python | test/test_palindrome.py | sungheeyun/PythonLectures | 3a748672bf5b39568b2f42e813a0b9402711ad8e | [
"Unlicense"
] | null | null | null | test/test_palindrome.py | sungheeyun/PythonLectures | 3a748672bf5b39568b2f42e813a0b9402711ad8e | [
"Unlicense"
] | null | null | null | test/test_palindrome.py | sungheeyun/PythonLectures | 3a748672bf5b39568b2f42e813a0b9402711ad8e | [
"Unlicense"
] | null | null | null | import unittest
from list.palindrome import is_palindrome_1, is_palindrome_2
class TestIsPalindrome(unittest.TestCase):
def test_is_palindrome_1(self):
self.assertTrue(is_palindrome_1('abcdcba'))
self.assertTrue(is_palindrome_1('abcddcba'))
self.assertFalse(is_palindrome_1('acddcba'))
... | 28.05 | 60 | 0.729055 | 69 | 561 | 5.492754 | 0.318841 | 0.316623 | 0.171504 | 0.274406 | 0.527704 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021231 | 0.160428 | 561 | 19 | 61 | 29.526316 | 0.783439 | 0 | 0 | 0 | 0 | 0 | 0.092692 | 0 | 0 | 0 | 0 | 0 | 0.461538 | 1 | 0.153846 | false | 0 | 0.153846 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f7748311168c144d210bec2f57df9ec5d767811c | 477 | py | Python | examples/cache.py | danclaudiupop/robox | e2c4203aade6401c206f5cfdfd55d1c8d94a7e5f | [
"BSD-3-Clause"
] | 42 | 2022-02-04T19:26:03.000Z | 2022-03-28T13:51:45.000Z | examples/cache.py | danclaudiupop/robox | e2c4203aade6401c206f5cfdfd55d1c8d94a7e5f | [
"BSD-3-Clause"
] | 7 | 2022-02-03T20:35:55.000Z | 2022-03-03T17:04:04.000Z | examples/cache.py | danclaudiupop/robox | e2c4203aade6401c206f5cfdfd55d1c8d94a7e5f | [
"BSD-3-Clause"
] | 1 | 2022-03-08T20:09:07.000Z | 2022-03-08T20:09:07.000Z | from robox import DictCache, FileCache, Options, Robox
with Robox(options=Options(cache=DictCache())) as robox:
p1 = robox.open("https://httpbin.org/get")
assert not p1.from_cache
p2 = robox.open("https://httpbin.org/get")
assert p2.from_cache
with Robox(options=Options(cache=FileCache("./cache"))) a... | 31.8 | 65 | 0.696017 | 70 | 477 | 4.685714 | 0.257143 | 0.109756 | 0.170732 | 0.256098 | 0.792683 | 0.621951 | 0.621951 | 0.621951 | 0.621951 | 0.621951 | 0 | 0.019753 | 0.150943 | 477 | 14 | 66 | 34.071429 | 0.790123 | 0 | 0 | 0.727273 | 0 | 0 | 0.207547 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 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 |
f77a07cfa3732ae4e952df60a109940c53cf457c | 351 | py | Python | novice/03-02/latihan/user.py | anisarizqi/praxis-academy | 8db4d61b60d05c8e877711b4210bfe743f308f44 | [
"MIT"
] | null | null | null | novice/03-02/latihan/user.py | anisarizqi/praxis-academy | 8db4d61b60d05c8e877711b4210bfe743f308f44 | [
"MIT"
] | null | null | null | novice/03-02/latihan/user.py | anisarizqi/praxis-academy | 8db4d61b60d05c8e877711b4210bfe743f308f44 | [
"MIT"
] | null | null | null | from flask import Flask, escape
app = Flask(__name__)
@app.route('/user/username')
def show_user_profile(username):
return 'User %s' % escape(username)
@app.route('/post/<int:post_id>')
def show_post(post_id):
return 'Post %d' % post_id
@app.route('/path/<path:subpath>')
def show_subpath(subpath):
return... | 25.071429 | 41 | 0.700855 | 52 | 351 | 4.519231 | 0.384615 | 0.102128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131054 | 351 | 14 | 41 | 25.071429 | 0.770492 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.272727 | 0.636364 | 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 |
f782dea39b5c2f17683aa3bb804420faa27c2aca | 1,532 | py | Python | readthedocs/audit/tests/test_signals.py | yarons/readthedocs.org | 05c99a0adc222a1d48654d305b492ec142c3026b | [
"MIT"
] | 4,054 | 2015-01-01T00:58:07.000Z | 2019-06-28T05:50:49.000Z | readthedocs/audit/tests/test_signals.py | yarons/readthedocs.org | 05c99a0adc222a1d48654d305b492ec142c3026b | [
"MIT"
] | 4,282 | 2015-01-01T21:38:49.000Z | 2019-06-28T15:41:00.000Z | readthedocs/audit/tests/test_signals.py | yarons/readthedocs.org | 05c99a0adc222a1d48654d305b492ec142c3026b | [
"MIT"
] | 3,224 | 2015-01-01T07:38:45.000Z | 2019-06-28T09:19:10.000Z | from django.contrib.auth.models import User
from django.test import TestCase
from django_dynamic_fixture import get
from readthedocs.audit.models import AuditLog
class TestSignals(TestCase):
def setUp(self):
self.user = get(
User,
username='test',
)
self.user.set_... | 36.47619 | 82 | 0.668407 | 183 | 1,532 | 5.52459 | 0.251366 | 0.178042 | 0.136499 | 0.178042 | 0.659743 | 0.659743 | 0.587537 | 0.587537 | 0.587537 | 0.541048 | 0 | 0.00489 | 0.199086 | 1,532 | 41 | 83 | 37.365854 | 0.819071 | 0 | 0 | 0.382353 | 0 | 0 | 0.031984 | 0 | 0 | 0 | 0 | 0 | 0.441176 | 1 | 0.117647 | false | 0.117647 | 0.117647 | 0 | 0.264706 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
f789a7cdacc71c9cebc61141661a4f1d9f7720de | 222 | py | Python | 1_connectdb.py | believeohiozua/python_mysql | 11fcc21c4672446e0a0b021eef72d3429b582aec | [
"MIT"
] | null | null | null | 1_connectdb.py | believeohiozua/python_mysql | 11fcc21c4672446e0a0b021eef72d3429b582aec | [
"MIT"
] | null | null | null | 1_connectdb.py | believeohiozua/python_mysql | 11fcc21c4672446e0a0b021eef72d3429b582aec | [
"MIT"
] | 2 | 2020-11-23T14:29:23.000Z | 2020-11-23T14:33:04.000Z | import pymysql
#database connection
connection = pymysql.connect(host="localhost",user="root",passwd="",database="restart" )
cursor = connection.cursor()
# some other statements with the help of cursor
connection.close() | 31.714286 | 88 | 0.774775 | 27 | 222 | 6.37037 | 0.740741 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099099 | 222 | 7 | 89 | 31.714286 | 0.86 | 0.297297 | 0 | 0 | 0 | 0 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
e397bf1db88d24a5b37b383681a6a7896ae55a66 | 349 | py | Python | apps/comparison/forms.py | tyrchen/karp | 6b548cb2eb902fc005dda7495f03f7770a7b2a5e | [
"MIT"
] | null | null | null | apps/comparison/forms.py | tyrchen/karp | 6b548cb2eb902fc005dda7495f03f7770a7b2a5e | [
"MIT"
] | 38 | 2018-07-22T07:15:52.000Z | 2019-10-20T02:43:32.000Z | apps/comparison/forms.py | tyrchen/karp | 6b548cb2eb902fc005dda7495f03f7770a7b2a5e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import logging
from django import forms
__author__ = 'tchen'
logger = logging.getLogger(__name__)
class ComparisonForm(forms.Form):
before = forms.CharField(label="Counter Before", widget=forms.Textarea)
after = forms.CharField(label="Counter A... | 29.083333 | 75 | 0.759312 | 42 | 349 | 6 | 0.619048 | 0.111111 | 0.150794 | 0.206349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003279 | 0.126075 | 349 | 12 | 76 | 29.083333 | 0.822951 | 0.060172 | 0 | 0 | 0 | 0 | 0.097859 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.75 | 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 |
e39d7d761b88d83706bd7a41e5fec307e7f214bd | 237 | py | Python | src/opendr/perception/multimodal_human_centric/__init__.py | makistsantekidis/opendr | 07dee3b59d3487b9c5a93d6946317178a02c9890 | [
"Apache-2.0"
] | 217 | 2020-04-10T16:39:36.000Z | 2022-03-30T15:39:04.000Z | src/opendr/perception/multimodal_human_centric/__init__.py | makistsantekidis/opendr | 07dee3b59d3487b9c5a93d6946317178a02c9890 | [
"Apache-2.0"
] | 79 | 2021-06-23T10:40:10.000Z | 2021-12-16T07:59:42.000Z | src/opendr/perception/multimodal_human_centric/__init__.py | makistsantekidis/opendr | 07dee3b59d3487b9c5a93d6946317178a02c9890 | [
"Apache-2.0"
] | 29 | 2021-12-16T09:26:13.000Z | 2022-03-29T15:19:18.000Z | from opendr.perception.multimodal_human_centric.rgbd_hand_gesture_learner.rgbd_hand_gesture_learner import (
RgbdHandGestureLearner,
get_builtin_architectures,
)
__all__ = ['RgbdHandGestureLearner', 'get_builtin_architectures']
| 33.857143 | 108 | 0.848101 | 24 | 237 | 7.708333 | 0.666667 | 0.086486 | 0.162162 | 0.237838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084388 | 237 | 6 | 109 | 39.5 | 0.852535 | 0 | 0 | 0 | 0 | 0 | 0.198312 | 0.198312 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e3a196486a18fec0a8989b15e5cbc3ceaca297e7 | 118 | py | Python | urls.py | daijingjing/tornado_web_base | e0f76e847843354ee0b6e8d9e80a09c602b9cd29 | [
"MIT"
] | null | null | null | urls.py | daijingjing/tornado_web_base | e0f76e847843354ee0b6e8d9e80a09c602b9cd29 | [
"MIT"
] | null | null | null | urls.py | daijingjing/tornado_web_base | e0f76e847843354ee0b6e8d9e80a09c602b9cd29 | [
"MIT"
] | null | null | null | # -*- encoding: utf-8 -*-
from modules.index.IndexHandler import IndexHandler
urls = [
(r'/index', IndexHandler),
]
| 16.857143 | 51 | 0.677966 | 13 | 118 | 6.153846 | 0.769231 | 0.425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.144068 | 118 | 6 | 52 | 19.666667 | 0.782178 | 0.194915 | 0 | 0 | 0 | 0 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e3ac0f2cc1e52009a78c82689abeaf8045f682b0 | 377 | py | Python | test/unit/test_weapon.py | princeodd47/squirrel-maze | 4abca698ba7b11aa0fd239c49e63a7bc90bd9dfe | [
"MIT"
] | 1 | 2021-05-27T01:23:51.000Z | 2021-05-27T01:23:51.000Z | test/unit/test_weapon.py | princeodd47/squirrel-maze | 4abca698ba7b11aa0fd239c49e63a7bc90bd9dfe | [
"MIT"
] | 2 | 2019-03-30T20:18:43.000Z | 2021-06-28T02:38:03.000Z | test/unit/test_weapon.py | princeodd47/squirrel-maze | 4abca698ba7b11aa0fd239c49e63a7bc90bd9dfe | [
"MIT"
] | 1 | 2019-03-28T12:40:34.000Z | 2019-03-28T12:40:34.000Z | from . import helpers as test_helpers
def test_initialize():
weapon_ham = test_helpers.get_single_weapon()
assert weapon_ham.id == 0
assert weapon_ham.type == 0
assert weapon_ham.name == "Short Sword"
assert weapon_ham.atk_bonus == 2
def test_get_atk_bonus():
weapon_ham = test_helpers.get_si... | 25.133333 | 49 | 0.72679 | 57 | 377 | 4.438596 | 0.368421 | 0.249012 | 0.296443 | 0.158103 | 0.395257 | 0.395257 | 0.395257 | 0.395257 | 0.395257 | 0.395257 | 0 | 0.012987 | 0.183024 | 377 | 14 | 50 | 26.928571 | 0.808442 | 0 | 0 | 0.2 | 0 | 0 | 0.029178 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.2 | false | 0 | 0.1 | 0 | 0.3 | 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 |
e3c0bf461f551ac21503a78c6425325e95d50883 | 356 | py | Python | ulmo/__init__.py | ulmo-dev/ulmo-common | 93e52f7c3a6ac514cd1aba133cb5316a3f088d84 | [
"BSD-3-Clause"
] | null | null | null | ulmo/__init__.py | ulmo-dev/ulmo-common | 93e52f7c3a6ac514cd1aba133cb5316a3f088d84 | [
"BSD-3-Clause"
] | null | null | null | ulmo/__init__.py | ulmo-dev/ulmo-common | 93e52f7c3a6ac514cd1aba133cb5316a3f088d84 | [
"BSD-3-Clause"
] | null | null | null | """
ulmo
~~~~
an open source library for clean, simple and fast access to public hydrology and climatology data
"""
from __future__ import absolute_import
from .version import __version__
from . import cdec
from . import cpc
from . import cuahsi
from . import twc
from . import ncdc
from . import usace
fr... | 18.736842 | 101 | 0.733146 | 50 | 356 | 5.04 | 0.58 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210674 | 356 | 18 | 102 | 19.777778 | 0.896797 | 0.303371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e3c6f8c2be14258933aeacf137d37324dd3ec5c9 | 13,804 | py | Python | dataset/image_aug/AutoAugment/autoaugment_param.py | nsfzyzz/dispersion-score | ac0c633fe3af091e83d2d198809d98545a0a311a | [
"MIT"
] | 10 | 2021-12-01T00:55:32.000Z | 2022-01-02T18:07:04.000Z | dataset/image_aug/AutoAugment/autoaugment_param.py | nsfzyzz/dispersion-score | ac0c633fe3af091e83d2d198809d98545a0a311a | [
"MIT"
] | null | null | null | dataset/image_aug/AutoAugment/autoaugment_param.py | nsfzyzz/dispersion-score | ac0c633fe3af091e83d2d198809d98545a0a311a | [
"MIT"
] | 3 | 2021-12-01T00:55:47.000Z | 2021-12-17T15:18:43.000Z | from PIL import Image, ImageEnhance, ImageOps
import numpy as np
import random
from torchvision import transforms
""" 1. Graduatally increase magnitude
2. Increase number of operationis in one policy
"""
class PolicySeq(object):
"""magnitude increase when each subpolicy has two operations
"""
de... | 40.127907 | 173 | 0.572588 | 1,632 | 13,804 | 4.693015 | 0.11826 | 0.057971 | 0.065805 | 0.029247 | 0.73443 | 0.721112 | 0.711712 | 0.679332 | 0.679332 | 0.649301 | 0 | 0.045887 | 0.284845 | 13,804 | 343 | 174 | 40.244898 | 0.729943 | 0.13257 | 0 | 0.622222 | 0 | 0 | 0.065049 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097778 | false | 0.004444 | 0.017778 | 0.022222 | 0.213333 | 0.004444 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e3fe6321c72d51d88393354e68d3e3d74f6cbf82 | 44 | py | Python | mycroft_holmes/__init__.py | macbre/Mike | 5186a4d6e123f1795d362eaf4bfc5fe6a78654bc | [
"MIT"
] | null | null | null | mycroft_holmes/__init__.py | macbre/Mike | 5186a4d6e123f1795d362eaf4bfc5fe6a78654bc | [
"MIT"
] | 95 | 2020-07-24T16:55:45.000Z | 2022-03-31T11:02:40.000Z | mycroft_holmes/__init__.py | macbre/Mike | 5186a4d6e123f1795d362eaf4bfc5fe6a78654bc | [
"MIT"
] | null | null | null | """
Mycroft Holmes core
"""
VERSION = '0.3'
| 8.8 | 19 | 0.590909 | 6 | 44 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.181818 | 44 | 4 | 20 | 11 | 0.666667 | 0.431818 | 0 | 0 | 0 | 0 | 0.176471 | 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 |
54063a24cf8c64edea56df3cb9727eb699cb4ba0 | 474 | py | Python | awardline/forms.py | Tumaa/awards | aa8649c172863af5642746c71c255fc3533958a2 | [
"MIT"
] | null | null | null | awardline/forms.py | Tumaa/awards | aa8649c172863af5642746c71c255fc3533958a2 | [
"MIT"
] | 5 | 2021-06-02T00:43:11.000Z | 2022-01-13T01:52:23.000Z | awardline/forms.py | kode-ai/awards | aa8649c172863af5642746c71c255fc3533958a2 | [
"MIT"
] | 1 | 2020-02-19T22:49:47.000Z | 2020-02-19T22:49:47.000Z | from django import forms
from .models import Project,Review,Comments
from django.core import validators
class ProjectForm(forms.ModelForm):
class Meta:
model = Project
exclude=['poster']
class ReviewForm(forms.ModelForm):
class Meta:
model = Review
fields = [ 'usability_rating... | 23.7 | 84 | 0.672996 | 51 | 474 | 6.196078 | 0.509804 | 0.132911 | 0.18038 | 0.218354 | 0.265823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227848 | 474 | 20 | 85 | 23.7 | 0.863388 | 0 | 0 | 0.2 | 0 | 0 | 0.126316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 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 |
5406a28183a5f3688322a7d59360362d6dce2e7c | 141 | py | Python | ws-python/ex014.py | DerickSilva/Python | 8e81c6fe403e3321f18d2767f0bdfc818b180fd2 | [
"MIT"
] | null | null | null | ws-python/ex014.py | DerickSilva/Python | 8e81c6fe403e3321f18d2767f0bdfc818b180fd2 | [
"MIT"
] | null | null | null | ws-python/ex014.py | DerickSilva/Python | 8e81c6fe403e3321f18d2767f0bdfc818b180fd2 | [
"MIT"
] | null | null | null | celcius = float(input('Digite a temperatura em Celsius: '))
fahr = (celcius * 9 / 5) + 32
print(f'A temperatura {celcius}°C fica {fahr}°F')
| 28.2 | 59 | 0.666667 | 24 | 141 | 4 | 0.708333 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.163121 | 141 | 4 | 60 | 35.25 | 0.762712 | 0 | 0 | 0 | 0 | 0 | 0.514286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
540fa296ca18598495585d630781a375e7e27f0b | 479 | py | Python | atest/testdata/standard_libraries/remote/invalid.py | phil-davis/robotframework | 4d4ce686cbe01e293bb86ea6ff34330e8c45fc43 | [
"ECL-2.0",
"Apache-2.0"
] | 9 | 2020-04-22T08:30:52.000Z | 2020-12-07T08:25:09.000Z | atest/testdata/standard_libraries/remote/invalid.py | phil-davis/robotframework | 4d4ce686cbe01e293bb86ea6ff34330e8c45fc43 | [
"ECL-2.0",
"Apache-2.0"
] | 63 | 2020-03-04T17:31:39.000Z | 2022-03-01T09:12:16.000Z | atest/testdata/standard_libraries/remote/invalid.py | phil-davis/robotframework | 4d4ce686cbe01e293bb86ea6ff34330e8c45fc43 | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2016-02-29T15:42:22.000Z | 2018-05-08T08:58:18.000Z | import sys
from remoteserver import DirectResultRemoteServer
class Invalid(object):
def non_dict_result_dict(self):
return 42
def invalid_result_dict(self):
return {}
def invalid_char_in_xml(self):
return {'status': 'PASS', 'return': '\x00'}
def exception(self, message):
... | 19.16 | 54 | 0.655532 | 54 | 479 | 5.518519 | 0.574074 | 0.100671 | 0.09396 | 0.134228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01355 | 0.229645 | 479 | 24 | 55 | 19.958333 | 0.794038 | 0 | 0 | 0 | 0 | 0 | 0.058455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.066667 | 0.133333 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
582e03946efcefe1d9244a9b35c5d4fda9432f2b | 725 | py | Python | robosuite/models/grippers/wiping_gripper.py | StanfordVL/Lasersuite | 8b78c3d202f2a4b8712c5f228feaf5fae61f16e9 | [
"MIT"
] | 5 | 2020-08-09T16:47:38.000Z | 2021-05-06T05:43:12.000Z | robosuite/models/grippers/wiping_gripper.py | StanfordVL/Lasersuite | 8b78c3d202f2a4b8712c5f228feaf5fae61f16e9 | [
"MIT"
] | 1 | 2020-11-06T06:31:08.000Z | 2020-11-06T06:31:08.000Z | robosuite/models/grippers/wiping_gripper.py | StanfordVL/Lasersuite | 8b78c3d202f2a4b8712c5f228feaf5fae61f16e9 | [
"MIT"
] | null | null | null | """
Gripper without fingers to wipe a surface
"""
import numpy as np
from ...utils.mjcf_utils import xml_path_completion
from .gripper_model import GripperModel
class WipingGripper(GripperModel):
def __init__(self, idn=0):
super().__init__(xml_path_completion('grippers/wiping_gripper.xml'), idn=idn)
... | 20.714286 | 85 | 0.648276 | 88 | 725 | 5.102273 | 0.5 | 0.111359 | 0.120267 | 0.140312 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009158 | 0.246897 | 725 | 34 | 86 | 21.323529 | 0.813187 | 0.103448 | 0 | 0.318182 | 0 | 0 | 0.095016 | 0.042056 | 0 | 0 | 0 | 0 | 0 | 1 | 0.318182 | false | 0 | 0.136364 | 0.272727 | 0.772727 | 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 |
58474cceb9d1cb19e12b9c38a84b7844e6255926 | 1,328 | py | Python | tests/test_upf.py | GianFree/qeschema | 20574557038d5a86ee17e19124f4a0ad59275eba | [
"MIT"
] | null | null | null | tests/test_upf.py | GianFree/qeschema | 20574557038d5a86ee17e19124f4a0ad59275eba | [
"MIT"
] | null | null | null | tests/test_upf.py | GianFree/qeschema | 20574557038d5a86ee17e19124f4a0ad59275eba | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#
# Copyright (c), 2021, Quantum Espresso Foundation and SISSA (Scuola
# Internazionale Superiore di Studi Avanzati). All rights reserved.
# This file is distributed under the terms of the MIT License. See the
# file 'LICENSE' in the root directory of the present distribution, or
# http://opensour... | 34.947368 | 82 | 0.689759 | 171 | 1,328 | 5.152047 | 0.508772 | 0.181612 | 0.208854 | 0.198638 | 0.22361 | 0.190692 | 0 | 0 | 0 | 0 | 0 | 0.003717 | 0.189759 | 1,328 | 37 | 83 | 35.891892 | 0.815056 | 0.264307 | 0 | 0 | 0 | 0 | 0.153926 | 0.02686 | 0 | 0 | 0 | 0 | 0.45 | 1 | 0.05 | false | 0 | 0.2 | 0 | 0.3 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5854c26d435a8381310160a078ef6cb1618635b1 | 308 | py | Python | exercices/advanced-modules/regex/findall.py | cfascina/python-learning | 1bc1d4032fb68456a092229de94b5207db7e9143 | [
"MIT"
] | null | null | null | exercices/advanced-modules/regex/findall.py | cfascina/python-learning | 1bc1d4032fb68456a092229de94b5207db7e9143 | [
"MIT"
] | null | null | null | exercices/advanced-modules/regex/findall.py | cfascina/python-learning | 1bc1d4032fb68456a092229de94b5207db7e9143 | [
"MIT"
] | null | null | null | import re
match = re.findall('test', 'The test one failed, the test 2 was successful.')
print("You can use the re.findall() method to find all instances of a pattern in a string.")
print("\nString: 'The test one failed, the test 2 was successful.'")
print("Pattern: 'test'")
print("Result: " + str(match))
| 34.222222 | 92 | 0.701299 | 51 | 308 | 4.235294 | 0.54902 | 0.12963 | 0.092593 | 0.148148 | 0.388889 | 0.388889 | 0.388889 | 0.388889 | 0.388889 | 0.388889 | 0 | 0.007692 | 0.155844 | 308 | 8 | 93 | 38.5 | 0.823077 | 0 | 0 | 0 | 0 | 0 | 0.701299 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.666667 | 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 |
586d868e15195ed4427faa3746719322261139da | 1,545 | py | Python | pokemongo_bot/cell_workers/__init__.py | timgates42/PokemonGo-Bot | 5e80f20760f32478a84a8f0ced7ca24cdf41fe03 | [
"MIT"
] | 5,362 | 2016-07-21T02:38:46.000Z | 2022-03-23T13:34:51.000Z | pokemongo_bot/cell_workers/__init__.py | timgates42/PokemonGo-Bot | 5e80f20760f32478a84a8f0ced7ca24cdf41fe03 | [
"MIT"
] | 5,897 | 2016-07-21T05:05:49.000Z | 2022-03-17T09:21:35.000Z | pokemongo_bot/cell_workers/__init__.py | timgates42/PokemonGo-Bot | 5e80f20760f32478a84a8f0ced7ca24cdf41fe03 | [
"MIT"
] | 3,379 | 2016-07-21T02:38:48.000Z | 2022-03-30T02:46:57.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from .evolve_pokemon import EvolvePokemon
from .incubate_eggs import IncubateEggs
from .move_to_fort import MoveToFort
from .move_to_map_pokemon import MoveToMapPokemon
from .sniper import Sniper
from .nickname_pokemon import NicknamePokemon
from .pokemon_... | 40.657895 | 57 | 0.875081 | 195 | 1,545 | 6.666667 | 0.482051 | 0.1 | 0.015385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000716 | 0.09644 | 1,545 | 38 | 58 | 40.657895 | 0.930516 | 0.013592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
5877ea91258f75f27625e89064b51baddea19f41 | 657 | py | Python | dask/__init__.py | cruzdanilo/dask | 965c9e401801689a6a68cec5c0529f912a459960 | [
"BSD-3-Clause"
] | 1 | 2021-02-16T06:12:20.000Z | 2021-02-16T06:12:20.000Z | dask/__init__.py | cruzdanilo/dask | 965c9e401801689a6a68cec5c0529f912a459960 | [
"BSD-3-Clause"
] | null | null | null | dask/__init__.py | cruzdanilo/dask | 965c9e401801689a6a68cec5c0529f912a459960 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import, division, print_function
from .core import istask
from .context import set_options
from .local import get_sync as get
try:
from .delayed import do, delayed
except ImportError:
pass
try:
from .base import visualize, compute, persist
except ImportError:
pass
# das... | 27.375 | 77 | 0.785388 | 93 | 657 | 5.322581 | 0.602151 | 0.066667 | 0.084848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158295 | 657 | 23 | 78 | 28.565217 | 0.895118 | 0.226788 | 0 | 0.333333 | 0 | 0 | 0.043564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.111111 | 0.555556 | null | null | 0.055556 | 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 |
58837b654b59b279f575c3b6ef00c85062c92cda | 7,069 | py | Python | tests/test_api.py | villmow/astyle-py | d034ef1321f96be1c9259eacbc78828cb5affbf3 | [
"MIT"
] | null | null | null | tests/test_api.py | villmow/astyle-py | d034ef1321f96be1c9259eacbc78828cb5affbf3 | [
"MIT"
] | null | null | null | tests/test_api.py | villmow/astyle-py | d034ef1321f96be1c9259eacbc78828cb5affbf3 | [
"MIT"
] | null | null | null | import unittest
from astyle import style
TEST_STR = """package ch . boye . httpclientandroidlib . impl . cookie ; import java . util . ArrayList ; import java . util . List ; import ch . boye . httpclientandroidlib . FormattedHeader ; import ch . boye . httpclientandroidlib . Header ; import ch . boye . httpclientand... | 99.56338 | 1,883 | 0.659075 | 744 | 7,069 | 6.211022 | 0.325269 | 0.020775 | 0.090024 | 0.090024 | 0.287816 | 0.191301 | 0.182212 | 0.182212 | 0.182212 | 0.182212 | 0 | 0.007672 | 0.244023 | 7,069 | 70 | 1,884 | 100.985714 | 0.857036 | 0.023483 | 0 | 0.479167 | 0 | 0.145833 | 0.854069 | 0.080357 | 0 | 0 | 0 | 0 | 0.041667 | 1 | 0.0625 | false | 0 | 0.083333 | 0 | 0.166667 | 0.041667 | 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 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
542f4ade833b402a8dc848b740612e20f3c11262 | 334 | py | Python | stem_leaf.py | AritroSaha10/mywebtools | 87a026b8ead129ff5cadbbbe9150cc027117283d | [
"Unlicense"
] | null | null | null | stem_leaf.py | AritroSaha10/mywebtools | 87a026b8ead129ff5cadbbbe9150cc027117283d | [
"Unlicense"
] | null | null | null | stem_leaf.py | AritroSaha10/mywebtools | 87a026b8ead129ff5cadbbbe9150cc027117283d | [
"Unlicense"
] | null | null | null | # get stem leaf plot in dictionary
def stemleaf(data):
stem_leaf = {}
for x in data:
x_str = str(x)
if (len(x_str) == 1):
x_str = "0" + x_str
stem = int(x_str[:-1])
leaf = int(x_str[-1])
if (stem not in stem_leaf):
stem_leaf[stem] = [leaf]
else:
stem_leaf[stem] = stem_leaf[stem] + [leaf]
ret... | 19.647059 | 45 | 0.610778 | 60 | 334 | 3.2 | 0.333333 | 0.375 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.233533 | 334 | 16 | 46 | 20.875 | 0.734375 | 0.095808 | 0 | 0 | 0 | 0 | 0.003333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
544317514a4ac70d9e445dd62b13353d60863704 | 219 | py | Python | audiotube/__init__.py | mzntaka0/audiotube | 71204b0af99398512a2787b3d06a548d2efa9184 | [
"Apache-2.0"
] | 2 | 2020-05-18T02:01:26.000Z | 2020-06-17T14:30:50.000Z | audiotube/__init__.py | mzntaka0/audiotube | 71204b0af99398512a2787b3d06a548d2efa9184 | [
"Apache-2.0"
] | 3 | 2018-12-12T15:13:11.000Z | 2019-09-10T13:43:12.000Z | audiotube/__init__.py | mzntaka0/audiotube | 71204b0af99398512a2787b3d06a548d2efa9184 | [
"Apache-2.0"
] | null | null | null | from audiotube.youtube import YouTube
from audiotube.searching import Search
from audiotube.objects import YouTubeAudio, YouTubeAudios
__all__ = [
'YouTube',
'Search',
'YouTubeAudio',
'YouTubeAudios'
]
| 19.909091 | 57 | 0.744292 | 21 | 219 | 7.571429 | 0.47619 | 0.245283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173516 | 219 | 10 | 58 | 21.9 | 0.878453 | 0 | 0 | 0 | 0 | 0 | 0.173516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
54478c89461d0e05c25cfd953ffbebbb7bb9c1e8 | 40,048 | py | Python | emailPremium/views.py | uzairAK/serverom-panel | 3dcde05ad618e6bef280db7d3180f926fe2ab1db | [
"MIT"
] | null | null | null | emailPremium/views.py | uzairAK/serverom-panel | 3dcde05ad618e6bef280db7d3180f926fe2ab1db | [
"MIT"
] | null | null | null | emailPremium/views.py | uzairAK/serverom-panel | 3dcde05ad618e6bef280db7d3180f926fe2ab1db | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django.shortcuts import render,redirect
from django.http import HttpResponse
from mailServer.models import Domains, EUsers
# Create your views here.
from loginSystem.models import Administrator
from websiteFunctions.models import Websites
from loginSystem.views import loadLoginPage
import... | 34.25834 | 204 | 0.539203 | 3,545 | 40,048 | 5.996333 | 0.087165 | 0.05043 | 0.040081 | 0.045585 | 0.741779 | 0.71647 | 0.683869 | 0.659453 | 0.652209 | 0.633344 | 0 | 0.008451 | 0.361791 | 40,048 | 1,169 | 205 | 34.25834 | 0.823233 | 0.007441 | 0 | 0.751732 | 0 | 0.001155 | 0.112982 | 0.018402 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030023 | false | 0.028868 | 0.01963 | 0 | 0.17321 | 0 | 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 |
54560e021abfa9c70d59a1b4da4ea7c5a6425788 | 308 | py | Python | metacat/ui/metacat_config.py | ivmfnal/metacat | 9eeea5f5e7867395c7203b8a7789607d3bdbd903 | [
"BSD-3-Clause"
] | 1 | 2022-03-18T19:01:29.000Z | 2022-03-18T19:01:29.000Z | metacat/ui/metacat_config.py | ivmfnal/metacat | 9eeea5f5e7867395c7203b8a7789607d3bdbd903 | [
"BSD-3-Clause"
] | null | null | null | metacat/ui/metacat_config.py | ivmfnal/metacat | 9eeea5f5e7867395c7203b8a7789607d3bdbd903 | [
"BSD-3-Clause"
] | null | null | null | import yaml
class MetaCatConfig(object):
def __init__(self, cfg_file):
if isinstance(cfg_file, str):
cfg_file = open(cfg_file, "r")
self.Config = yaml.load(cfg_file, Loader=yaml.SafeLoader)
def __getitem__(self, name):
return self.Config[name]
| 23.692308 | 65 | 0.613636 | 38 | 308 | 4.631579 | 0.578947 | 0.198864 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282468 | 308 | 12 | 66 | 25.666667 | 0.79638 | 0 | 0 | 0 | 0 | 0 | 0.003247 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
546b21a0325e7b5a22fc4695f5358986a68097d8 | 257 | py | Python | examples/tutorial-redis/python-celery/tasks.py | rhinoworks/celery.node | 1dfc0236452b6b72624ec57e0b729350f3874787 | [
"MIT"
] | 172 | 2019-09-18T07:58:14.000Z | 2022-03-28T21:21:39.000Z | examples/tutorial-redis/python-celery/tasks.py | rhinoworks/celery.node | 1dfc0236452b6b72624ec57e0b729350f3874787 | [
"MIT"
] | 70 | 2019-09-26T16:55:52.000Z | 2022-03-28T02:43:03.000Z | examples/tutorial-redis/python-celery/tasks.py | rhinoworks/celery.node | 1dfc0236452b6b72624ec57e0b729350f3874787 | [
"MIT"
] | 44 | 2020-03-15T14:16:19.000Z | 2022-03-10T07:07:34.000Z | from celery import Celery
celery = Celery('tasks',
broker='redis://',
backend='redis://'
)
@celery.task(name='tasks.add')
def add(x, y):
return x + y
@celery.task(name="tasks.add_kwargs")
def add_kwargs(a, b, c, d):
return a + b + c + d
| 17.133333 | 37 | 0.607004 | 41 | 257 | 3.756098 | 0.463415 | 0.155844 | 0.181818 | 0.246753 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202335 | 257 | 14 | 38 | 18.357143 | 0.75122 | 0 | 0 | 0 | 0 | 0 | 0.178988 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.090909 | 0.181818 | 0.454545 | 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 | 1 | 0 | 0 | 0 | 3 |
5478c1ccba308bc785307afd483cd2948ca7032c | 2,053 | py | Python | backend/apps/scout/migrations/0016_auto_20210211_2054.py | janthiemen/data_scout_server | d90da8b6633afe5e8c4b13df0528e1b35482d242 | [
"MIT"
] | null | null | null | backend/apps/scout/migrations/0016_auto_20210211_2054.py | janthiemen/data_scout_server | d90da8b6633afe5e8c4b13df0528e1b35482d242 | [
"MIT"
] | null | null | null | backend/apps/scout/migrations/0016_auto_20210211_2054.py | janthiemen/data_scout_server | d90da8b6633afe5e8c4b13df0528e1b35482d242 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.4 on 2021-02-11 19:49
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('scout', '0015_auto_20210... | 38.735849 | 148 | 0.633707 | 219 | 2,053 | 5.780822 | 0.273973 | 0.050553 | 0.077409 | 0.121643 | 0.702212 | 0.702212 | 0.675355 | 0.675355 | 0.675355 | 0.675355 | 0 | 0.023933 | 0.246956 | 2,053 | 52 | 149 | 39.480769 | 0.794955 | 0.021919 | 0 | 0.521739 | 1 | 0 | 0.135095 | 0.011466 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.065217 | 0 | 0.130435 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
547a26f0511850a2c01978958eda408eef3e544a | 219 | py | Python | django_postgres_extensions/backends/postgresql/operations.py | jstacoder/django_postgres_extensions | f2a17466e950d8595db08364d4c1f47259a7191b | [
"BSD-3-Clause"
] | 56 | 2016-08-19T10:47:24.000Z | 2022-01-04T16:19:40.000Z | django_postgres_extensions/backends/postgresql/operations.py | jstacoder/django_postgres_extensions | f2a17466e950d8595db08364d4c1f47259a7191b | [
"BSD-3-Clause"
] | 8 | 2016-11-18T17:02:55.000Z | 2020-02-05T02:45:05.000Z | django_postgres_extensions/backends/postgresql/operations.py | jstacoder/django_postgres_extensions | f2a17466e950d8595db08364d4c1f47259a7191b | [
"BSD-3-Clause"
] | 30 | 2017-07-17T19:06:15.000Z | 2022-03-26T12:03:01.000Z | from django.db.backends.postgresql.operations import DatabaseOperations as BaseDatabaseOperations
class DatabaseOperations(BaseDatabaseOperations):
compiler_module = "django_postgres_extensions.models.sql.compiler" | 54.75 | 97 | 0.872146 | 21 | 219 | 8.952381 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 219 | 4 | 98 | 54.75 | 0.921569 | 0 | 0 | 0 | 0 | 0 | 0.209091 | 0.209091 | 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 |
5480abd39228b998376048cbfebd7715298f8684 | 184 | py | Python | checker/responsivesecurity/reference.py | fausecteam/faustctf-2019-responsivesecurity | 65b4e02bdc9de278166c38697ab992638977d511 | [
"0BSD"
] | null | null | null | checker/responsivesecurity/reference.py | fausecteam/faustctf-2019-responsivesecurity | 65b4e02bdc9de278166c38697ab992638977d511 | [
"0BSD"
] | null | null | null | checker/responsivesecurity/reference.py | fausecteam/faustctf-2019-responsivesecurity | 65b4e02bdc9de278166c38697ab992638977d511 | [
"0BSD"
] | null | null | null | import requests
def store(endpoint, userid, path, data):
url = endpoint + "/storage/" + userid + path
requests.put(url, data, verify=False).raise_for_status()
return url
| 23 | 60 | 0.684783 | 24 | 184 | 5.166667 | 0.708333 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190217 | 184 | 7 | 61 | 26.285714 | 0.832215 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 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 |
5491ab4bb81c61a31094a71b6458b45a6b6c9733 | 320 | py | Python | controllers/UserController.py | BashirAljounaidy/Flask-MVC | fca4b10a57dd8194d570eb62e66c60d5f022eaca | [
"MIT"
] | null | null | null | controllers/UserController.py | BashirAljounaidy/Flask-MVC | fca4b10a57dd8194d570eb62e66c60d5f022eaca | [
"MIT"
] | null | null | null | controllers/UserController.py | BashirAljounaidy/Flask-MVC | fca4b10a57dd8194d570eb62e66c60d5f022eaca | [
"MIT"
] | null | null | null | # pseudo code
import sys
from flask import render_template, redirect, url_for, request, abort
from models.User import User
from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()
def index():
pass
def store():
pass
def show(userId):
pass
def update(userId):
pass
def delete(userId):
pass
| 11.851852 | 68 | 0.709375 | 44 | 320 | 5.090909 | 0.568182 | 0.125 | 0.116071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215625 | 320 | 26 | 69 | 12.307692 | 0.89243 | 0.034375 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.266667 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
549ff47e6abbd12eac0a976153a5ebbaf492d1f4 | 645 | py | Python | src/ppf/datamatrix/__init__.py | adrianschlatter/ppf.datamatrix | b27bc427cbe4bb55b385b01d3cdbcb1b58806448 | [
"MIT"
] | 2 | 2021-06-15T09:59:16.000Z | 2021-06-25T22:16:11.000Z | src/ppf/datamatrix/__init__.py | adrianschlatter/ppf.datamatrix | b27bc427cbe4bb55b385b01d3cdbcb1b58806448 | [
"MIT"
] | 3 | 2021-09-30T13:36:16.000Z | 2022-01-11T16:38:51.000Z | src/ppf/datamatrix/__init__.py | adrianschlatter/ppf.datamatrix | b27bc427cbe4bb55b385b01d3cdbcb1b58806448 | [
"MIT"
] | 1 | 2022-01-05T05:22:39.000Z | 2022-01-05T05:22:39.000Z | """
ppf.datamatrix
++++++++++++++
ppf.datamatrix is a pure-python package to generate datamatrix codes.
Example:
from ppf.datamatrix import DataMatrix
my_matrix = DataMatrix('Write your message here')
# get svg of datamatrix:
svg = my_matrix.svg()
"""
# register codecs
from .codec_ascii import *
fr... | 18.970588 | 74 | 0.744186 | 93 | 645 | 5.021505 | 0.462366 | 0.102784 | 0.12848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014981 | 0.172093 | 645 | 33 | 75 | 19.545455 | 0.859551 | 0.547287 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
54b04435f0b07e249de2dc17b99940ccef9646f5 | 514 | py | Python | Tests/test_imagemode.py | radicalgraphics/Pillow | 9d22c16d539f6e0356d64849b84f2feec6787179 | [
"Python-2.0"
] | null | null | null | Tests/test_imagemode.py | radicalgraphics/Pillow | 9d22c16d539f6e0356d64849b84f2feec6787179 | [
"Python-2.0"
] | null | null | null | Tests/test_imagemode.py | radicalgraphics/Pillow | 9d22c16d539f6e0356d64849b84f2feec6787179 | [
"Python-2.0"
] | null | null | null | from tester import *
from PIL import Image
from PIL import ImageMode
ImageMode.getmode("1")
ImageMode.getmode("L")
ImageMode.getmode("P")
ImageMode.getmode("RGB")
ImageMode.getmode("I")
ImageMode.getmode("F")
m = ImageMode.getmode("1")
assert_equal(m.mode, "1")
assert_equal(m.bands, ("1",))
assert_equal(m.basemode, ... | 21.416667 | 38 | 0.712062 | 79 | 514 | 4.531646 | 0.291139 | 0.357542 | 0.268156 | 0.108939 | 0.117318 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 0.089494 | 514 | 23 | 39 | 22.347826 | 0.75641 | 0 | 0 | 0.105263 | 0 | 0 | 0.050584 | 0 | 0 | 0 | 0 | 0 | 0.421053 | 1 | 0 | false | 0 | 0.157895 | 0 | 0.157895 | 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 |
54bb083b5b94726904f39815de1d5a575773c697 | 282 | py | Python | lib/tackle/utils/distance.py | atomrq/simulab | 886f2d613ecbac711b41026887f6d9f7ac94b25f | [
"BSD-3-Clause"
] | null | null | null | lib/tackle/utils/distance.py | atomrq/simulab | 886f2d613ecbac711b41026887f6d9f7ac94b25f | [
"BSD-3-Clause"
] | null | null | null | lib/tackle/utils/distance.py | atomrq/simulab | 886f2d613ecbac711b41026887f6d9f7ac94b25f | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
def pbc(a, box):
return a - box * np.round(a/box)
def eigh(a, box, com):
'''
:para a: ndims=2, several points
:para com: center of points
'''
a = a - com
v = a - box * np.round(a/box)
return np.linalg.eigh(v.T.dot(v)/v.shape[0])
| 20.142857 | 48 | 0.556738 | 52 | 282 | 3.019231 | 0.480769 | 0.152866 | 0.127389 | 0.140127 | 0.191083 | 0.191083 | 0 | 0 | 0 | 0 | 0 | 0.009756 | 0.27305 | 282 | 13 | 49 | 21.692308 | 0.756098 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
54bf4ad600002e2a49036e94814d5b301e088271 | 910 | py | Python | BAEKJOON/Python/4493.py | cmsong111/NJ_code | 2df6176d179e168a2789a825ddeb977a82eb8d97 | [
"MIT"
] | null | null | null | BAEKJOON/Python/4493.py | cmsong111/NJ_code | 2df6176d179e168a2789a825ddeb977a82eb8d97 | [
"MIT"
] | null | null | null | BAEKJOON/Python/4493.py | cmsong111/NJ_code | 2df6176d179e168a2789a825ddeb977a82eb8d97 | [
"MIT"
] | null | null | null | #R바위 P보 S가위
for _ in range(int(input())):
Ascore = 0
Bscore = 0
for i in range(int(input())):
a,b = map(str,input().split())
if a == "R":
if b == "R":
Ascore+=1
Bscore+=1
elif b == "P":
Bscore+=1
elif b =="... | 24.594595 | 38 | 0.334066 | 101 | 910 | 3 | 0.267327 | 0.148515 | 0.217822 | 0.237624 | 0.326733 | 0.188119 | 0 | 0 | 0 | 0 | 0 | 0.036866 | 0.523077 | 910 | 37 | 39 | 24.594595 | 0.66129 | 0.010989 | 0 | 0.514286 | 0 | 0 | 0.034483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.085714 | 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 |
49a690b560d711442c5203e97242f84714dae273 | 202 | py | Python | dof_discord_bot/__main__.py | TheCodeSummoner/dof-discord-bot | d2003fd0ef8e6491416585be18601e7f35a12106 | [
"MIT"
] | 2 | 2020-07-13T14:49:10.000Z | 2020-09-16T16:20:02.000Z | dof_discord_bot/__main__.py | TheCodeSummoner/dof-discord-bot | d2003fd0ef8e6491416585be18601e7f35a12106 | [
"MIT"
] | 51 | 2020-04-04T12:41:27.000Z | 2020-09-25T12:28:30.000Z | dof_discord_bot/__main__.py | TheCodeSummoner/dof-discord-bot | d2003fd0ef8e6491416585be18601e7f35a12106 | [
"MIT"
] | null | null | null | """
File allowing executing the package with the `-m` python parameter. See README for more information on how to run the
code.
"""
from dof_discord_bot import run
if __name__ == '__main__':
run()
| 22.444444 | 117 | 0.727723 | 31 | 202 | 4.419355 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183168 | 202 | 8 | 118 | 25.25 | 0.830303 | 0.608911 | 0 | 0 | 0 | 0 | 0.112676 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
49abda7fefb3037396cabf2af7c52852034fecb8 | 5,976 | py | Python | openaerostruct/structures/tests/test_wingbox_geometry.py | lamkina/OpenAeroStruct | d30e2626fc1272e7fe3a27386c4c663157e958ec | [
"Apache-2.0"
] | 114 | 2017-04-06T15:24:19.000Z | 2022-03-21T09:57:43.000Z | openaerostruct/structures/tests/test_wingbox_geometry.py | lamkina/OpenAeroStruct | d30e2626fc1272e7fe3a27386c4c663157e958ec | [
"Apache-2.0"
] | 322 | 2017-04-07T01:40:03.000Z | 2022-03-17T21:50:52.000Z | openaerostruct/structures/tests/test_wingbox_geometry.py | lamkina/OpenAeroStruct | d30e2626fc1272e7fe3a27386c4c663157e958ec | [
"Apache-2.0"
] | 83 | 2017-04-06T16:53:26.000Z | 2022-03-19T19:34:05.000Z | import unittest
import numpy as np
import openmdao.api as om
from openaerostruct.structures.wingbox_geometry import WingboxGeometry
from openaerostruct.utils.testing import run_test, get_default_surfaces
class Test(unittest.TestCase):
@unittest.skip("Analytic derivatives not added yet.")
def test(self):
... | 23.34375 | 77 | 0.254518 | 537 | 5,976 | 2.765363 | 0.327747 | 0.016835 | 0.020202 | 0.026936 | 0.350842 | 0.331987 | 0.331987 | 0.294949 | 0.294949 | 0.277441 | 0 | 0.379408 | 0.644076 | 5,976 | 255 | 78 | 23.435294 | 0.318759 | 0 | 0 | 0.599174 | 0 | 0 | 0.028614 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004132 | false | 0 | 0.020661 | 0 | 0.028926 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 |
49b1ff5e50115a9066fb5ff5c9d209f7cac79018 | 458 | py | Python | boa3_test/test_sc/neo_type_test/IsInstanceContract.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/neo_type_test/IsInstanceContract.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/neo_type_test/IsInstanceContract.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from typing import Any
from boa3.builtin import public
from boa3.builtin.interop.blockchain import get_contract
from boa3.builtin.interop.contract.contract import Contract
from boa3.builtin.interop.runtime import executing_script_hash
@public
def is_contract(value: Any) -> bool:
return isinstance(value, Contract... | 25.444444 | 62 | 0.80786 | 63 | 458 | 5.68254 | 0.349206 | 0.089385 | 0.167598 | 0.184358 | 0.167598 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00995 | 0.122271 | 458 | 17 | 63 | 26.941176 | 0.880597 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.416667 | 0.083333 | 0.75 | 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 |
49bd92d289e830c4641b83e51a06c53eb155a40d | 215 | py | Python | MoinMoin/_template.py | RealTimeWeb/wikisite | 66a22c68c172f0ebb3c88a9885ccd33e2d59c3c5 | [
"Apache-2.0"
] | 1 | 2016-04-01T04:02:28.000Z | 2016-04-01T04:02:28.000Z | Documentation/ManualSource/wikicmd/MoinMoin/_template.py | sleyzerzon/soar | 74a6f32ba1be3a7b3ed4eac0b44b0f4b2e981f71 | [
"Unlicense"
] | 3 | 2020-06-26T21:21:32.000Z | 2020-06-26T21:21:36.000Z | Documentation/ManualSource/wikicmd/MoinMoin/_template.py | sleyzerzon/soar | 74a6f32ba1be3a7b3ed4eac0b44b0f4b2e981f71 | [
"Unlicense"
] | 2 | 2017-01-25T20:06:44.000Z | 2021-03-25T18:39:55.000Z | # -*- coding: iso-8859-1 -*-
"""
MoinMoin - <short description>
<what this stuff does ... - verbose enough>
@copyright: 2007 MoinMoin:YourNameHere
@license: GNU GPL, see COPYING for details.
"""
| 17.916667 | 47 | 0.623256 | 24 | 215 | 5.583333 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054217 | 0.227907 | 215 | 11 | 48 | 19.545455 | 0.753012 | 0.869767 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
49dd1948b9f6946786eb2f881e0dd08421d142e8 | 369 | py | Python | src/ramstk/exim/__init__.py | TahaEntezari/ramstk | f82e5b31ef5c4e33cc02252263247b99a9abe129 | [
"BSD-3-Clause"
] | 26 | 2019-05-15T02:03:47.000Z | 2022-02-21T07:28:11.000Z | src/ramstk/exim/__init__.py | TahaEntezari/ramstk | f82e5b31ef5c4e33cc02252263247b99a9abe129 | [
"BSD-3-Clause"
] | 815 | 2019-05-10T12:31:52.000Z | 2022-03-31T12:56:26.000Z | src/ramstk/exim/__init__.py | TahaEntezari/ramstk | f82e5b31ef5c4e33cc02252263247b99a9abe129 | [
"BSD-3-Clause"
] | 9 | 2019-04-20T23:06:29.000Z | 2022-01-24T21:21:04.000Z | # pylint: disable=unused-import
# -*- coding: utf-8 -*-
#
# ramstk.exim.__init__.py is part of The RAMSTK Project
#
# All rights reserved.
# Copyright 2019 Doyle Rowland doyle.rowland <AT> reliaqual <DOT> com
"""The RAMSTK export-import package."""
# RAMSTK Local Imports
from .export import Export
from .imports ... | 28.384615 | 69 | 0.737127 | 52 | 369 | 5.038462 | 0.730769 | 0.068702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016026 | 0.154472 | 369 | 12 | 70 | 30.75 | 0.823718 | 0.693767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
49f8863e4b0098842d7d79d5a0692581514fda90 | 462 | py | Python | vaca/sql.py | carrerasrodrigo/vaca | b8f6c6a038882cc7d786d80b959c2a2fdfaae689 | [
"BSD-3-Clause"
] | null | null | null | vaca/sql.py | carrerasrodrigo/vaca | b8f6c6a038882cc7d786d80b959c2a2fdfaae689 | [
"BSD-3-Clause"
] | null | null | null | vaca/sql.py | carrerasrodrigo/vaca | b8f6c6a038882cc7d786d80b959c2a2fdfaae689 | [
"BSD-3-Clause"
] | null | null | null | import datetime
from dateutil.relativedelta import relativedelta
def fdate(f='%Y-%m-%d', d=datetime.datetime.now()):
return d.strftime(f)
def date(*args, **kwargs):
return datetime.datetime(*args, **kwargs)
def fdatetime(f='%Y-%m-%d %H:%M:%S', d=datetime.datetime.now()):
return d.strftime(f)
def da... | 20.086957 | 64 | 0.647186 | 68 | 462 | 4.352941 | 0.411765 | 0.162162 | 0.02027 | 0.027027 | 0.263514 | 0.263514 | 0.263514 | 0.263514 | 0.263514 | 0 | 0 | 0.002646 | 0.181818 | 462 | 22 | 65 | 21 | 0.780423 | 0 | 0 | 0.153846 | 0 | 0 | 0.054113 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.153846 | 0.230769 | 0.692308 | 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 |
b706b67ed4d632964e1206cc356e12d08e665e27 | 313 | py | Python | response.py | HAYASAKA-Ryosuke/nanosat | 029d7c4c336322203d647864d03b0dc5b4652dee | [
"MIT"
] | null | null | null | response.py | HAYASAKA-Ryosuke/nanosat | 029d7c4c336322203d647864d03b0dc5b4652dee | [
"MIT"
] | null | null | null | response.py | HAYASAKA-Ryosuke/nanosat | 029d7c4c336322203d647864d03b0dc5b4652dee | [
"MIT"
] | null | null | null | import json
class Response:
status_code = 200
headers = []
body = b''
def json(self, text, status_code=200, headers=[[b'content-type', b'application/json']]):
self.headers = headers
self.body = json.dumps(text).encode()
self.status_code = status_code
return self
| 24.076923 | 92 | 0.619808 | 40 | 313 | 4.75 | 0.475 | 0.210526 | 0.136842 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025751 | 0.255591 | 313 | 12 | 93 | 26.083333 | 0.7897 | 0 | 0 | 0 | 0 | 0 | 0.089457 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b7184726a5208f5392102e26aa9ec81126880d9a | 1,340 | py | Python | tabs/about.py | JimKing100/strains-live | 68c3270d3b7d59a72808dc6674b90d3b8d21b610 | [
"MIT"
] | null | null | null | tabs/about.py | JimKing100/strains-live | 68c3270d3b7d59a72808dc6674b90d3b8d21b610 | [
"MIT"
] | null | null | null | tabs/about.py | JimKing100/strains-live | 68c3270d3b7d59a72808dc6674b90d3b8d21b610 | [
"MIT"
] | 1 | 2020-07-29T16:16:41.000Z | 2020-07-29T16:16:41.000Z | from dash.dependencies import Input, Output
import dash_core_components as dcc
import dash_html_components as html
from app import app
layout = [dcc.Markdown("""
### About
Marijuana is used for both medical and recreational purposes in the U.S. The two main strains, indica and sativa, have been joined with newer hyb... | 74.444444 | 401 | 0.808955 | 205 | 1,340 | 5.268293 | 0.580488 | 0.046296 | 0.041667 | 0.027778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158955 | 1,340 | 17 | 402 | 78.823529 | 0.958296 | 0 | 0 | 0 | 0 | 0.363636 | 0.873881 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.363636 | 0 | 0.363636 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3f97f7a8cd721bc123cefe599923d321e6fb5695 | 149,242 | py | Python | sdk/python/pulumi_aws/__init__.py | alexbowers/pulumi-aws | 7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/__init__.py | alexbowers/pulumi-aws | 7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/__init__.py | alexbowers/pulumi-aws | 7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
from . import _utilities
import typing
# Export this package's modules as members:
from ._enums import *
from .get_ami import *
from .g... | 23.04184 | 139 | 0.646989 | 13,485 | 149,242 | 7.058806 | 0.059622 | 0.098899 | 0.097071 | 0.036244 | 0.451433 | 0.41084 | 0.293945 | 0 | 0 | 0 | 0 | 0.004798 | 0.159318 | 149,242 | 6,476 | 140 | 23.045398 | 0.753884 | 0.001655 | 0 | 0.353278 | 1 | 0 | 0.914208 | 0.442046 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.000928 | 0.046073 | 0 | 0.046073 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3fb82b4613c2556fcb267af868d05c76d6696284 | 1,102 | py | Python | main.py | ToxicFrazzles/robit | 5f727b9f191e06fe51e78a8eb75a65b94a571202 | [
"MIT"
] | null | null | null | main.py | ToxicFrazzles/robit | 5f727b9f191e06fe51e78a8eb75a65b94a571202 | [
"MIT"
] | null | null | null | main.py | ToxicFrazzles/robit | 5f727b9f191e06fe51e78a8eb75a65b94a571202 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from robit import Robit
import json
from pathlib import Path
from generate_rtc_url import gen_token
this_dir = Path(__file__).parent
if __name__ == "__main__":
with open(this_dir / "settings.json") as f:
settings = json.load(f)
url = settings.get("url", "wss://blokegaming.com/... | 36.733333 | 125 | 0.696915 | 158 | 1,102 | 4.626582 | 0.443038 | 0.205198 | 0.221614 | 0.04104 | 0.172367 | 0.172367 | 0 | 0 | 0 | 0 | 0 | 0.00225 | 0.193285 | 1,102 | 29 | 126 | 38 | 0.820023 | 0.019056 | 0 | 0 | 1 | 0.045455 | 0.322222 | 0.042593 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.181818 | 0 | 0.181818 | 0.136364 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3fc3130b900ac272b86a4335bc379d954d10753b | 24,566 | py | Python | eran/ELINA/python_interface/elina_lincons0.py | pauls658/ReluDiff-ICSE2020-Artifact | 212854fe04f482183c239e5dfec70106a9a83df8 | [
"Apache-2.0"
] | 7 | 2020-01-27T21:25:49.000Z | 2022-01-07T04:37:37.000Z | eran/ELINA/python_interface/elina_lincons0.py | yqtianust/ReluDiff-ICSE2020-Artifact | 149f6efe4799602db749faa576980c36921a07c7 | [
"Apache-2.0"
] | 1 | 2022-01-25T17:41:54.000Z | 2022-01-26T02:27:51.000Z | eran/ELINA/python_interface/elina_lincons0.py | yqtianust/ReluDiff-ICSE2020-Artifact | 149f6efe4799602db749faa576980c36921a07c7 | [
"Apache-2.0"
] | 3 | 2020-03-14T17:12:17.000Z | 2022-03-16T09:50:46.000Z | #
#
# This source file is part of ELINA (ETH LIbrary for Numerical Analysis).
# ELINA is Copyright © 2019 Department of Computer Science, ETH Zurich
# This software is distributed under GNU Lesser General Public License Version 3.0.
# For more information, see the ELINA project website at:
# http://elina.ethz.ch
#... | 33.606019 | 113 | 0.691851 | 2,776 | 24,566 | 5.829251 | 0.088977 | 0.135768 | 0.093437 | 0.029663 | 0.809541 | 0.73761 | 0.655172 | 0.576999 | 0.502039 | 0.465826 | 0 | 0.018416 | 0.208662 | 24,566 | 730 | 114 | 33.652055 | 0.81394 | 0.371408 | 0 | 0.363636 | 0 | 0 | 0.254251 | 0.068791 | 0 | 0 | 0 | 0 | 0 | 1 | 0.099174 | false | 0.095041 | 0.004132 | 0 | 0.157025 | 0.27686 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
3fd0e025075ac8e62a30919060e59ae5d2d82587 | 381 | py | Python | testsuite/texture-wrap/run.py | halirutan/OpenShadingLanguage | 8ef7bebba4ba76c8438d2bca1d29469fe3e5cb27 | [
"BSD-3-Clause"
] | null | null | null | testsuite/texture-wrap/run.py | halirutan/OpenShadingLanguage | 8ef7bebba4ba76c8438d2bca1d29469fe3e5cb27 | [
"BSD-3-Clause"
] | null | null | null | testsuite/texture-wrap/run.py | halirutan/OpenShadingLanguage | 8ef7bebba4ba76c8438d2bca1d29469fe3e5cb27 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
command += maketx("../common/textures/mandrill.tif --wrap clamp -o mandrill.tx")
command += testshade("-g 64 64 --center -od uint8 -o Cblack black.tif -o Cclamp clamp.tif -o Cperiodic periodic.tif -o Cmirror mirror.tif -o Cdefault default.tif test")
outputs = [ "out.txt", "black.tif", "clamp.tif... | 47.625 | 168 | 0.674541 | 57 | 381 | 4.508772 | 0.578947 | 0.062257 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015432 | 0.149606 | 381 | 7 | 169 | 54.428571 | 0.777778 | 0.052493 | 0 | 0 | 0 | 0.25 | 0.725 | 0.086111 | 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 |
3ff078d2bdadb384cbb67abe1500c5d489529a54 | 26 | py | Python | pkg/win32/mod_tools/tools/scripts/Units.py | hexgear-studio/ds_mod_tools | 3fe0cad89848c9d0fca8a4139a0491d188497636 | [
"MIT"
] | 112 | 2015-01-15T21:36:02.000Z | 2021-12-28T19:19:01.000Z | pkg/win32/mod_tools/tools/scripts/Units.py | hexgear-studio/ds_mod_tools | 3fe0cad89848c9d0fca8a4139a0491d188497636 | [
"MIT"
] | 6 | 2017-03-14T00:42:42.000Z | 2022-01-06T23:09:18.000Z | pkg/win32/mod_tools/tools/scripts/Units.py | hexgear-studio/ds_mod_tools | 3fe0cad89848c9d0fca8a4139a0491d188497636 | [
"MIT"
] | 35 | 2015-01-15T21:34:36.000Z | 2022-01-29T07:42:34.000Z | PixelsPerMeter = 150.0
| 8.666667 | 23 | 0.692308 | 3 | 26 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.230769 | 26 | 2 | 24 | 13 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3ff45ef207db55c5fae3438c63e1770f8c2d9742 | 651 | py | Python | office365/sharepoint/lists/list_template_collection.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/sharepoint/lists/list_template_collection.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/sharepoint/lists/list_template_collection.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.runtime.paths.service_operation import ServiceOperationPath
from office365.sharepoint.base_entity_collection import BaseEntityCollection
from office365.sharepoint.lists.list_template import ListTemplate
class ListTemplateCollection(BaseEntityCollection):
def __init__(self, context, resource_path=N... | 34.263158 | 90 | 0.728111 | 62 | 651 | 7.370968 | 0.548387 | 0.085339 | 0.100656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01711 | 0.192012 | 651 | 18 | 91 | 36.166667 | 0.851711 | 0.038402 | 0 | 0 | 0 | 0 | 0.015177 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b2081f45a8d5b4d1fa5042dc8ba080d5c72238de | 136 | py | Python | noxfile.py | xavfernandez/get-pip | 82f66c34a7c1b483f636e0712fd41c1824e2e2a6 | [
"MIT"
] | 2 | 2020-10-07T20:58:57.000Z | 2021-05-30T07:13:02.000Z | noxfile.py | zfj-hash/get-pip | eff16c878c7fd6b688b9b4c4267695cf1a0bf01b | [
"MIT"
] | null | null | null | noxfile.py | zfj-hash/get-pip | eff16c878c7fd6b688b9b4c4267695cf1a0bf01b | [
"MIT"
] | 1 | 2020-12-27T15:52:17.000Z | 2020-12-27T15:52:17.000Z | import os
import nox
@nox.session(python=['2.7', '3.7'])
def tests(session):
session.install('pytest')
session.run('pytest')
| 13.6 | 35 | 0.647059 | 20 | 136 | 4.4 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034783 | 0.154412 | 136 | 9 | 36 | 15.111111 | 0.730435 | 0 | 0 | 0 | 0 | 0 | 0.132353 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b75800a35ee194d98e9a42063b6a7e2ec41e0f0a | 163 | py | Python | tests/context.py | BroadAxeC3/deidre | 358c006f99af1be62d6b346c31450ffc7be1f5b6 | [
"MIT"
] | 1 | 2018-01-23T17:16:22.000Z | 2018-01-23T17:16:22.000Z | tests/context.py | BroadAxeC3/deidre | 358c006f99af1be62d6b346c31450ffc7be1f5b6 | [
"MIT"
] | null | null | null | tests/context.py | BroadAxeC3/deidre | 358c006f99af1be62d6b346c31450ffc7be1f5b6 | [
"MIT"
] | 1 | 2018-01-23T17:16:28.000Z | 2018-01-23T17:16:28.000Z | # -*- coding: utf-8 -*-
import os
import sys
sys.path.insert(
0,
os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
)
import deidre # noqa
| 13.583333 | 66 | 0.619632 | 24 | 163 | 4.041667 | 0.625 | 0.185567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015038 | 0.184049 | 163 | 11 | 67 | 14.818182 | 0.714286 | 0.159509 | 0 | 0 | 0 | 0 | 0.014925 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b781820a1d74e3721a423757d4a22443b099e7a2 | 991 | py | Python | src/model/message.py | 5agado/conversation-analyzer | 7a10c49b1785e581c920c32c1606c9039a4dbefd | [
"Apache-2.0"
] | 80 | 2015-11-07T14:44:58.000Z | 2022-03-15T13:58:25.000Z | src/model/message.py | 5agado/conversation-analyzer | 7a10c49b1785e581c920c32c1606c9039a4dbefd | [
"Apache-2.0"
] | 15 | 2015-11-03T21:53:01.000Z | 2021-10-14T16:25:40.000Z | src/model/message.py | 5agado/conversation-analyzer | 7a10c49b1785e581c920c32c1606c9039a4dbefd | [
"Apache-2.0"
] | 22 | 2016-11-18T23:53:56.000Z | 2021-02-12T14:52:26.000Z | from datetime import datetime
class Message:
DATE_FORMAT = '%Y.%m.%d'
TIME_FORMAT = '%H:%M:%S'
DATE_SEPARATOR = '.'
TIME_SEPARATOR = ':'
DATETIME_SEPARATOR = ' '
DATE_TIME_FORMAT = DATE_FORMAT + DATETIME_SEPARATOR + TIME_FORMAT
def __init__(self, date, time, sender, text):
self.dat... | 27.527778 | 83 | 0.646821 | 121 | 991 | 5.099174 | 0.264463 | 0.097245 | 0.068071 | 0.058347 | 0.139384 | 0.139384 | 0.139384 | 0.139384 | 0 | 0 | 0 | 0.003953 | 0.234107 | 991 | 35 | 84 | 28.314286 | 0.808959 | 0 | 0 | 0 | 0 | 0 | 0.027273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.269231 | false | 0 | 0.038462 | 0.230769 | 0.807692 | 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 |
b781da248191e68c1fdf925e07225bc7777800f9 | 381 | py | Python | chatrooms/twitter/thread.py | Dogeek/ChatAggregator | c1cf700e2529d6bb78ce7e4850c532ef55841d85 | [
"MIT"
] | 3 | 2019-11-17T19:31:08.000Z | 2020-12-07T00:47:22.000Z | chatrooms/twitter/thread.py | Dogeek/ChatAggregator | c1cf700e2529d6bb78ce7e4850c532ef55841d85 | [
"MIT"
] | 16 | 2019-11-17T19:48:02.000Z | 2019-11-24T02:49:44.000Z | chatrooms/twitter/thread.py | Dogeek/ChatAggregator | c1cf700e2529d6bb78ce7e4850c532ef55841d85 | [
"MIT"
] | 3 | 2019-11-17T19:31:13.000Z | 2019-11-21T11:59:18.000Z | import threading
from chatrooms import lock
class TwitterThread(threading.Thread):
def __init__(self):
super().__init__()
self.running = True
@property
def last_message(self):
return None
def run(self):
while self.running:
with lock:
... | 18.142857 | 38 | 0.566929 | 40 | 381 | 5.175 | 0.625 | 0.15942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.356955 | 381 | 20 | 39 | 19.05 | 0.844898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0.066667 | 0.133333 | 0.066667 | 0.533333 | 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 |
b78a8d4557aea365426a38f98bc849f85d2dd525 | 3,420 | py | Python | web-interface/app/application/misc/routes.py | horvathi94/seqmeta | 94f2f04c372181c93a6f68b6efe15b141ef02779 | [
"MIT"
] | null | null | null | web-interface/app/application/misc/routes.py | horvathi94/seqmeta | 94f2f04c372181c93a6f68b6efe15b141ef02779 | [
"MIT"
] | null | null | null | web-interface/app/application/misc/routes.py | horvathi94/seqmeta | 94f2f04c372181c93a6f68b6efe15b141ef02779 | [
"MIT"
] | null | null | null | from flask import Blueprint, request
from .pages.descriptions import LibraryDescription
from .pages.workflows import WorkflowBasic, \
WorkflowGISAID, WorkflowENA, WorkflowNCBI
from .pages.misc_editor import MiscEditor
from .pages.misc_options import hosts, assembly_methods, sampling_strategies, \
specimen_sourc... | 28.5 | 79 | 0.754971 | 423 | 3,420 | 5.855792 | 0.177305 | 0.050868 | 0.084376 | 0.072669 | 0.37828 | 0.280178 | 0.256762 | 0.228502 | 0.192975 | 0.192975 | 0 | 0 | 0.107018 | 3,420 | 119 | 80 | 28.739496 | 0.811067 | 0 | 0 | 0.027397 | 0 | 0 | 0.161696 | 0.101462 | 0 | 0 | 0 | 0 | 0 | 1 | 0.260274 | false | 0 | 0.09589 | 0.232877 | 0.616438 | 0.027397 | 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 |
b7aa1cfdf4699ef1bf8303f70714d60ae94064be | 952,980 | py | Python | tests/examples/minlplib/squfl030-100persp.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | 2 | 2021-07-03T13:19:10.000Z | 2022-02-06T10:48:13.000Z | tests/examples/minlplib/squfl030-100persp.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | 1 | 2021-07-04T14:52:14.000Z | 2021-07-15T10:17:11.000Z | tests/examples/minlplib/squfl030-100persp.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | null | null | null | # MINLP written by GAMS Convert at 04/21/18 13:54:20
#
# Equation counts
# Total E G L N X C B
# 6101 101 0 6000 0 0 0 0
#
# Variable counts
# x b i s1s s2s sc ... | 48.718368 | 117 | 0.696095 | 151,015 | 952,980 | 4.392709 | 0.101089 | 0.128738 | 0.137933 | 0.180896 | 0.675678 | 0.486215 | 0.486215 | 0.486203 | 0.486203 | 0.486203 | 0 | 0.360919 | 0.126448 | 952,980 | 19,560 | 118 | 48.720859 | 0.435937 | 0.000714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000074 | 0 | 0.000074 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.