Metadata-Version: 2.1
Name: wagtail-sb-blocks
Version: 0.2.0
Summary: Tabbed interface for Wagtail's struct blocks with settings fields.
Home-page: https://gitlab.com/softbutterfly/open-source/wagtail-sb-blocks
License: MIT
Keywords: Softbutterfly,Django,Migrations
Author: SoftButterfly Development Team
Author-email: dev@softbutterfly.io
Requires-Python: >=3.8.1,<4.0.0
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Framework :: Django :: 2
Classifier: Framework :: Django :: 3
Classifier: Framework :: Django :: 4
Classifier: Framework :: Wagtail :: 3
Classifier: Framework :: Wagtail :: 4
Classifier: Framework :: Wagtail :: 5
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: Django (<5.0)
Requires-Dist: djangorestframework (<4.0)
Requires-Dist: wagtail (<6.0)
Requires-Dist: wagtail-sb-imageserializer (<1.0.0)
Requires-Dist: wagtail-sb-structblock (<1.0.0)
Project-URL: Bug Tracker, https://gitlab.com/softbutterfly/open-source/wagtail-sb-blocks/-/issues
Project-URL: Documentation, https://gitlab.com/softbutterfly/open-source/wagtail-sb-blocks/-/wikis
Project-URL: Download, https://gitlab.com/softbutterfly/open-source/wagtail-sb-blocks/-/archive/v0.2.0/wagtail-sb-blocks-v0.2.0.tar.gz
Project-URL: Repository, https://gitlab.com/softbutterfly/open-source/wagtail-sb-blocks
Description-Content-Type: text/markdown

![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).

