This pyang plugin extracts module metadata from YANG files according to [draft-openconfig-netmod-model-catalog](https://tools.ietf.org/html/draft-openconfig-netmod-model-catalog-01). The output (in JSON or XML) can be fed right back into a NETCONF or RESTCONF server that have the module catalog YANG module (openconfig-module-catalog.yang) loaded.
```
$ pyang -f module-catalog ietf-interfaces\@2014-05-08.yang
{
"module": {
"prefix": "if",
"dependencies": {
"required-module": [
{
"module-revision": "unknown",
"module-name": "ietf-yang-types"
}
]
},
"namespace": "urn:ietf:params:xml:ns:yang:ietf-interfaces",
"name": "ietf-interfaces",
"revision": "2014-05-08"
}
}
```
Metadata
Release files for pyang-module-catalog-plugin 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyang-module-catalog-plugin-0.2.tar.gz | 2.5 kB | Without provenance | Details for pyang-module-catalog-plugin-0.2.tar.gz |
Release files / pyang-module-catalog-plugin-0.2.tar.gz
| Download URL | pyang-module-catalog-plugin-0.2.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c1475cd3f80e863083f6b988476d84b456086d5183104b4f151ca651f6cdccf
|
|
BLAKE2b-256 checksum How to use checksums |
bacda6c71b1fc8f8f3b5bdbc87f185afc60572134ee54778b6604de5370b5d4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyang-module-catalog-plugin 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.