Skip to content
/ PyVili Public

PyVili is a Python API to manipulate Vili Data files

License

Notifications You must be signed in to change notification settings

ViliOrg/PyVili

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyVili

PyVili is a Python API to manipulate Vili Data files

You can install it using the following command : pip install vili

What does vili files look likes ?

Person: # This is how you define a ComplexNode (object)
    animal:"Homo Sapiens" # You can use strings
    legs:2 # And also integers
    arms:2

Cat:
    animal:"Felis silvestris catus"
    legs:4

Jack(Person):
    criminal:True # You can use booleans (True / False)
    age:32
    name:"Jack"
    surname:"Sparrow"
    weight:76.4 # Vili also support floats

Billy(Cat):
    activities:[ # A simple list
        "Chasing mice",
        "Eating food"
        "Sleeping"
    ]

House:
    inhabitants:
        billy:&Billy # You can reference an existing object
        jack:&Jack

About

PyVili is a Python API to manipulate Vili Data files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages