Flask-Themes2
Flask-Themes2 is a fork of Spirits, which is in turn a fork of Flask-Themes.
- Flask-Themes2 maintained by Chris Carter et al.
- Spirits maintained by Drew Lustro
- Flask-Themes by Matthew "LeafStorm" Frazier
- Many more contributors to this fork and all others! It wouldn't be this good without you.
This provides infrastructure for themes in Flask >= 2.0.
Installation
To install normally:
$ pip install flask-themes2
To install the development version from the latest commit on master:
$ pip install "Flask-Themes2 @ git+https://github.com/sysr-q/flask-themes2.git@master"
Documentation
The documentation is on the Flask-Themes2 docs.
Development
If you're interested in helping, the source is available on GitHub, feel free to contribute.
Install uv, then clone the repository and install the project and development dependencies:
git clone https://github.com/sysr-q/flask-themes2.git
cd flask-themes2
uv sync --locked
Run the tests on the development Python version:
uv run --locked pytest
Run the full test matrix (Python 3.11–3.14), formatting and lint checks, type checks, and documentation build:
uv python install 3.11 3.12 3.13 3.14
uv run --locked tox
You can also run individual checks, for example:
uv run --locked tox run -e py3.11,typing,docs
uv run --locked pre-commit run --all-files
Releases
Update __version__ in src/flask_themes2/__init__.py, commit the release
changes, and push them to master. Release tags use the plain MAJOR.MINOR.PATCH
format, for example 2.0.0, without a v prefix or prerelease suffix.
Pushing a release tag triggers the publish workflow. It checks that the tag
matches __version__, runs the full test matrix and other checks, and builds and
validates the distributions before publishing to PyPI through the publish
environment. After successful publication, it creates a draft GitHub release
for you to add release notes and publish; pushing commits to master alone
does not publish a release.
Metadata
Release files for Flask-Themes2 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flask_themes2-2.0.0.tar.gz | 104.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flask_themes2-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 114.4 kB
Release files / flask_themes2-2.0.0.tar.gz
| Download URL | flask_themes2-2.0.0.tar.gz |
|---|---|
| Size | 104.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
86f8c2c6aaba7330f507ba6d2e2d04ea800b3a5ce52749efa2b3c0ea78459af5
|
|
BLAKE2b-256 checksum How to use checksums |
74decfd7ac4e3edb9ea315976bca212e4ab8e89e136a755dd3c25e8e1d74f46a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.
Transparency logRelease files / flask_themes2-2.0.0-py3-none-any.whl
| Download URL | flask_themes2-2.0.0-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1cf8310f97a6617a11cda3fcb7875018a4bbf5a5c173bc2dca17914d1bf726dc
|
|
BLAKE2b-256 checksum How to use checksums |
6fa05631275cbe4e3b83c885810c9cb3d196fc86bd1e41f869e8648209fd8685
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.
Transparency log