DataTree

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

Rating: 3.0/5 (Total Votes: 1)

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

netdiag
netdiag

11 May 15

vimdown
vimdown

14 Apr 15

Atomsphere
Atomsphere

14 Apr 15

mdxflavours
mdxflavours

14 Apr 15

Comments to DataTree

Comments not found
Add Comment
Turn on images!