Skip to main content

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.

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

explode-1.0.3.tar.gz (9.8 kB view details)

Uploaded Source

File details

Details for the file explode-1.0.3.tar.gz.

File metadata

  • Download URL: explode-1.0.3.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for explode-1.0.3.tar.gz
Algorithm Hash digest
SHA256 f1c26e35e864d6e7615782ebba510e0772e13005743ce5451c68b75d0203d9ad
MD5 3cd64518cddd2f1877165e25c15049c0
BLAKE2b-256 09e0405f2153241a23f116ee99803c6d1408882888e6c80a39904674f5d2c6f0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page