Skip to content

The project is dedicated to simplifying vacation planning

License

Notifications You must be signed in to change notification settings

NPodlozhniy/portugal-holiday

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

portugal-holiday

Python application

The project is dedicated to simplifying vacation planning

Getting started

Since it's a very simple app, all the packages used are built in, so if Python 3 is already installed, that is enough

Installation

You can just copy the repo without installing any additional packages

$ git clone https://github.com/NPodlozhniy/portugal-holiday.git
$ cd portugal-holiday

Tests

Open the folder where you just copied the app and run tests using pytest

$ pip install -r requirements.txt
$ python -m pytest

Usage

To get the holiday calendar for the current year, just run the following command

$ python main.py

If you want to get the calendar for a speciefic year just add the --year argument, for example

$ python main.py --year 2000