{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/7"}],"enrichment":{"capability":"pyang validates YANG data models (RFC 7950), converts between YANG and YIN formats, and generates code and documentation from YANG modules via a plugin framework.","skillfed_tags":["network-config","yang-netconf","data-modeling"],"use_cases":["Validate YANG modules from network device vendors or IETF standards before deploying them in NETCONF-based automation.","Convert YANG models to DSDL schemas for validating XML instance documents from network devices.","Generate tree diagrams or UML visualizations of YANG data models for documentation and design review.","Transform YANG modules to YIN (XML representation) for processing or archival in XML-based workflows.","Build custom code generators by writing pyang plugins to emit device-specific or language-specific code from YANG models."],"what_it_does":"pyang is a YANG validator and code generator for network data models. YANG (RFC 7950) is a data modeling language used with NETCONF for network device configuration. pyang reads YANG modules, validates them for correctness against the YANG grammar and RFC specifications, and can transform them into other formats (YIN, DSDL schemas, UML diagrams, tree representations, XML skeletons, and JSON). It includes a plugin system for extending its output capabilities, making it suitable for both standalone validation workflows and integration into larger network automation or code-generation pipelines.\n\nThe package depends only on lxml for XML processing and is written in pure Python, making it portable across platforms. It has been actively maintained since its first release, with support for Python 3.7 through 3.11. The tool is commonly used by network engineers and automation developers who need to validate vendor or standards-based YANG models, generate documentation from data models, or translate models into formats suitable for schema validation or code generation.","worth_installing":"Yes. pyang is a stable, actively maintained tool with no known vulnerabilities, low install friction, and a permissive license. Install it if you work with YANG models, NETCONF, or network data modeling; otherwise, it is not a general-purpose utility."},"id":"pyang","links":{"html":"https://skillfed.io/packages/pyang","md":"https://skillfed.io/packages/pyang.md","pypi":"https://pypi.org/project/pyang/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-08-29","license_spdx":null,"license_treatment":"permissive","name":"pyang","python_support":"unspecified","summary":"A YANG (RFC 6020/7950) validator and converter"},"popularity":{"monthly_downloads":591014,"position":5856,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.7.1"}
