Design Recommendations for Testing on Pynq

Hey all, I’ve been working on designing a project, and for this project I found that it was easiest to develop the high level Python code separate from the PYNQ implementation specific code, especially for testing the design. Would it be possible/advisable to run these two programs separately and have them communicate over localhost or other communication method? Or is there a recommended method to interface between the two codebases, so that I could essentially connect them together when needed?