I have a year value and a day of year and would like to convert to a date (day/month/year).
The toordinal() and fromordinal() functions of the date class could be used:
date
from datetime import date date.fromordinal(date(year, 1, 1).toordinal() + days - 1)