wagtail-sb-blocks


Namewagtail-sb-blocks JSON
Version 0.2.0 PyPI version JSON
download
home_pagehttps://gitlab.com/softbutterfly/open-source/wagtail-sb-blocks
SummaryTabbed interface for Wagtail's struct blocks with settings fields.
upload_time2023-09-17 23:15:48
maintainer
docs_urlNone
authorSoftButterfly Development Team
requires_python>=3.8.1,<4.0.0
licenseMIT
keywords softbutterfly django migrations
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![Community-Project](https://gitlab.com/softbutterfly/open-source/open-source-office/-/raw/master/banners/softbutterfly-open-source--banner--community-project.png)

![PyPI - Supported versions](https://img.shields.io/pypi/pyversions/wagtail-sb-blocks)
![PyPI - Package version](https://img.shields.io/pypi/v/wagtail-sb-blocks)
![PyPI - Downloads](https://img.shields.io/pypi/dm/wagtail-sb-blocks)
![PyPI - MIT License](https://img.shields.io/pypi/l/wagtail-sb-blocks)

[![Codacy Badge](https://app.codacy.com/project/badge/Grade/a7111b162e8749cab6d58f8b8724bac0)](https://app.codacy.com/gl/softbutterfly/wagtail-sb-blocks/dashboard?utm_source=gl&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/a7111b162e8749cab6d58f8b8724bac0)](https://app.codacy.com/gl/softbutterfly/wagtail-sb-blocks/dashboard?utm_source=gl&utm_medium=referral&utm_content=&utm_campaign=Badge_coverage)
[![pipeline status](https://gitlab.com/softbutterfly/open-source/wagtail-sb-blocks/badges/master/pipeline.svg)](https://gitlab.com/softbutterfly/open-source/wagtail-sb-blocks/-/commits/master)

# Wagtail Blocks

Package with basic, adaptable and reusable blocks to build awesome sites with wagtail.

## Requirements

- Python 3.8.1 or higher
- Wagtail 3.0 or higher
- Django 3.2 or higher

## Install

```bash
pip install wagtail-sb-blocks
```

## Usage

Add `wagtail_sb_blocks` to your `INSTALLED_APPS` settings

```python
INSTALLED_APPS = [
  # ...
  "wagtail_sb_blocks",
  # ...
]
```

In your stream blocks use blocks from this package to rapid development.

```python
from wagtail.blocks import StreamBlock

from wagtail_sb_blocks.blocks import TitleBlock, ParagraphBlock, FigureBlock, ButtonBlock

class EnhancedHTMLBlock(StreamBlock):
    title = TitleBlock()
    paragraph = ParagraphBlock()
    figure = FigureBlock()
    button = ButtonBlock()
```

## Docs

- [Ejemplos](https://gitlab.com/softbutterfly/open-source/wagtail-sb-blocks/-/wikis)
- [Wiki](https://gitlab.com/softbutterfly/open-source/wagtail-sb-blocks/-/wikis)

## Changelog

All changes to versions of this library are listed in the [change history](CHANGELOG.md).

## Development

Check out our [contribution guide](CONTRIBUTING.md).

## Contributors

See the list of contributors [here](https://gitlab.com/softbutterfly/open-source/wagtail-sb-blocks/-/graphs/develop).

            

Raw data

            {
    "_id": null,
    "home_page": "https://gitlab.com/softbutterfly/open-source/wagtail-sb-blocks",
    "name": "wagtail-sb-blocks",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8.1,<4.0.0",
    "maintainer_email": "",
    "keywords": "Softbutterfly,Django,Migrations",
    "author": "SoftButterfly Development Team",
    "author_email": "dev@softbutterfly.io",
    "download_url": "https://files.pythonhosted.org/packages/37/81/636a564bfa87757801a65f2b06ed72030b0f411049d0533a9fc0cf74899f/wagtail_sb_blocks-0.2.0.tar.gz",
    "platform": null,
    "description": "![Community-Project](https://gitlab.com/softbutterfly/open-source/open-source-office/-/raw/master/banners/softbutterfly-open-source--banner--community-project.png)\n\n![PyPI - Supported versions](https://img.shields.io/pypi/pyversions/wagtail-sb-blocks)\n![PyPI - Package version](https://img.shields.io/pypi/v/wagtail-sb-blocks)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/wagtail-sb-blocks)\n![PyPI - MIT License](https://img.shields.io/pypi/l/wagtail-sb-blocks)\n\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/a7111b162e8749cab6d58f8b8724bac0)](https://app.codacy.com/gl/softbutterfly/wagtail-sb-blocks/dashboard?utm_source=gl&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)\n[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/a7111b162e8749cab6d58f8b8724bac0)](https://app.codacy.com/gl/softbutterfly/wagtail-sb-blocks/dashboard?utm_source=gl&utm_medium=referral&utm_content=&utm_campaign=Badge_coverage)\n[![pipeline status](https://gitlab.com/softbutterfly/open-source/wagtail-sb-blocks/badges/master/pipeline.svg)](https://gitlab.com/softbutterfly/open-source/wagtail-sb-blocks/-/commits/master)\n\n# Wagtail Blocks\n\nPackage with basic, adaptable and reusable blocks to build awesome sites with wagtail.\n\n## Requirements\n\n- Python 3.8.1 or higher\n- Wagtail 3.0 or higher\n- Django 3.2 or higher\n\n## Install\n\n```bash\npip install wagtail-sb-blocks\n```\n\n## Usage\n\nAdd `wagtail_sb_blocks` to your `INSTALLED_APPS` settings\n\n```python\nINSTALLED_APPS = [\n  # ...\n  \"wagtail_sb_blocks\",\n  # ...\n]\n```\n\nIn your stream blocks use blocks from this package to rapid development.\n\n```python\nfrom wagtail.blocks import StreamBlock\n\nfrom wagtail_sb_blocks.blocks import TitleBlock, ParagraphBlock, FigureBlock, ButtonBlock\n\nclass EnhancedHTMLBlock(StreamBlock):\n    title = TitleBlock()\n    paragraph = ParagraphBlock()\n    figure = FigureBlock()\n    button = ButtonBlock()\n```\n\n## Docs\n\n- [Ejemplos](https://gitlab.com/softbutterfly/open-source/wagtail-sb-blocks/-/wikis)\n- [Wiki](https://gitlab.com/softbutterfly/open-source/wagtail-sb-blocks/-/wikis)\n\n## Changelog\n\nAll changes to versions of this library are listed in the [change history](CHANGELOG.md).\n\n## Development\n\nCheck out our [contribution guide](CONTRIBUTING.md).\n\n## Contributors\n\nSee the list of contributors [here](https://gitlab.com/softbutterfly/open-source/wagtail-sb-blocks/-/graphs/develop).\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Tabbed interface for Wagtail's struct blocks with settings fields.",
    "version": "0.2.0",
    "project_urls": {
        "Bug Tracker": "https://gitlab.com/softbutterfly/open-source/wagtail-sb-blocks/-/issues",
        "Documentation": "https://gitlab.com/softbutterfly/open-source/wagtail-sb-blocks/-/wikis",
        "Download": "https://gitlab.com/softbutterfly/open-source/wagtail-sb-blocks/-/archive/v0.2.0/wagtail-sb-blocks-v0.2.0.tar.gz",
        "Homepage": "https://gitlab.com/softbutterfly/open-source/wagtail-sb-blocks",
        "Repository": "https://gitlab.com/softbutterfly/open-source/wagtail-sb-blocks"
    },
    "split_keywords": [
        "softbutterfly",
        "django",
        "migrations"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f6606a655409ef35def59e331a2793ae0ee93d6ee151539e3e2d448eac7d0ba8",
                "md5": "b8ba341c0cc1da16ab2cb90f7cf82c5d",
                "sha256": "e7777b6b98a626a23bbd8e0ebfdd1ae09d7c5d4bce643d2c6e39710445744656"
            },
            "downloads": -1,
            "filename": "wagtail_sb_blocks-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b8ba341c0cc1da16ab2cb90f7cf82c5d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8.1,<4.0.0",
            "size": 11605,
            "upload_time": "2023-09-17T23:15:47",
            "upload_time_iso_8601": "2023-09-17T23:15:47.002371Z",
            "url": "https://files.pythonhosted.org/packages/f6/60/6a655409ef35def59e331a2793ae0ee93d6ee151539e3e2d448eac7d0ba8/wagtail_sb_blocks-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3781636a564bfa87757801a65f2b06ed72030b0f411049d0533a9fc0cf74899f",
                "md5": "825953dc717f26fe22ad03ae62659722",
                "sha256": "cfee87067494d5ba1b796c0bdfbb4a3aea232f51fd9d8f4628546d8f54b1defa"
            },
            "downloads": -1,
            "filename": "wagtail_sb_blocks-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "825953dc717f26fe22ad03ae62659722",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8.1,<4.0.0",
            "size": 9006,
            "upload_time": "2023-09-17T23:15:48",
            "upload_time_iso_8601": "2023-09-17T23:15:48.812786Z",
            "url": "https://files.pythonhosted.org/packages/37/81/636a564bfa87757801a65f2b06ed72030b0f411049d0533a9fc0cf74899f/wagtail_sb_blocks-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-17 23:15:48",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "softbutterfly",
    "gitlab_project": "open-source",
    "lcname": "wagtail-sb-blocks"
}
        
Elapsed time: 2.59645s