A suite of tools that extends Wagtail’s already-awesome StreamField to make it even more flexible/versatile/useful!
Includes:
A simple interface for displaying the individual blocks of a StreamField in any number of renditions.
A ‘block registry’ (and its associated field, RegisteredBlockStreamField) that makes blocks pluggable/re-usable across disparate models/apps/projects.
Compatibility
Python:
2.7
3.4
3.5
-
1.2
1.3
1.4
Installation
First, install with:
$ pip install wagtail-streamfieldtools
After installation completes, add 'streamfield_tools' to INSTALLED_APPS:
INSTALLED_APPS = (
# All your other apps here
'streamfield_tools',
)
Running Tests
To run tests, first create a new virtual environment and install the test requirements:
$ virtualenv TEST_ENV
$ pip install -r test_requirements.txt
Then run the test suite with this command:
$ coverage run --source streamfield_tools/ runtests.py
If all tests pass, then push your code to Github where Travis CI will tests against the entire dependency matrix. If [all tests passed there](https://travis-ci.org/WGBH/wagtail-streamfieldtools), then [head over to Coveralls](https://coveralls.io/github/WGBH/wagtail-streamfieldtools) to ensure your coverage has remained the same.
If the tests passed and coverage remained the same then it’s time to release to PyPI!
Metadata
Release files for wagtail-streamfieldtools 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wagtail-streamfieldtools-0.3.tar.gz | 12.1 kB | Without provenance | Details for wagtail-streamfieldtools-0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wagtail_streamfieldtools-0.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for wagtail_streamfieldtools-0.3-py2.py3-none-any.whl |
Total release size: 33.0 kB
Release files / wagtail-streamfieldtools-0.3.tar.gz
| Download URL | wagtail-streamfieldtools-0.3.tar.gz |
|---|---|
| Size | 12.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f082a5ec4bf2526dae438a3b1aa96fa89f54d03c6287721898ca3269c28257a
|
|
BLAKE2b-256 checksum How to use checksums |
ee275373fe3c078dda60bdb55d7c4ade6975294544ff9e1b521c17aeeb9ba8ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / wagtail_streamfieldtools-0.3-py2.py3-none-any.whl
| Download URL | wagtail_streamfieldtools-0.3-py2.py3-none-any.whl |
|---|---|
| Size | 20.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e3579137d4859c89ce8b976071c8c1ac91d47f426faafeb6dbae97352df93870
|
|
BLAKE2b-256 checksum How to use checksums |
87d6ea7ccf54f264ed400500edb52f39eaaf30a7db4f543578888128304b06bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for wagtail-streamfieldtools 0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.