NEON parser for Python
Project description
NEON is very similar to YAML. The main difference is that the NEON supports “entities” (so can be used e.g. to parse phpDoc annotations) and tab characters for indentation. NEON syntax is a little simpler.
Example of Neon code:
# neon example name: Homer address: street: 742 Evergreen Terrace city: Springfield children: + Bart + Lisa + Maggie entity: Column(type=integer)
Installation
To install NEON parser for Python, simply run:
$ pip install neon-py
Quickstart
Decoding NEON config files is super easy:
import neon
with open('/path/to/config.neon', 'r') as fd:
config = neon.decode(fd.read())
Links
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
neon-py-0.1.3.tar.gz
(8.6 kB
view details)
File details
Details for the file neon-py-0.1.3.tar.gz
.
File metadata
- Download URL: neon-py-0.1.3.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a6a1e2c64a95c9455d85f123a927810d2f4d7253ec14ec86583929dda36e9d5 |
|
MD5 | f66808815057dd77ebc696a5e54f826a |
|
BLAKE2b-256 | 4d25dc0121748240c80ebdf64fdc5d2595ed4b83a2db0d85e5e42912704c244b |