New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

explode

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

explode

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

  • 1.0.6
  • PyPI
  • Socket score

Maintainers
1

======= explode

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.

  • Free software: Apache license
  • Source: http://github.com/emonty/explode

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc