All Projects → pycontribs → ruyaml

pycontribs / ruyaml

Licence: MIT license
ruyaml is a openly maintained fork of elusive ruamel-yaml package that can be used as as a drop-in replacement.

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to ruyaml

write-yaml
Basic node.js utility for converting JSON to YAML and writing formatting YAML files to disk.
Stars: ✭ 38 (-36.67%)
Mutual labels:  yaml
config-cpp
C++ Configuration management library inspired by the Viper package for golang.
Stars: ✭ 21 (-65%)
Mutual labels:  yaml
pipeline-as-yaml-plugin
Jenkins Pipeline As Yaml Plugin
Stars: ✭ 111 (+85%)
Mutual labels:  yaml
rel
command line tool for managing personal graphs of anything and writing them to dot
Stars: ✭ 51 (-15%)
Mutual labels:  yaml
compose-generator
🐳 Easy to use cli tool to generate Docker Compose configurations
Stars: ✭ 111 (+85%)
Mutual labels:  yaml
jr.mitou.org
未踏ジュニアの公式Webサイトです! YAML ファイルで更新できます 🛠💨
Stars: ✭ 17 (-71.67%)
Mutual labels:  yaml
Rocket
Define your release steps 🚀
Stars: ✭ 99 (+65%)
Mutual labels:  yaml
Finelines
YAML pipelines as proper code.
Stars: ✭ 60 (+0%)
Mutual labels:  yaml
fix2json
A command-line utility to present FIX protocol messages as JSON or YAML
Stars: ✭ 44 (-26.67%)
Mutual labels:  yaml
dif
'dif' is a Linux preprocessing front end to gvimdiff/meld/kompare
Stars: ✭ 18 (-70%)
Mutual labels:  yaml
ADLES
Automated Deployment of Lab Environments System (ADLES)
Stars: ✭ 28 (-53.33%)
Mutual labels:  yaml
luban
你的最佳游戏配置解决方案 {excel, csv, xls, xlsx, json, bson, xml, yaml, lua, unity scriptableobject} => {json, bson, xml, lua, yaml, protobuf(pb), msgpack, flatbuffers, erlang, custom template} data + {c++, java, c#, go(golang), lua, javascript(js), typescript(ts), erlang, rust, gdscript, protobuf schema, flatbuffers schema, custom template} code。
Stars: ✭ 1,660 (+2666.67%)
Mutual labels:  yaml
ad localize
ADLocalize is a simple way to manage your localization files. Supported wording sources : CSVs and Google Sheets. Localization file generation available for iOS, Android, JSON (i18next), YAML and Java properties
Stars: ✭ 22 (-63.33%)
Mutual labels:  yaml
idr-metadata
Curated metadata for all studies published in the Image Data Resource
Stars: ✭ 12 (-80%)
Mutual labels:  yaml
QRCodeReader
🔳 The Aim of the project is to detect and extract QR code from the images
Stars: ✭ 81 (+35%)
Mutual labels:  yaml
Ubigeo-Peru
Base de datos de departamentos, provincias y distritos del Perú (UBIGEO) actualizada al 2019 (El INEI ha actualizado hasta el 2016). SQL, JSON, XML, CSV, Arreglos PHP, YAML.
Stars: ✭ 113 (+88.33%)
Mutual labels:  yaml
yaml-include
Valid, modular YAML documents with js-yaml. Seriously.
Stars: ✭ 39 (-35%)
Mutual labels:  yaml
caojiele.github.io
My Blog / Jekyll Themes
Stars: ✭ 27 (-55%)
Mutual labels:  yaml
django-yamlfield
A Django database field for storing YAML data
Stars: ✭ 31 (-48.33%)
Mutual labels:  yaml
ccheck
A command line tool for validating Kubernetes configs with rego
Stars: ✭ 63 (+5%)
Mutual labels:  yaml

ruyaml

ruyaml package is a fork of ruamel.yaml aimed to made in order to secure the future of the library, mainly by having a pool of maintainers.

Notes

  • The current version has the same API as the "ruamel.yaml" package. However, it will install the ruyaml python module. Thus, simply replace from ruamel import yaml with import ruyaml as yaml (or equivalent) and you're all set.
  • python3.6 is the minimal version of python supported
version:0.90.1
updated:2021-06-10
documentation:http://ruyaml.readthedocs.io
repository:https://github.com/pycontribs/ruyaml.git
pypi:https://pypi.org/project/ruyaml/

The 0.16.13 release was the last that was tested to be working on Python 2.7. The 0.17 series will still be tested on Python 3.5, but the 0.18 will not. The 0.17 series will also stop support for the old PyYAML functions, so a `YAML()` instance will need to be created.

The 0.17 series will also see changes in how comments are attached during roundtrip. This will result in backwards incompatibilities on the `.ca` data and it might even be necessary for documented methods that handle comments.

Please adjust your dependencies accordingly if necessary. (`ruamel.yaml<0.17`)

Starting with version 0.15.0 the way YAML files are loaded and dumped has been changing, see the API doc for details. Currently existing functionality will throw a warning before being changed/removed. For production systems already using a pre 0.16 version, you should pin the version being used with ``ruamel.yaml<=0.15`` if you cannot fully test upgrading to a newer version. For new usage pin to the minor version tested ( ruamel.yaml<=0.17) or even to the exact version used.

New functionality is usually only available via the new API, so make sure you use it and stop using the ruamel.yaml.safe_load(), ruamel.yaml.round_trip_load() and ruamel.yaml.load() functions (and their ....dump() counterparts).

If your package uses ruamel.yaml and is not listed on PyPI, drop me an email, preferably with some information on how you use the package (or a link to the repository) and I'll keep you informed when the status of the API is stable enough to make the transition.

https://readthedocs.org/projects/yaml/badge/?version=stable https://bestpractices.coreinfrastructure.org/projects/1128/badge https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree/_doc/_static/license.svg?format=raw https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree/_doc/_static/pypi.svg?format=raw https://sourceforge.net/p/oitnb/code/ci/default/tree/_doc/_static/oitnb.svg?format=raw

ChangeLog

0.17.17 (2021-10-31):
  • extract timestamp matching/creation to util
0.17.16 (2021-08-28):
  • 398 also handle issue 397 when comment is newline
0.17.15 (2021-08-28):
  • fix issue 397, insert comment before key when a comment between key and value exists (reported by Bastien gerard)
0.17.14 (2021-08-25):
  • fix issue 396, inserting key/val in merged-in dictionary (reported by Bastien gerard)
0.17.13 (2021-08-21):
  • minor fix in attr handling
0.17.12 (2021-08-21):
  • fix issue with anchor on registered class not preserved and those classes using package attrs with @attr.s() (both reported by ssph)
0.17.11 (2021-08-19):
  • fix error baseclass for DuplicateKeyErorr (reported by Łukasz Rogalski)
  • fix typo in reader error message, causing KeyError during reader error (reported by MTU)
0.17.10 (2021-06-24):
  • fix issue 388, token with old comment structure != two elements (reported by Dimitrios Bariamis)
0.17.9 (2021-06-10):
  • fix issue with updating CommentedMap (reported by sri on StackOverflow)
0.17.8 (2021-06-09):
  • fix for issue 387 where templated anchors on tagged object did get set resulting in potential id reuse. (reported by Artem Ploujnikov)
0.17.7 (2021-05-31):
  • issue 385 also affected other deprecated loaders (reported via email by Oren Watson)
0.17.6 (2021-05-31):
  • merged type annotations update provided by Jochen Sprickerhof
  • fix for issue 385: deprecated round_trip_loader function not working (reported by Mike Gouline)
  • wasted a few hours getting rid of mypy warnings/errors
0.17.5 (2021-05-30):
  • fix for issue 384 !!set with aliased entry resulting in broken YAML on rt reported by William Kimball)
0.17.4 (2021-04-07):
  • prevent (empty) comments from throwing assertion error (issue 351 reported by William Kimball) comments (or empty line) will be dropped
0.17.3 (2021-04-07):
  • fix for issue 382 caused by an error in a format string (reported by William Kimball)
  • allow expansion of aliases by setting yaml.composer.return_alias = lambda s: copy.deepcopy(s)
    (as per Stackoverflow answer)
0.17.2 (2021-03-29):
  • change -py2.py3-none-any.whl to -py3-none-any.whl, and remove 0.17.1
0.17.1 (2021-03-29):
  • added 'Programming Language :: Python :: 3 :: Only', and removing 0.17.0 from PyPI (reported by Alasdair Nicol)
0.17.0 (2021-03-26):
  • removed because of incomplete classifiers
  • this release no longer supports Python 2.7, most if not all Python 2 specific code is removed. The 0.17.x series is the last to support Python 3.5 (this also allowed for removal of the dependency on ruamel.std.pathlib)
  • remove Python2 specific code branches and adaptations (u-strings)
  • prepare % code for f-strings using _F
  • allow PyOxidisation (issue 324 resp. issue 171)
  • replaced Python 2 compatible enforcement of keyword arguments with '*'
  • the old top level functions load, safe_load, round_trip_load, dump, safe_dump, round_trip_dump, scan, parse, compose, emit, serialize as well as their _all variants for multi-document streams, now issue a PendingDeprecationning (e.g. when run from pytest, but also Python is started with -Wd). Use the methods on YAML(), which have been extended.
  • fix for issue 376: indentation changes could put literal/folded scalar to start before the # column of a following comment. Effectively making the comment part of the scalar in the output. (reported by Bence Nagy)
0.16.13 (2021-03-05):
  • fix for issue 359: could not update() CommentedMap with keyword arguments (reported by Steve Franchak)
  • fix for issue 365: unable to dump mutated TimeStamp objects (reported by Anton Akmerov <https://sourceforge.net/u/akhmerov/>`__)
  • fix for issue 371: unable to addd comment without starting space (reported by 'Mark Grandi <https://sourceforge.net/u/mgrandi>`__)
  • fix for issue 373: recursive call to walk_tree not preserving all params (reported by eulores)
  • a None value in a flow-style sequence is now dumped as null instead of !!null '' (reported by mcarans on StackOverflow)
0.16.12 (2020-09-04):
  • update links in doc
0.16.11 (2020-09-03):
0.16.10 (2020-02-12):
  • (auto) updated image references in README to sourceforge
0.16.9 (2020-02-11):
  • update CHANGES
0.16.8 (2020-02-11):
  • update requirements so that ruamel.yaml.clib is installed for 3.8, as it has become available (via manylinux builds)
0.16.7 (2020-01-30):
  • fix typchecking issue on TaggedScalar (reported by Jens Nielsen)
  • fix error in dumping literal scalar in sequence with comments before element (reported by EJ Etherington)
0.16.6 (2020-01-20):
  • fix empty string mapping key roundtripping with preservation of quotes as ? '' (reported via email by Tomer Aharoni).
  • fix incorrect state setting in class constructor (reported by Douglas Raillard)
  • adjust deprecation warning test for Hashable, as that no longer warns (reported by Jason Montleon)
0.16.5 (2019-08-18):
  • allow for YAML(typ=['unsafe', 'pytypes'])
0.16.4 (2019-08-16):
  • fix output of TAG directives with # (reported by Thomas Smith)
0.16.3 (2019-08-15):
  • split construct_object
  • change stuff back to keep mypy happy
  • move setting of version based on YAML directive to scanner, allowing to check for file version during TAG directive scanning
0.16.2 (2019-08-15):
  • preserve YAML and TAG directives on roundtrip, correctly output # in URL for YAML 1.2 (both reported by Thomas Smith)
0.16.1 (2019-08-08):
  • Force the use of new version of ruamel.yaml.clib (reported by Alex Joz)
  • Allow '#' in tag URI as these are allowed in YAML 1.2 (reported by Thomas Smith)
0.16.0 (2019-07-25):
  • split of C source that generates .so file to ruamel.yaml.clib
  • duplicate keys are now an error when working with the old API as well

For older changes see the file CHANGES

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].