Skip to main content

Converts ReStructuredText into JSON

Project description

Converts ReStructuredText into JSON.

  • Sections are JSON list dictionary elements

  • Section Headers become list titles.

  • Field definitions become key/value representations



:age: 22
:typing: dynamic, strong

:age: 18
:typing: static, strong


    {"title": "Python", "age": 22, "typing": "dynamic, strong"}
    {"title": "Java", "age": 18, "typing": "static, strong"}


$ git clone
$ cd simplicity/
$ python sample.rst
<type 'str'>
[{"age": 22, "typing": "dynamic, strong", "mascot": "snake", "title": "Python"},
    {"age": 18, "typing": "static, strong", "mascot": "???", "title": "Java "},
    {"url": "",
        "mascot": "Octocat",
        "description": "Build software better, together.\nRuns with git or svn",
        "title": "GitHub"}]

Best Used With

Simplicity is designed to be used with these packages:

  • Complexity: A refreshingly simple static site generator, for those who like to work in HTML.

  • redis-py: Redis Python Client

Know of any other good uses for Simplicity? Let me know and I’ll add it to the list!


0.6.0 (2013-07-19)

  • Support for multi-line strings

0.5.1 (2013-07-16)

  • Fighting poorly documented issues. :P

0.5.0 (2013-07-16)

  • API Change for easier-to-navigate result data

0.4.2 (2013-07-15)

  • Fix console script entry point

0.4.1 (2013-07-15)

  • History update

0.4.0 (2013-07-15)

  • added type converter

0.3.0 (2013-07-15)

  • Accepts command-line argument

0.2.0 (2013-07-15)

  • Working prototype

0.1.0 (2013-07-15)

  • Pain point

  • Inspiration

Project details

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page