handlebars.js transpiled to python with js2py
Project description
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]
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 Distribution
handlebars-4.7.8.tar.gz
(67.8 kB
view details)
Built Distribution
File details
Details for the file handlebars-4.7.8.tar.gz
.
File metadata
- Download URL: handlebars-4.7.8.tar.gz
- Upload date:
- Size: 67.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81ee55def1004db64acff91caf642dc41f286cee56b1841005446f16f05c908d |
|
MD5 | 3d49c6a0d4aab6f291d3507f0bf5cbc5 |
|
BLAKE2b-256 | c03e0e36a30df2416f5590d6edf0cf0a33630e266bcb0781674ac674142193fd |
File details
Details for the file handlebars-4.7.8-py3-none-any.whl
.
File metadata
- Download URL: handlebars-4.7.8-py3-none-any.whl
- Upload date:
- Size: 65.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efd19894ec774567bdd59ad62ca834d93a63627708eec809700bc6007d55b5cc |
|
MD5 | cf521a79a46549ae1e4758b25706e8f5 |
|
BLAKE2b-256 | 80674cc8f1d0a2728f100dcdd20008e386800924e57fcd72e727c9c2ad621805 |