NEON parser for Python
Project description
NEON for Python
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
Quick start
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file neon-py-0.2.1.tar.gz.
File metadata
- Download URL: neon-py-0.2.1.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b9d0ad355aa593efa6fb4689d6a86ae3ff696e41a1a8efd110378f577b87895
|
|
| MD5 |
4945e31663d66e8b0a375945ce48fd29
|
|
| BLAKE2b-256 |
a0f0d5bf9ab04fdba41624cd52c9a651691a5f51b428d887925375cc472ecb9f
|
File details
Details for the file neon_py-0.2.1-py3-none-any.whl.
File metadata
- Download URL: neon_py-0.2.1-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95b00d83a35a8cc0d0a0d1a27cebbabde20c689d679db2c4ef4c74d097df99f5
|
|
| MD5 |
b21fbaab2e0387043293f7b45dfc0f74
|
|
| BLAKE2b-256 |
b6a54654038ccc62f819ed89824718a68ab95a093fd48ac96188453ed14087aa
|