PyObjectTrees - Megingiard

Provides path-like addressing of object trees

Add a Review
0 Downloads (This Week)
Last Update:
  Browse Code Git Repository

Screenshots

Description

The module PyObjectTrees - pyobjtrees - provides path like access with customizable implict creation of tree members.

The design is inspired by object management trees for ITU-T standards, but provides a basic layer for any generic data in tree structure.

The short example for now is (update is going to follow soon):

The call:
A=OmAttributesTree()
A[key0][key1][key3][key4]='It's me!'

creates:
A={key0:{key1:{key3:{key4:'It's me!'}}}}

The call
B=OmAttributesTree()
B[key0][[key1a,key1b,ke1c]][key3][key4]='It's one of mine!'

creates:
B={key0:{
key1a:{key3:{key4:'It's one of mine!'}}
key1b:{key3:{key4:'It's one of mine!'}}
key1c:{key3:{key4:'It's one of mine!'}}
}
}

Just a few of resulting shortcuts, following data types are supported:
constructed: list, dictionary
scalars: any Python type including constructred.

***UPDATE SOON***
V1.0 - Megingiard

PyObjectTrees - Megingiard Web Site

Update Notifications





Write a Review

User Reviews

Be the first to post a review of PyObjectTrees - Megingiard!

Additional Project Details

Languages

English, French, German, Turkish

Intended Audience

Advanced End Users, Developers, Information Technology, Architects, Science/Research, Telecommunications Industry

Programming Language

Python

Registered

2012-04-01
Screenshots can attract more users to your project.
Features can attract more users to your project.

Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.