[Hiring] (Online) Paid task for experienced Python programmer

Hi,

This is a short task as you might have seen in the original posting. There are 2 parts to this, I expect someone who has worked with Twisted framework before to complete it within 5-6 hours of dedicated work:

First part is to write a regular program that downloads a single file in parallel - similar to what the IDM does in the background, with an additional requirement that the user can specify the number of threads as an argument that will be used and applied to a list of file URLs. You can use any Python HTTP library that does the job (urllib would be preferred).

Breaking it down, a single file is to be downloaded using parallel threads. So basically like one thread asks for portion A, downloads till B, 2nd thread asks from B and downloads till C and so on. Number of threads should be configurable through an argument. It is required that the number of bytes downloaded and download time taken by each thread needs to be printed out or stored in a log file output.

The same logic can then loop for multiple files, sequentially - that is one file downloaded completely using multiple threads and then next file and so on - a simple loop that reads files URL list as input can do that.

The second part is to implement the first task using the Twisted web client framework. The asynchronous nature might not allow for multiple threads but it should have some features that enable execution of downloading several parts in parallel. Requirements are same as with the first part. Let me know if you are willing to take this so we can discuss the timeline and payments.

/r/forhire Thread Parent