use the existing package python-slugify to calculate the slug