jinja2_base64_filters
Tiny jinja2 extension to add b64encode and b64decode filters.
Usage
from jinja2_base64_filters import jinja2_base64_filters
from jinja2 import Environment
env = Environment(extensions=["jinja2_base64_filters.Base64Filters"])
# "my_string" -> "bXlfc3RyaW5n"
env.from_string("{{teststring|b64encode}}").render(teststring="my_string")
# "bXlfc3RyaW5n" -> "my_string"
env.from_string("{{teststring|b64decode}}").render(teststring="bXlfc3RyaW5n")
Installation
jinja2_base64_filters is available for download from PyPI via pip:
$ pip install jinja2-base64-filters
It will automatically install jinja2
Requirements
Compatibility
Licence
Free software: MIT license
Metadata
Release files for jinja2-base64-filters 0.1.4
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 |
|---|---|---|---|---|
| jinja2_base64_filters-0.1.4.tar.gz | 2.2 kB | Without provenance | Details for jinja2_base64_filters-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jinja2_base64_filters-0.1.4-py2-none-any.whl | Python 2 | none | any | Details for jinja2_base64_filters-0.1.4-py2-none-any.whl |
Total release size: 5.8 kB
Release files / jinja2_base64_filters-0.1.4.tar.gz
| Download URL | jinja2_base64_filters-0.1.4.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5f5d3e0476c4918ab3266093e8757918aed7cc47dab12338f9bda048cdbacd9
|
|
BLAKE2b-256 checksum How to use checksums |
848547bb9c15bd36d7ff752e887203d8db7c79459369a2d28384d9febcd5373c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.16
|
Release files / jinja2_base64_filters-0.1.4-py2-none-any.whl
| Download URL | jinja2_base64_filters-0.1.4-py2-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
d007d543a9ce1e66a7a65645eef9100bc21a5d060a60b193fa4d4c4239bb3a86
|
|
BLAKE2b-256 checksum How to use checksums |
fccf2f75c88e204c83cbf96efa8780cd66fb8ba4169889f9502b8f0536fd5ddc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.16
|
Security for jinja2-base64-filters 0.1.4
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.