Holidays in Portugal
Even though in Portugal there are nationwide holidays, others are regional or municipal (depending on the city).
If one runs the following script, to access the holidays in Portugal plus extended days most people have off:
from datetime import date
import holidays
for date, name in sorted(holidays.PTE(years=2020).items()):
print(date, name)
One gets the following list:
2020-01-01 Ano Novo 2020-02-25 Carnaval 2020-04-10 Sexta-feira Santa 2020-04-12 Páscoa 2020-04-25 Dia da Liberdade 2020-05-01 Dia do Trabalhador 2020-06-10 Dia de Portugal 2020-06-11 Corpo de Deus 2020-06-13 Dia de Santo António 2020-08-15 Assunção de Nossa Senhora 2020-10-05 Implantação da República 2020-11-01 Dia de Todos os Santos 2020-12-01 Restauração da Independência 2020-12-08 Imaculada Conceição 2020-12-24 Véspera de Natal 2020-12-25 Dia de Natal 2020-12-26 26 de Dezembro 2020-12-31 Véspera de Ano Novo
I have seen that the general/national holidays for Portugal are missing, here is its list:
| Date | Name |
|---|---|
| 1 of January | Ano Novo |
| Tuesday (between 3 of February and 9 of March) | Entrudo/Carnaval |
| Friday (between 20 of March and 23 of April) | Sexta-Feira Santa |
| Sunday (between 22 of March and 25 of April) | Páscoa |
| 25 of April | Dia da Liberdade |
| 1 of May | Dia do Trabalhador |
| Thursday (between 21 of May and 24 of June) | Corpo de Deus |
| 10 of June | Dia de Portugal |
| 15 of August | Assunção de Nossa Senhora |
| 5 of October | Implantação da República |
| 1 of November | Todos os Santos |
| 1 of December | Restauração da Independência |
| 8 of December | Imaculada Conceição |
| 25 of December | Natal |
As one can see, it is slightly different than the one above, as the first one considers some municipal holidays. Here is a detailed list of the holidays in Portugal, in their specific months.
Additional Notes: • The state has been giving "Entrudo" since 1978, but there were some exceptions: 1993 and 2012–2015. • Corpus Cristus and Implantação da República were suspended between 2013 and 2015 (inclusive).
I may suggest adding the 18 district holidays: Aveiro, Beja, Braga, Bragança, Castelo Branco, Coimbra, Évora, Faro, Guarda, Leiria, Lisboa, Portalegre, Porto, Santarém, Setúbal, Viana do Castelo, Vila Real e Viseu. I can create a PR with this addition if you agree @dr-prodigy
To get more granular, we would need to add the 318 municipal holidays ... that would take considerably more time to implement.
@Nalguedo it sounds like a good plan.. I definitely agree on it! If you wish to implement this first version, please do and I'll be happy to include it.. then there's always time to improve and proceed with the other 300 :-) Thank you very much!
@dr-prodigy This is now solved with the latest release.
Not sure if we want to keep it open to track progress on adding those ~300 holidays mentioned by @goncaloperes and @pmpbaptista
It makes sense to keep it open ;)