https://github.com/npodlozhniy/portugal-holiday
The project is dedicated to simplifying vacation planning
https://github.com/npodlozhniy/portugal-holiday
datetime github-actions portugal pytest
Last synced: 7 months ago
JSON representation
The project is dedicated to simplifying vacation planning
- Host: GitHub
- URL: https://github.com/npodlozhniy/portugal-holiday
- Owner: NPodlozhniy
- License: mit
- Created: 2023-01-07T20:40:34.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T00:23:59.000Z (almost 3 years ago)
- Last Synced: 2025-01-29T10:16:34.388Z (9 months ago)
- Topics: datetime, github-actions, portugal, pytest
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# portugal-holiday
[](https://github.com/NPodlozhniy/portugal-holiday/actions/workflows/python-app.yml)
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
```