In that case you'll need to look at general purpose sandboxes you can run Python in - stuff like Firecracker or Bubblewrap on Linux or sandbox-exec on macOS.
With Wasmer you should be able to use all pypi packages (even the native ones), although we are a bit light on the native packages we support now