Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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())
Release History

Release History

This version
History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
neon-py-0.1.3.tar.gz (8.6 kB) Copy SHA256 Checksum SHA256 Source Sep 27, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting