https://github.com/jordanh/cp4pc
This emulates the Connect Port programming interface. I've used it on a Windows PC to run python scripts that would normally only run on a Connect Port, including the xbee/zigbee socket api. I expect it would be OK under Linux but haven't tested that out yet.
It's kind of old but still works for me.