https://github.com/minitriga/Netbox-Device-Type-Library-Import/blob/1f31c11edadccbdfa984e2cb170fe05f2142f3cf/nb-dt-import.py#L55
Slug can't have spaces, but some directories and the Manufacturer Name does have spaces, strip them out.  Fixes problems importing devicetype-library for "Palo Alto"
data['manufacturer']['slug'] = manufacturer.lower().replace(" ", "")