Skip to main content

python-json2yaml

https://travis-ci.org/appstore-zencore/python-json2yaml.svg?branch=master

A simple command that turn json data to yaml format and vice versa. It can be used in Linux, MacOS and Window.

Install

pip install python-json2yaml

Commands

  • json2yaml

  • yaml2json

Command Helpers

E:\code\zencore-json2yaml\test>json2yaml --help
Usage: json2yaml [OPTIONS] [SRC] [DST]

Options:
--help  Show this message and exit.

E:\code\zencore-json2yaml\test>yaml2json --help
Usage: yaml2json [OPTIONS] [SRC] [DST]

Options:
--help  Show this message and exit.

Command Examples

  1. Read json text from stdin and print yaml text to stdout

cat a.json | json2yaml
  1. Read json text from stdin and print yaml text to a file

cat a.json | json2yaml - a.txt
  1. Read json text from a file and print yaml text to another file

json2yaml a.json a.txt

Metadata

Release files for python-json2yaml 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-json2yaml 0.1.1
File Size Uploaded Provenance Actions
python-json2yaml-0.1.1.tar.gz 2.1 kB Without provenance Details for python-json2yaml-0.1.1.tar.gz

Release files / python-json2yaml-0.1.1.tar.gz

Download URL python-json2yaml-0.1.1.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
af9aaa83877c2f38751f76d2135be220d1f30f29a5bea264aa5a14a846a1763a
BLAKE2b-256 checksum
How to use checksums
05cb01ee6bd19f4b74e24e68c30fc0df369860d2025b07f23d4bfbbf10d9e15a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.7

Security for python-json2yaml 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page