core.py: import netapi_sanitize