Tame (Py)cURL
Recently I needed to have something that allows me to have more control over my data stream client, so that:
- When desired, it would stop and close the connection as gracefully as possible.
- A precise counter for how many records have been received is in place.
The initial implementation was quite straightforward: