Skip to main content

PyVili is a Python API to manipulate Vili Data files

Project description

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

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

vili-1.1.0.tar.gz (6.6 kB view hashes)

Uploaded Source

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