Can you instead attempt to import a module, as is done in the `mysql.py` collector?  See `from collectors.etc import mysqlconf` in there.