  White dwarfs have been successfully used as cosmochronometers in the
literature, however their reach has been limited in comparison to their
potential. We present wdwarfdate, a publicly available Python package to derive
the Bayesian age of a white dwarf, based on its effective temperature (Teff)
and surface gravity (logg). We make this software easy to use with the goal of
transforming the usage of white dwarfs as cosmochronometers into an accessible
tool. The code estimates the mass and cooling age of the white dwarf, as well
as the mass and main-sequence age of the progenitor star, allowing for a
determination of the total age of the object. We test the reliability of the
method by estimating the parameters of white dwarfs from previous studies, and
find agreement with the literature within measurement errors. By analyzing the
limitation of the code we find a typical uncertainty of 10% on the total age
when both input parameters have uncertainties of 1%, and an uncertainty of 25%
on the total age when Teff has an uncertainty of 10% and logg of 1%.
Furthermore, wdwarfdate assumes single star evolution, and can be applied to
calculate the total age of a white dwarf with parameters in the range
1,500<Teff<90,000 K and 7.9<logg<9.3. Finally, the code assumes a uniform
mixture of C/O in the core and single star evolution, which is reliable in the
range of white dwarf masses 0.45-1.1 Msun (7.73<logg<8.8).
