mbj4668 / pyang

An extensible YANG validator and converter in python
ISC License
530 stars 343 forks source link

How to set constant arguments for pyang in python project #807

Open ahmetoguz1 opened 2 years ago

ahmetoguz1 commented 2 years ago

I want to make a project that uses pyang.

Basically, I need to create jsonschema from yang model and there is plugin to do that. I want to call pyang with constant arguments in the python project.

I can do that with os.system(pyang -f bla bla) but I do not want to do that like these.

Is there any documentation for use pyang in python?

I would be very happy if someone show me a way. Thanks.