Skip to main content

zeam.jsontemplate

Introduction

This library packages a patched version of json template for fanstatic. This behaved exactly like the official version, except it add an option undefined_callable that is a function that will be called in case of an undefined value, to return the value to be use.

This requires integration between your web framework and fanstatic, and making sure that the original resources (shipped in the resources directory in zeam.jsontemplate) are published to some URL.

How to use?

You can import jsontemplate from zeam.jsontemplate and need it where you want these resources to be included on a page:

>>> from zeam.jsontemplate import jsontemplate
>>> jsontemplate.need()

CHANGES

0.1 (2011/11/07)

  • Initial release.

Metadata

Release files for zeam.jsontemplate 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zeam.jsontemplate 0.1
File Size Uploaded
zeam.jsontemplate-0.1.tar.gz 9.7 kB Details

Release files / zeam.jsontemplate-0.1.tar.gz

Download URL zeam.jsontemplate-0.1.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f79235e8ca942ec325c60e0cee621e3b97ecad54db6715fc521c3c2d78b18ac8
BLAKE2b-256 checksum
How to use checksums
2e500958f2ae30eb92c7d3278996d9dba30701ec8d3031bde2ba1d46d1b8cdbf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page