First start an HTTP server to serve Arrow IPC stream data. You can do this using one of the server examples
in HTTP GET Arrow Data: Simple Examples
or simply by starting a Python HTTP server in the same directory where you have an Arrow IPC stream file
(named file.arrows
in this example).
python -m http.server 8008
Download the attached Python script script.py
. You might need to do chmod +x script.py
to make it executable.
Run this command at the terminal to fetch the Arrow IPC stream from the server and pipe it to the Python script:
curl -s http://localhost:8008/file.arrows | ./script.py
See the first record batch in the stream printed to the terminal.