handlebars-py
handlebars.js transpiled to python with js2py
Usage
#!pip install handlebars
from handlebars import Handlebars
template = Handlebars.compile( "Name: {{name}}" )
template({ "name": "Jane" })
# returns: 'Name: Jane'
Development
pip install -e .[dev]
Test
pytest
Metadata
Release files for handlebars 4.7.8.post20241027
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| handlebars-4.7.8.post20241027.tar.gz | 69.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| handlebars-4.7.8.post20241027-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 135.7 kB
Release files / handlebars-4.7.8.post20241027.tar.gz
| Download URL | handlebars-4.7.8.post20241027.tar.gz |
|---|---|
| Size | 69.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e6e341b95d429b589fe9df881dedd34ac558c91b5c3412433968f85a289baff
|
|
BLAKE2b-256 checksum How to use checksums |
ce5cc096425ab6782dabbf9a7171db0a75565bdd5249d30cbc7e9972aebc7043
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Release files / handlebars-4.7.8.post20241027-py3-none-any.whl
| Download URL | handlebars-4.7.8.post20241027-py3-none-any.whl |
|---|---|
| Size | 66.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5cfa16cb0d6b3eefea7ed4909c603cfb06d69955141e523053b180821e925d91
|
|
BLAKE2b-256 checksum How to use checksums |
0505bf995eda7d8a0d2f3b6ea249ffdd653ce8ce21e86914d9eeab691ab51e39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|