Skip to main content

A declarative templating language based on JSON

Project description

JSON Template is a simple declarative template language based on JSON. It is designed to be easy to implement in multiple languages, including client-side javascript. This release only contains the official Python implementation of JSON Template.

For more about JSON Template, see:

http://json-template.googlecode.com

Testing

To test JSON template, go to the trunk of the development version of JSON template and do the following:

$ python jsontemplate_test.py

Also run the Python tests:

$ python jsontemplate_test.py --python

Also run the Python specific tests:

$ cd python/jsontemplate
$ python formatters_test.py
$ python jsontemplate_unittest.py

NOTE: While there are some tests included in the Python release, the tests won’t run with just the release. You need the whole checkout of the multi-language JSON Template in order to run the tests, not just the Python parts.

Changes

0.87

Applied patch that adds “provides” to setup.py.

0.86

Trying again.

0.85b3

Yet again adding CHANGES.txt.

0.85b2

Again adding CHANGES.txt.

0.85

JSON Template is usually released at: http://code.google.com/p/json-template/downloads/list

This is the first PyPI release in 2+ years as I am not a PyPI user myself (sorry). Lots of changes since the last PyPI release:

  • template styles

  • section “pre-formatters”

  • various tweaks and additions to the set of builtin formatters

  • multiline comment

  • whitespace options

doc/Design.txt has some skeletal notes.

(hg change set 434:d97224b19057, tag python-0.85)

0.5b2 (2009-05-27)

  • This release should actually be installable, as ‘CHANGES.txt’ is actually included.

0.5b1 (2009-05-14)

  • Initial public release on PyPI.

Download

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jsontemplate-0.87.tar.gz (27.1 kB view details)

Uploaded Source

File details

Details for the file jsontemplate-0.87.tar.gz.

File metadata

  • Download URL: jsontemplate-0.87.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for jsontemplate-0.87.tar.gz
Algorithm Hash digest
SHA256 18a3120d4428648a0d896ce518b146783f82ffdff48f912e628acf1394e1829a
MD5 3e1f0aeef46ea19a2c5676e214a370f6
BLAKE2b-256 98896caf1b6472b8ce5bcbd33eefd80d8ba12642260a864f18278fec7054fc42

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page