code: def __init__(self, name, settings):
      self.settings = settings
      self._name = name
      self._slug = None
      self._slug_from_name = True
  
imports: import functools
  import logging
  import os
  import pathlib
  from pelican.utils import slugify
label_desc: Use image node_id 1 to create a new URLWrapper object  with example: obj = URLWrapper(name, settings)