Convert xml to csv
- The code is written in python3.
- The code extracts the xml file and then converts it to the csv formatted file.
- The code follows the PEP8 standards.
- The code is well documented and logged.
- The logging details are generated in Convert.log file.
- The code contains the Unit tests in test_Convert.py file.
- Download the zip file from link: http://firds.esma.europa.eu/firds/DLTINS_20210117_01of01.zip
- Make sure to have the downloaded zip file and the main.py file in the same folder before running the main.py file.
- Execute the Convert.py file as: python3 Convert.py
- Execute the test_Convert.py file as: python -m unittest test_Convert.py
https://steeleyeassignment1.s3.ap-south-1.amazonaws.com/output.csv