Git Product home page Git Product logo

domdfcoding / ytools3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yaccob/ytools

0.0 3.0 0.0 273 KB

Library for validating yaml files against schema and selectively dumping nodes from yaml (or json) documents in yaml or json format.

Home Page: https://ytools3.readthedocs.io/en/latest

License: Apache License 2.0

Python 96.81% HTML 2.14% CSS 1.04%
python3 yaml json validation schema utility convert dump json-path jsonpath python transform validate xslt

ytools3's Introduction

ytools3

Library for validating yaml files against schema and selectively dumping nodes from yaml (or json) documents in yaml or json format.

This is a port of the Python 2-only ytools ( https://github.com/yaccob/ytools ) to Python 3.

Docs Documentation Build Status Docs Check Status
Tests Linux Test Status Windows Test Status macOS Test Status Coverage
PyPI PyPI - Package Version PyPI - Supported Python Versions PyPI - Supported Implementations PyPI - Wheel
Activity GitHub last commit Maintenance PyPI - Downloads
QA CodeFactor Grade Flake8 Status mypy status
Other License GitHub top language Requirements Status

Features

  • Output yaml as json or python
  • Output json as yaml or python (provided that there are no duplicate mapping entry in the json source)
  • Extract particular nodes from yaml and json files.

    • If yaml is used as output format (default) the output is a valid yaml document.
  • Validate yaml and json documents.

    • The json-schema can be provided in yaml format as well, which improves readability and writability.
  • Preserve order of mapping-keys in yaml and json output.
  • Multi-document support

    • Multiple input files

      • ... as well as multiple yaml documents within a file
      • ... and a combination of both

Installation

ytools3 can be installed from PyPI.

To install with pip:

$ python -m pip install ytools3

ytools3's People

Contributors

domdfcoding avatar pre-commit-ci[bot] avatar repo-helper[bot] avatar yaccob avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.