tree: e41ae685fa33c50b09047342862c07a937e51411 [path history] [tgz]
  1. client.py
  2. README.md
http/get_simple/python/client/urllib.request/README.md

HTTP GET Arrow Data: Simple Python Client Example with urllib.request

This directory contains a minimal example of an HTTP client implemented in Python using the built-in urllib.request module. The client:

  1. Sends an HTTP GET request to a server.
  2. Receives an HTTP 200 response from the server, with the response body containing an Arrow IPC stream of record batches.
  3. Adds the record batches to a list as they are received.

To run this example, first start one of the server examples in the parent directory, then:

pip install pyarrow
python client.py