code: def compile_str(contents):
      
      ctx = SASS_CLIB.sass_new_context()
      ctx.contents.source_string = c_char_p(contents)
  
      SASS_CLIB.compile(ctx)
  
      if ctx.contents.error_status:
          print(ctx.contents.error_message)
  
      return ctx.contents.output_string or ""
docs: Compiles a SASS string
  
      :param str contents: The SASS contents to compile
      :returns: The compiled CSS