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
Release files for neon-py 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| neon-py-0.2.1.tar.gz | 13.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| neon_py-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.8 kB
Release files / neon-py-0.2.1.tar.gz
| Download URL | neon-py-0.2.1.tar.gz |
|---|---|
| Size | 13.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b9d0ad355aa593efa6fb4689d6a86ae3ff696e41a1a8efd110378f577b87895
|
|
BLAKE2b-256 checksum How to use checksums |
a0f0d5bf9ab04fdba41624cd52c9a651691a5f51b428d887925375cc472ecb9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / neon_py-0.2.1-py3-none-any.whl
| Download URL | neon_py-0.2.1-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
95b00d83a35a8cc0d0a0d1a27cebbabde20c689d679db2c4ef4c74d097df99f5
|
|
BLAKE2b-256 checksum How to use checksums |
b6a54654038ccc62f819ed89824718a68ab95a093fd48ac96188453ed14087aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|