DataTree

Software Screenshot:
DataTree
Software Details:
Version: 0.1.8.1
Upload Date: 12 May 15
Developer: Jason Webb
Distribution Type: Freeware
Downloads: 9

Rating: nan/5 (Total Votes: 0)

DataTree is a DSL for creating structured documents in Python inspired by Rubys Builder, but supporting many structured output formats.

Example:

A small example:

        from datatree import Node

    author = Node('author')
    author.name('Terry Pratchett')
    author.genere('Fantasy/Comedy')
    with author.novels(count=2) as novels:
        novels.novel("Small Gods", year=1992)
        novels.novel("The Fifth Elephant", year=1999)

    print author.render()


Which produces:

    < author >
          < name >Terry Pratchett< /name >
          < genere >Fantasy/Comedy< /genere >
          < novels count="2" >
                < novel year="1992" >Small Gods< /novel >
                < novel year="1999" >The Fifth Elephant< /novel >
          < /novels >
    < /author >

Requirements:

  • Python

Limitations:

  • This project is a work in progress and not ready for use yet.

Similar Software

omega t+
omega t+

3 Jun 15

WIX
WIX

3 Jun 15

dvidraw
dvidraw

20 Feb 15

Comments to DataTree

Comments not found
Add Comment
Turn on images!