Simple lightweight data-interchange format, written in Python
Project description
EVE
EVE is an lightweight data-interchange format.
Import
You can install it with pip (https://pypi.org/project/evepy/)
pip install evepy
Or clone the repo and use the python file (eve.py
)
If none of them, you can also put the GitHub URL in your requirements.txt
file (https://pip.pypa.io/en/stable/user_guide/#requirements-files)
Example use
example.eve
[
@ This is a comment
@ String variables
'Name' :: 'Eric'
'Age' :: '21'
'Country' :: 'USA'
'City' :: 'New York'
@ Boolean variables
?hasGirlfriend = False
];
example.py
import evepy as eve
result = eve.load('example.eve')
print(result['Name'])
result['Age'] = '22'
eve.save(result, 'example.eve')
ATOM grammar syntax highlighting
- Copy the folder:
eve
in theeditors\atom
folder - Paste that to the
.atom
folder inC:\Users\yourusername\.atom\packages
- Now restart ATOM and it should work
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
evepy-1.5.tar.gz
(4.6 kB
view hashes)