Skip to main content

JONF parser/formatter in Python

Project description

JONF parser/formatter in Python

NOTE: This is an early alpha version

# pip install jonf

import jonf, textwrap

text = textwrap.dedent(
    compare =
      - true
      = true

data = {
    "compare": [

# assert jonf.parse(text) == data

assert jonf.format(data) == text



compare =
  - true
  = true

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

jonf-0.0.6.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

jonf-0.0.6-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

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