Complete Python code (process files in multithreads process)

Cancelled Posted 5 years ago Paid on delivery
Cancelled Paid on delivery

The description of this job, sample files and the current code ([login to view URL]) is available at

[login to view URL]

The aim of this program is to read XML files from an XML folder, and

transform them to JSON. This program is partially developed as `[login to view URL]` that performs

the transformation on a single file.

The development task here is to enhance this program to work on multiple folders using multi-processes.

To be specific the requirements are:

* **Requirement 1. Replicate folder structure:** This program should replicate the input_xml_folder structure to create the same structure for the JSON folder. Example of this is presented in <[login to view URL]>

* **Requirement 2. Multiprocessing:** This program should process folders using separate threads up to the

MAX_THREADS identifier as in input parameter. That is running multiple copies of `process_folder`.

This program is intended to run on a very large number of XML files (more than millions) that grouped in a nested folder structure. So the performance of this program is very important.

Program `[login to view URL]` input arguments are:

* input_xml_folder: Path to the XML folder

* output_json_folder: Path to the JSON folder

* max_threads

and the output should be new JSON files in the output_json_folder that replicates the

structure of the XML folder. Example of this is presented `samples/original-xml` as input

and `samples/transformed-json`

**Note:** To complete this program please fork the repository, complete the code and

send a pull request.

Python UNIX

Project ID: #17226708

About the project

4 proposals Remote project Active 5 years ago

4 freelancers are bidding on average $45 for this job

khurram4225

Hey there, Hope you are doing well. We have gone through all the details of your project and after having necessary information to check our caliber, we have come to the result that we can make your project done succe More

$100 AUD in 0 days
(14 Reviews)
4.4