How to create netbox dynamic inventory using nornir?

How to create netbox dynamic inventory using nornir?
Does anyone have an example?

The term ‘dynamic inventory’ is a bit open to interpretation. However, one has to start somewhere with a list of devices.

I collected some basic data in a spreadsheet. This data was parsed with xlrd, and stored in a dictionary variable. This data was then fed into the yaml.dump function to create a Nornir inventory (yaml file). Once Nornir had this inventory, I was able to run get_facts against it and use pynetbox to populate Netbox.

I wouldn’t consider this ‘dynamic’, but it was a direct way to use Nornir to populate Netbox so that I could use Netbox as an inventory for Nornir.