Skip to content

Final Task - Aleksandra Khorosheva#173

Open
a-khorosheva wants to merge 4 commits intoE-P-T:masterfrom
a-khorosheva:master
Open

Final Task - Aleksandra Khorosheva#173
a-khorosheva wants to merge 4 commits intoE-P-T:masterfrom
a-khorosheva:master

Conversation

@a-khorosheva
Copy link

Four iterations done

Parse all required arguments and store in the custom object Params
Create parser hierarchy and implement parsing rss from
URL
Sort and apply limits to rss feed
Create processors hierarchy and implement both plain text printer and json printer
For verbose mode create message consumer abstraction
Wrap main method with try except not to give exceptions for final user
Write dependencies in setup.py
Make requirements.txt fetch dependencies from setup.py
Implement mapper from and to json
Implement local caching. Store cache in temporary file in json format
Make html conversion with the plain strings (build html by hand)
Make pdf conversion with the help of fpdf library. It requires a font that supports unicode. Add OpenSans.ttf to the project and create a task in setup.py to copy it to a library folder (it is the only consistent way to be able to run the program from any folder on the system)
Write unit and integration tests for crucial parts of application (using pytest and mocks)
Move sorting, cache and limit to preprocessing
Write documentation for caching and testing
Update requirements
Fix all FIXME and TODOs
Reformat the code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants