SPEAR: Software-defined Python-Enhanced RFSoC for Wideband Radio Applications