https://github.com/viliorg/pyvili
PyVili is a Python API to manipulate Vili Data files
https://github.com/viliorg/pyvili
Last synced: 4 months ago
JSON representation
PyVili is a Python API to manipulate Vili Data files
- Host: GitHub
- URL: https://github.com/viliorg/pyvili
- Owner: ViliOrg
- License: mit
- Created: 2017-09-15T22:12:41.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-04-06T00:31:35.000Z (over 7 years ago)
- Last Synced: 2025-10-31T00:34:53.953Z (9 months ago)
- Language: Python
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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 ?
```yaml
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
```