Zs-yaml

Latest version: v0.7.0

Safety actively analyzes 688476 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.7.0

What's Changed
* `extract_extern_as_yaml` supports compressed externals (gzip, zstd, lz4, brotli)
* `extract_extern_as_yaml` supports generating yamls without null-value fields
* New `py_eval` transformation function allows to generate node values by Python snippets

**Full Changelog**: https://github.com/ndsev/zs-yaml/compare/v0.6.1...v0.7.0

0.6.1

This release updates the minimum needed zserio version to 2.15.0 (latest release) and refines the interval to allow all future versions which don't break compatibility (incl. minor version updates).

**Full Changelog**: https://github.com/ndsev/zs-yaml/compare/v0.6.0...v0.6.1

0.6.0

This release fixes a crash which hides zserio exception messages in some cases.

0.5.0

This release add the `yaml_to_pyobj` conversion function (lib version only, not available via cli), which directly converts the read YAML to the corresponding zserio schema object.

0.4.0

We're excited to announce the first release of zs-yaml, a powerful tool that adds YAML as a text format for use with zserio, improving the user experience when creating or analyzing test data.

Features

- **YAML Format Support**: Use YAML's human-readable format instead of JSON as the primary format for editing, making data handling and transformation more intuitive and less cluttered.
- **Automatic Metadata Inclusion**: Metadata is automatically included in the YAML, eliminating the need for users to manually identify the correct type when importing JSON data, ensuring seamless (de-)serialization.
- **Custom Transformations**: Hook in custom transformations to work with familiar formats (e.g., dates or coordinate representations) instead of unfamiliar ones.
- **Bidirectional Conversion**: Convert between YAML, JSON, and binary formats with ease.
- **Template Substitution**: Use template arguments for flexible YAML content generation.
- **Built-in Transformations**: Includes useful built-in transformations like `insert_yaml_as_extern`, `insert_yaml`, and `repeat_node`.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.