This week, I worked on factur-x library [1], adding more features and resolving existing bugs/issues. I haven't mentioned how we keep track of our work. My mentor Manuel, created issues in factur-x repository with description to let me know what features should be added and the enhancements to be made[2].
Here is what I did this week:
- I have cleaned XML templates to remove dummy data and replace them with empty tags. Issue:22[3]
- We (Manuel and I), converted all markdown documents to reStructuredText format. This involved changing three to four files in invoice2data library and a README file in factur-x library. PR:25[4]
- Enhancement: I added more tests to the tests added last week. For this I learned about lxml library, how to navigate using Xpath and methods to compare two XML files. Commit [5]
- Feature: I have completed the script to extract data from xml file and make a python dictionary out of it. Then, finally dump it to a JSON file. Issue:4 [6]
- Since my mentor was a bit busy this week, I used it to learn more about PyQt-5. There is no good documentation available for PyQt-5, hence, I read the docs of Qt-5 and my prior knowledge of C++ helped.
This is what I intend to do next week.
- I will be implementing validation
- This week I looked into creating command line arguments for factur-x, hence, I will be implementing this as well.
Regards
Harshit Joshi
Freshman - B.Tech (Information Technology and Mathematical Innovations)
Cluster Innovation Centre
University of Delhi
Website: www.harshitjoshi.in