Skip to content

a-khorosheva/Homework

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation

Minimal requirements:

Python 3.9
On linux please add alias python to python3. Look here.

Setup:

Virtual Environment (Optional)

Creating Virtual Environment (from the root of the project)
Windows: python -m venv ./venv
Linux: virtualenv venv

Activate Virtual Environment:
Windows: ./venv/Scripts/activate
Linux: source venv/bin/activate

*On Windows you might need to give rights to execute commands from PowerShell via the following command (running as Administrator)
Set-ExecutionPolicy Unrestricted

*If you want to exit Virtual Environment please run deactivate

Required Steps

Update pip:
python -m pip install --upgrade pip

Install requirements:
pip install -r ./requirements.txt

Run Application:

Run python ./rss_parse/rss_reader.py --help to find available options

Cache

Application stores RSS Feed in a local storage in a temp folder (and rss_reader sub-folder).
For more info on what is considered a temp directory please look here

Run Tests:

Run pytest ./tests to run tests

Package distributive:

To create a distribution package please run
pip install -e .
You will be able to run rss_reader directly
Also you should run this command as it makes the required font available for fpdf library

About

Homework for Python Foundation course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%