Skip to main content

NEON for Python

Test

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)

Source distribution for neon-py 0.2.1
File Size Uploaded
neon-py-0.2.1.tar.gz 13.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for neon-py 0.2.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page