Skip to main content

Python 3-based commandline converter YAML ↔ JSON ↔ PLIST

Project description

yaplon

Convert between JSON, YAML and PLIST (binary and XML) in the commandline. Can be used in piping. Written in Python 3.7 (not 2.7 compatible).

Installation

Install the release version:

pip3 install --user --upgrade yaplon

Install the development version:

pip3 install --user --upgrade git+https://github.com/twardoch/yaplon

Usage

yaplon j2p|j2y|p2j|p2y|y2j|y2p -i input -o output [options]

Commands:
  j2p  -i JSON -o PLIST [-b] (make binary PLIST)
  j2y  -i JSON -o YAML [-m] (minify YAML)
  p2j  -i PLIST -o JSON [-b] (keep binary in JSON)
  p2y  -i PLIST -o YAML [-m] (minify YAML)
  y2j  -i YAML -o JSON [-b] (keep binary in JSON)
  y2p  -i YAML -o PLIST [-b] (make binary PLIST)

Also installs direct CLI tools: json22plist, json22yaml, plist22json, plist22yaml, yaml22json, yaml22plist.

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

yaplon-1.0.1.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

yaplon-1.0.1-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file yaplon-1.0.1.tar.gz.

File metadata

  • Download URL: yaplon-1.0.1.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for yaplon-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e7625e4bc17bd6abe68b0abe2fb695891b50102a599ac6309fba6895d75f05b1
MD5 0e0baaabf7304a74c549a48838908489
BLAKE2b-256 4f3cab4bebaaabecc623cf9aa35686b04f5896748cfb5a3066a4f7e94a595327

See more details on using hashes here.

Provenance

File details

Details for the file yaplon-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: yaplon-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for yaplon-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9dc7cea9ceaedf03fd71be7b34fbfd5757b8d0c78198a6d920a50ffe0ed1d4d3
MD5 a74d7b538f728dd8c3554aa7d6702b22
BLAKE2b-256 57526a127007d4188701ac0bbde9930da0d56bc6b25a85fe9492ab450876db3e

See more details on using hashes here.

Provenance

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