Skip to main content

Sane default for YAML dump

Project description

# yaml dump

  • Unicode as utf8

  • Keep order of OrderedDict

# INSTALL

pip install yaml_dump

# USAGE

from yaml_dump import yaml_dump print(yaml_dump(dict(a=1,b=[1,2,3],c=”한글”)))

# EXAMPLE OUTPUT

a: 1 b: - 1 - 2 - 3 c: 한글

History

0.1.0 (2017-01-11)

  • First release on PyPI.

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

yaml_dump-0.3.0.tar.gz (11.7 kB view hashes)

Uploaded Source

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