Skip to main content

ruamel.yaml

ruamel.yaml is a YAML 1.2 loader/dumper package for Python.

https://readthedocs.org/projects/yaml/badge/?version=stable

ChangeLog

0.12.11 (2016-09-06):
 - Fix issue 58 endless loop in scanning tokens (reported by
   Christopher Lambert)

0.12.10 (2016-09-05):
 - Make previous fix depend on unicode char width (32 bit unicode support
   is a problem on MacOS reported by David Tagatac)

0.12.8 (2016-09-05):
   - To be ignored Unicode characters were not properly regex matched
     (no specific tests, PR by Haraguroicha Hsu)

0.12.7 (2016-09-03):
   - fixing issue 54 empty lines with spaces (reported by Alex Harvey)

0.12.6 (2016-09-03):
   - fixing issue 46 empty lines between top-level keys were gobbled (but
     not between sequence elements, nor between keys in netsted mappings
     (reported by Alex Harvey)

0.12.5 (2016-08-20):
  - fixing issue 45 preserving datetime formatting (submitted by altuin)
    Several formatting parameters are preserved with some normalisation:
    - preserve 'T', 't' is replaced by 'T', multiple spaces between date
      and time reduced to one.
    - optional space before timezone is removed
    - still using microseconds, but now rounded (.1234567 -> .123457)
    - Z/-5/+01:00 preserved

0.12.4 (2016-08-19):
  - Fix for issue 44: missing preserve_quotes keyword argument (reported
    by M. Crusoe)

0.12.3 (2016-08-17):
  - correct 'in' operation for merged CommentedMaps in round-trip mode
    (implementation inspired by J.Ngo, but original not working for merges)
  - iteration over round-trip loaded mappings, that contain merges. Also
    keys(), items(), values() (Py3/Py2) and iterkeys(), iteritems(),
    itervalues(), viewkeys(), viewitems(), viewvalues() (Py2)
  - reuse of anchor name now generates warning, not an error. Round-tripping such
    anchors works correctly. This inherited PyYAML issue was brought to attention
    by G. Coddut (and was long standing https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=515634)
    suppressing the warning:
        import warnings
        from ruamel.yaml.error import ReusedAnchorWarning
        warnings.simplefilter("ignore", ReusedAnchorWarning)

0.12.2 (2016-08-16):
  - minor improvements based on feedback from M. Crusoe
    https://bitbucket.org/ruamel/yaml/issues/42/

0.12.0 (2016-08-16):
  - drop support for Python 2.6
  - include initial Type information (inspired by M. Crusoe)

0.11.15 (2016-08-07):
  - Change to prevent FutureWarning in NumPy, as reported by tgehring
  ("comparison to None will result in an elementwise object comparison in the future")

0.11.14 (2016-07-06):
  - fix preserve_quotes missing on original Loaders (as reported
    by Leynos, bitbucket issue 38)

0.11.13 (2016-07-06):
  - documentation only, automated linux wheels

0.11.12 (2016-07-06):
  - added support for roundtrip of single/double quoted scalars using:
    ruamel.yaml.round_trip_load(stream, preserve_quotes=True)

0.11.0 (2016-02-18):
  - RoundTripLoader loads 1.2 by default (no sexagesimals, 012 octals nor
    yes/no/on/off booleans

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ruamel.yaml-0.12.12.tar.gz (228.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

ruamel.yaml-0.12.12-cp35-cp35m-manylinux1_x86_64.whl (531.2 kB view details)

Uploaded CPython 3.5m

ruamel.yaml-0.12.12-cp34-cp34m-manylinux1_x86_64.whl (537.8 kB view details)

Uploaded CPython 3.4m

ruamel.yaml-0.12.12-cp33-cp33m-manylinux1_x86_64.whl (511.9 kB view details)

Uploaded CPython 3.3m

ruamel.yaml-0.12.12-cp27-cp27mu-manylinux1_x86_64.whl (507.9 kB view details)

Uploaded CPython 2.7mu

ruamel.yaml-0.12.12-cp27-cp27m-manylinux1_x86_64.whl (507.9 kB view details)

Uploaded CPython 2.7m

File details

Details for the file ruamel.yaml-0.12.12.tar.gz.

File metadata

  • Download URL: ruamel.yaml-0.12.12.tar.gz
  • Upload date:
  • Size: 228.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ruamel.yaml-0.12.12.tar.gz
Algorithm Hash digest
SHA256 096ff29bcb2bb11a4d0eb0240359fe5603f3965ae1c0613f00aa751148822eaa
MD5 456c486709aa37a01e2f69124b100402
BLAKE2b-256 4982a69c4fe175aaa01911ec0269d0e305c232ae22fe6ba5d1673d4b0d4fab47

See more details on using hashes here.

File details

Details for the file ruamel.yaml-0.12.12-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for ruamel.yaml-0.12.12-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 615c087793f767053df6fdef9b73a86daf8538b76d13343cd9d7c954bfc7a755
MD5 853ebf2fa91edda3de528e477765a514
BLAKE2b-256 abbfb1614bfa4e8a5f0502ce83363ffa334cd2d25894dd4854475a3cd8a7f3c3

See more details on using hashes here.

File details

Details for the file ruamel.yaml-0.12.12-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for ruamel.yaml-0.12.12-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0a0e18a3e10bb7c9572c70204bd563451aa4bc3c5713f4695c28ff5ae314d243
MD5 59f17f248d84daabbed59dc4bb14dca1
BLAKE2b-256 e36b6763825651c6583eeeab9798bed8d82f3fff2a42a1c35bc2b70089a6f7bd

See more details on using hashes here.

File details

Details for the file ruamel.yaml-0.12.12-cp33-cp33m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for ruamel.yaml-0.12.12-cp33-cp33m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 418eb7e57351cbe7536b99682c47fa8327938379989bd17c97c66486aea9657a
MD5 16a34a4d7e2a5697a5bae37dc43e996e
BLAKE2b-256 0d3f4cf6b29bca0c4b526a03d94d73bce79d00900928e56fc70347f8d2658c08

See more details on using hashes here.

File details

Details for the file ruamel.yaml-0.12.12-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for ruamel.yaml-0.12.12-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 92e99db7d49c8247ece573019b6d6bcc5f97f9227a0cef7825bcb615c104a39a
MD5 519f42b0de2c8cfdfc47f8a081590b4a
BLAKE2b-256 8f68b654f48d2f770ee44cf2286516bb340a72df34a4e0ff4eec2c9f49810eb3

See more details on using hashes here.

File details

Details for the file ruamel.yaml-0.12.12-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for ruamel.yaml-0.12.12-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 96a7eb5227fa4d83d2c36f476ca0525f9414e7850e3ab6049b387b3316e34312
MD5 b7f91daef4ebcb7c958381c00ccae290
BLAKE2b-256 da8d28add96d3e2d8b9ce584a9ba0c0d215e0c0beba3f9b198a350ae89ce000e

See more details on using hashes here.

Release history Release notifications | RSS feed

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