A Jinja plugin for handling Matrix data
Project description
Jinja2 Matrix Filters
Overview
Jinja2 Matrix Filters is a functionality extension to handle matrix data.
Included filters
- user_bridge_info
- user_bridge_prefix
- user_bridge_account_id
- user_homeserver
- location_message_geo_uri
- location_message_latitude
- location_message_longitude
- google_location_url
Install
pip install jinja2-matrix-filters
Usage
Typical usage with jinja2
from jinja2 import Environment
...
env = Environment(extensions=['jinja2_matrix_filters.MatrixFiltersExtension'])
...
# OR
from jinja2_matrix_filters import MatrixFiltersExtension
env = Environment(extensions=[MatrixFiltersExtension])
...
Include into cookiecutter
cookiecutter.json
{
"_extensions": ["jinja2_matrix_filters.MatrixFiltersExtension"]
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jinja2_matrix_filters-0.1.0-py3-none-any.whl.
File metadata
- Download URL: jinja2_matrix_filters-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1565498fe3d760887c2cb4d773ca7dbbc56b00f18f1cdb692f71a52794a28087
|
|
| MD5 |
3cf34f6755beb7523190683f0587bdb0
|
|
| BLAKE2b-256 |
161d0fe3864d3001e83f692b4089f00fa1f0403e21111a0db4579a8b507ccc4a
|