Skip to main content

Converts ReStructuredText into JSON

Project description

Converts ReStructuredText into JSON.

Usage

Input

Python
------
:age: 22
:typing: dynamic, strong

Java
----
:age: 18
:typing: static, strong

Output

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

Try it out!

$ git clone git@github.com:pydanny/simplicity.git
$ cd simplicity/
$ python simplicity.py sample.rst
<type 'str'>
[{"Python": {"age": 22, "typing": "dynamic, strong"}},
{"Java ": {"age": 18, "typing": "static, strong"}},
{"GitHub": {"url": "https://github.com",
    "description": "Build software better, together."}}]

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


Download files

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

Source Distribution

simplicity-0.4.0.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file simplicity-0.4.0.tar.gz.

File metadata

  • Download URL: simplicity-0.4.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for simplicity-0.4.0.tar.gz
Algorithm Hash digest
SHA256 888f35964267338ce267efda226176b2ae975bcd9817e25618ba43c36c09f75c
MD5 e3819e4943d05a558e5becdb7f6087e8
BLAKE2b-256 069bb36e2baec5bf7e352cc4584b58148617d59b5805471872ae8c0ccde3a9e8

See more details on using hashes here.

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