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!

Explode python data, yaml or json into flat files in directories

Project Description

Sometimes you need to drop some data onto a server.

YAML and JSON are both great for that, except that they suck to be consumed in shell scripts. jq is an excellent tool for consuming parts of a JSON file in a shell script, but similar to find it has its own syntax and semantics that need to be learned.

Shell scripts are already great at consuming text files and processing directory trees, and if you need to do fancy things and you’re doing them in shell, you probably have already learned all of the finer points of find.

explode will take a JSON or a YAML file and turn it into a directory structure with simple text files containing the values. Dictionary keys become directories. Lists become directories named for the list index. Booleans are rendered as True or False. There is no support for anything else.

Release History

Release History

This version
History Node

1.0.6

History Node

1.0.5

History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

History Node

d9e6caf

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
explode-1.0.6.tar.gz (9.8 kB) Copy SHA256 Checksum SHA256 Source Dec 11, 2014

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