Skip to main content

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 parse phpDoc annotations) and tab characters for indentation. NEON syntax is a little simpler.

Example of Neon code:

# neon example

name: Homer


    street: 742 Evergreen Terrace
    city: Springfield


    + Bart
    + Lisa
    + Maggie

entity: Column(type=integer)


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(


Project details

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.2.1.tar.gz (13.0 kB view hashes)

Uploaded source

Built Distribution

neon_py-0.2.1-py3-none-any.whl (9.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page